Function at 0x419430
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c1488
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa4]
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.CommandLineArgs.0
mov dword [esp + 0x1c], eax
call fcn.00477d50
mov eax, dword [esp + 0xa8]
push eax
lea ecx, [esp + 0x7c]
xor edi, edi
mov dword [esp + 0xa0], edi
push ecx
mov dword [esi], vtable.WinCommandLineArgs.0
call fcn.004049f0
lea edx, [esp + 0x5c]
push edx
mov ecx, eax
mov byte [esp + 0xa0], 1
call fcn.00405c40
mov byte [esp + 0x9c], 3
mov eax, dword [esp + 0x88]
mov dword [esp + 0x78], vtable.StringStorage.0
cmp eax, edi
je 0x4194d0
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x7c]
push eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
call fcn.00480e32
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov edx, ecx
sub edx, eax
sar edx, 1
add esp, 4
sub edx, 1
je 0x419692
mov esi, eax
cmp eax, ecx
jbe 0x419514
call fcn.00480e22
mov eax, dword [esp + 0x60]
cmp eax, edi
jne 0x419561
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41952d
call fcn.00480e22
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, edi
jne 0x419565
push 0x55945c
lea ecx, [esp + 0x40]
push ecx
call fcn.004048f0
push 0x56e6e0
lea edx, [esp + 0x40]
push edx
call fcn.004841dc
mov eax, dword [eax]
jmp 0x419523
xor ebp, ebp
cmp dword [esp + 0x14], edi
jle 0x419680
mov eax, dword [ebx + ebp*4]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00405be0
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 4
call fcn.00404990
mov byte [esp + 0x9c], 5
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push 0x4c8df0
lea ecx, [esp + 0x24]
call eax
mov eax, dword [esp + 0x4c]
mov esi, eax
cmp eax, dword [esp + 0x50]
jbe 0x4195bb
call fcn.00480e22
mov eax, dword [esp + 0x40]
cmp eax, edi
jne 0x4196de
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4195d8
call fcn.00480e22
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push esi
lea ecx, [esp + 0x24]
call eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
sub ecx, eax
sar ecx, 1
sub ecx, 1
je 0x41960d
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
call fcn.00418d00
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x20], vtable.StringStorage.0
cmp eax, edi
je 0x419622
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.00480e32
mov byte [esp + 0xa0], 3
mov eax, dword [esp + 0x50]
add esp, 4
mov dword [esp + 0x3c], vtable.UnicodeStringStorage.0
cmp eax, edi
je 0x41965c
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.00480e32
inc ebp
add esp, 4
cmp ebp, dword [esp + 0x14]
jl 0x419571
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x5c], vtable.UnicodeStringStorage.0
cmp eax, edi
je 0x4196a7
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x60]
push edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call fcn.00480e32
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
mov eax, dword [eax]
jmp 0x4195ce