Function at 0x42e7e0
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 0x42eb76
push str.libicaf.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x42e816
push str.for_rtl_ICAF_INIT
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42e842
call fcn.0040b740
push 0x4fbd08
call fcn.0040b500
add esp, 4
mov eax, dword [0x4fbd0c]
test eax, eax
je 0x42e853
mov ebx, dword [ebp - 4]
mov dword [0x4fbd08], 0
mov esp, ebp
pop ebp
ret
push fcn.004115e0
lea edx, [ebp + 0xc]
push edx
push ebx
call eax
add esp, 0xc
jmp 0x42e816
lea eax, [ebp - 0x14]
push eax
push 0
push 0xc
call fcn.00421c10
add esp, 0xc
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42e876
mov dword [0x4fe248], 0
jmp 0x42e89c
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
push 0x42d150
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edx
mov ebx, dword [ebp - 0x14]
mov dword [0x4fe248], ebx
call fcn.00461e40
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push 0x42d4c0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0x439370
call fcn.004b5a30
push 0x4393a0
call fcn.004b5a40
push str.FOR_NOERROR_DIALOGS
call fcn.0042f4f0
add esp, 0xc
test eax, eax
jne 0x42eb66
call fcn.0046ab90
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call fcn.004b5960
add esp, 4
mov dword [0x4fe240], 0
mov dword [0x4fe244], 0x4fbd10
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 0x42e923
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x42e90e
dec eax
inc eax
lea edx, [ebp - 0xc]
push edx
push 0
push eax
call fcn.00421c10
add esp, 0xc
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x42e94c
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x42e937
dec eax
lea edx, [ebx + eax - 1]
cmp ebx, edx
ja 0x42ea91
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edi, 1
cmp ebx, edx
ja 0x42ea91
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], esi
mov esi, edx
movsx ecx, byte [ebx]
cmp ecx, 0x20
je 0x42eb53
cmp ecx, 9
je 0x42eb53
mov edx, dword [0x4fe240]
inc edx
mov dword [0x4fe240], edx
cmp edx, edi
jle 0x42e9d2
cmp edi, 1
je 0x42ea55
add edi, 0xa
lea eax, [edi*4 - 0x28]
push eax
push 0x4fe244
lea ecx, [edi*4]
push ecx
call fcn.00421c50
add esp, 0xc
test eax, eax
jne 0x42ea8e
mov edx, dword [0x4fe240]
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x4fe244]
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 0x42ea01
test ecx, ecx
jne 0x42ea1e
cmp eax, 0x20
je 0x42eb1f
cmp eax, 9
jne 0x42ea1e
jmp 0x42eb1f
inc ebx
test ecx, ecx
movsx eax, byte [ebx]
je 0x42ea43
cmp eax, 0x22
je 0x42eb31
xor ecx, ecx
cmp eax, 0x20
je 0x42ea2c
cmp eax, 9
je 0x42ea2c
mov byte [edx], al
inc ebx
mov edx, dword [ebp - 0xc]
inc edx
mov dword [ebp - 0xc], edx
cmp ebx, esi
jbe 0x42e9e2
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 0x42e972
jmp 0x42ea8e
lea esi, [esi]
mov ecx, 1
cmp eax, 0x22
je 0x42ea01
jmp 0x42ea1e
add edi, 0xa
push 0x4fe244
push 0
lea eax, [edi*4]
push eax
call fcn.00421c10
add esp, 0xc
test eax, eax
jne 0x42ea8e
mov ecx, dword [0x4fe244]
mov eax, dword [0x4fbd10]
mov dword [ecx], eax
mov edx, dword [0x4fe240]
mov eax, dword [ebp - 0xc]
jmp 0x42e9d2
mov esi, dword [ebp - 0x18]
mov ebx, dword [0x4fbd14]
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 0x42eade
test ebx, 0x200
lea edx, [eax + 0x1000000]
jne 0x42eade
mov eax, edx
push 0x308001f
push eax
call fcn.0046ac90
push ebx
call fcn.0042d400
add esp, 0xc
call fcn.00439800
call fcn.00425600
call fcn.004399e0
mov dword [0x4fbd0c], 1
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov dword [0x4fbd08], 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 0x42e972
cmp ebx, esi
ja 0x42eb4c
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 0x42ea12
xor ecx, ecx
jmp 0x42ea01
nop
lea esi, [esi]
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov esi, dword [ebp - 0x18]
inc ebx
jmp 0x42e962
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x42e8da
cmp dword [ebp + 0xc], 0
jne 0x42e7f7
jmp 0x42e816