Function at 0x426bb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 8], edi
je 0x426f46
push str.libicaf.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x426be6
push str.for_rtl_ICAF_INIT
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x426c12
call fcn.0041fcf0
push 0x4ee720
call fcn.0041fab0
add esp, 4
mov eax, dword [0x4ee724]
test eax, eax
je 0x426c23
mov ebx, dword [ebp - 4]
mov dword [0x4ee720], 0
mov esp, ebp
pop ebp
ret
push fcn.00412330
lea edx, [ebp + 0xc]
push edx
push ebx
call eax
add esp, 0xc
jmp 0x426be6
lea eax, [ebp - 0x14]
push eax
push 0
push 0xc
call fcn.0040fc60
add esp, 0xc
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x426c46
mov dword [0x4f4840], 0
jmp 0x426c6c
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
push 0x425540
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edx
mov ebx, dword [ebp - 0x14]
mov dword [0x4f4840], ebx
call fcn.0046f830
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push 0x4258a0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0x4366a0
call fcn.004b7e00
push 0x4366d0
call fcn.004b7e10
push str.FOR_NOERROR_DIALOGS
call fcn.00427a20
add esp, 0xc
test eax, eax
jne 0x426f36
call fcn.004709f0
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call fcn.004b7d30
add esp, 4
mov dword [0x4f4838], 0
mov dword [0x4f483c], 0x4ee728
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x426cf3
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x426cde
dec eax
inc eax
lea edx, [ebp - 0xc]
push edx
push 0
push eax
call fcn.0040fc60
add esp, 0xc
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x426d1c
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x426d07
dec eax
lea edx, [ebx + eax - 1]
cmp ebx, edx
ja 0x426e61
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edi, 1
cmp ebx, edx
ja 0x426e61
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], esi
mov esi, edx
movsx ecx, byte [ebx]
cmp ecx, 0x20
je 0x426f23
cmp ecx, 9
je 0x426f23
mov edx, dword [0x4f4838]
inc edx
mov dword [0x4f4838], edx
cmp edx, edi
jle 0x426da2
cmp edi, 1
je 0x426e25
add edi, 0xa
lea eax, [edi*4 - 0x28]
push eax
push 0x4f483c
lea ecx, [edi*4]
push ecx
call fcn.0040fca0
add esp, 0xc
test eax, eax
jne 0x426e5e
mov eax, dword [ebp - 0xc]
mov edx, dword [0x4f4838]
mov ecx, dword [0x4f483c]
mov dword [ecx + edx*4 - 4], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movsx eax, byte [ebx]
cmp eax, 0x22
je 0x426dd1
test ecx, ecx
jne 0x426dee
cmp eax, 0x20
je 0x426eef
cmp eax, 9
jne 0x426dee
jmp 0x426eef
inc ebx
test ecx, ecx
movsx eax, byte [ebx]
je 0x426e13
cmp eax, 0x22
je 0x426f01
xor ecx, ecx
cmp eax, 0x20
je 0x426dfc
cmp eax, 9
je 0x426dfc
mov byte [edx], al
inc ebx
mov edx, dword [ebp - 0xc]
inc edx
mov dword [ebp - 0xc], edx
cmp ebx, esi
jbe 0x426db2
mov dword [ebp - 0x10], ecx
mov byte [edx], 0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp ebx, esi
jbe 0x426d42
jmp 0x426e5e
lea esi, [esi]
mov ecx, 1
cmp eax, 0x22
je 0x426dd1
jmp 0x426dee
add edi, 0xa
push 0x4f483c
push 0
lea eax, [edi*4]
push eax
call fcn.0040fc60
add esp, 0xc
test eax, eax
jne 0x426e5e
mov ecx, dword [0x4f483c]
mov eax, dword [0x4ee728]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [0x4f4838]
jmp 0x426da2
mov esi, dword [ebp - 0x18]
mov ebx, dword [0x4ee72c]
mov eax, ebx
and eax, 1
mov edx, ebx
add eax, eax
and edx, 2
mov ecx, ebx
xor eax, 0x1f
add edx, edx
and ecx, 4
mov edi, ebx
xor eax, edx
add ecx, ecx
and edi, 8
mov edx, ebx
xor eax, ecx
add edi, edi
and edx, 0x10
shr edx, 4
xor eax, edi
xor eax, edx
test ebx, 0x10000
je 0x426eae
test ebx, 0x200
lea edx, [eax + 0x1000000]
jne 0x426eae
mov eax, edx
push 0x308001f
push eax
call fcn.00470af0
push ebx
call fcn.004257f0
add esp, 0xc
call fcn.00436b30
call fcn.0042b6f0
call fcn.00436d10
mov dword [0x4ee724], 1
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov dword [0x4ee720], 0
mov esp, ebp
pop ebp
ret
mov byte [edx], 0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x426d42
cmp ebx, esi
ja 0x426f1c
inc ebx
mov byte [edx], 0x22
mov edx, dword [ebp - 0xc]
inc edx
mov dword [ebp - 0xc], edx
movsx eax, byte [ebx]
cmp eax, 0x22
jne 0x426de2
xor ecx, ecx
jmp 0x426dd1
nop
lea esi, [esi]
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov esi, dword [ebp - 0x18]
inc ebx
jmp 0x426d32
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x426caa
cmp dword [ebp + 0xc], 0
jne 0x426bc7
jmp 0x426be6