Function at 0x445dd0
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 0x446166
push str.libicaf.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x445e06
push str.for_rtl_ICAF_INIT
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x445e32
call fcn.004304f0
push 0x514648
call fcn.004302b0
add esp, 4
mov eax, dword [0x51464c]
test eax, eax
je 0x445e43
mov ebx, dword [ebp - 4]
mov dword [0x514648], 0
mov esp, ebp
pop ebp
ret
push fcn.00424130
lea edx, [ebp + 0xc]
push edx
push ebx
call eax
add esp, 0xc
jmp 0x445e06
lea eax, [ebp - 0x14]
push eax
push 0
push 0xc
call fcn.00435ac0
add esp, 0xc
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x445e66
mov dword [0x519fb8], 0
jmp 0x445e8c
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
push 0x444740
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edx
mov ebx, dword [ebp - 0x14]
mov dword [0x519fb8], ebx
call fcn.004782b0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push 0x444ab0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0x45f5b0
call fcn.004c86c0
push 0x45f5e0
call fcn.004c86d0
push str.FOR_NOERROR_DIALOGS
call fcn.004410f0
add esp, 0xc
test eax, eax
jne 0x446156
call fcn.0047d8a0
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call fcn.004c85f0
add esp, 4
mov dword [0x519fb0], 0
mov dword [0x519fb4], 0x514650
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 0x445f13
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x445efe
dec eax
inc eax
lea edx, [ebp - 0xc]
push edx
push 0
push eax
call fcn.00435ac0
add esp, 0xc
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x445f3c
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x445f27
dec eax
lea edx, [ebx + eax - 1]
cmp ebx, edx
ja 0x446081
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edi, 1
cmp ebx, edx
ja 0x446081
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], esi
mov esi, edx
movsx ecx, byte [ebx]
cmp ecx, 0x20
je 0x446143
cmp ecx, 9
je 0x446143
mov edx, dword [0x519fb0]
inc edx
mov dword [0x519fb0], edx
cmp edx, edi
jle 0x445fc2
cmp edi, 1
je 0x446045
add edi, 0xa
lea eax, [edi*4 - 0x28]
push eax
push 0x519fb4
lea ecx, [edi*4]
push ecx
call fcn.00435b00
add esp, 0xc
test eax, eax
jne 0x44607e
mov edx, dword [0x519fb0]
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x519fb4]
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 0x445ff1
test ecx, ecx
jne 0x44600e
cmp eax, 0x20
je 0x44610f
cmp eax, 9
jne 0x44600e
jmp 0x44610f
inc ebx
test ecx, ecx
movsx eax, byte [ebx]
je 0x446033
cmp eax, 0x22
je 0x446121
xor ecx, ecx
cmp eax, 0x20
je 0x44601c
cmp eax, 9
je 0x44601c
mov byte [edx], al
inc ebx
mov edx, dword [ebp - 0xc]
inc edx
mov dword [ebp - 0xc], edx
cmp ebx, esi
jbe 0x445fd2
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 0x445f62
jmp 0x44607e
lea esi, [esi]
mov ecx, 1
cmp eax, 0x22
je 0x445ff1
jmp 0x44600e
add edi, 0xa
push 0x519fb4
push 0
lea eax, [edi*4]
push eax
call fcn.00435ac0
add esp, 0xc
test eax, eax
jne 0x44607e
mov ecx, dword [0x519fb4]
mov eax, dword [0x514650]
mov dword [ecx], eax
mov edx, dword [0x519fb0]
mov eax, dword [ebp - 0xc]
jmp 0x445fc2
mov esi, dword [ebp - 0x18]
mov ebx, dword [0x514654]
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 0x4460ce
test ebx, 0x200
lea edx, [eax + 0x1000000]
jne 0x4460ce
mov eax, edx
push 0x308001f
push eax
call fcn.0047d9a0
push ebx
call fcn.004449f0
add esp, 0xc
call fcn.0045fa60
call fcn.0043e7a0
call fcn.0045fc40
mov dword [0x51464c], 1
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov dword [0x514648], 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 0x445f62
cmp ebx, esi
ja 0x44613c
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 0x446002
xor ecx, ecx
jmp 0x445ff1
nop
lea esi, [esi]
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov esi, dword [ebp - 0x18]
inc ebx
jmp 0x445f52
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x445eca
cmp dword [ebp + 0xc], 0
jne 0x445de7
jmp 0x445e06