Function at 0x421dbc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x68], 0x74
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
mov dword [0x49c310], ecx
xor ecx, ecx
mov dword [0x49c314], edx
mov dword [ebp - 0x2c], ecx
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
push eax
call fcn.004672d8
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push edi
call sub.shell32.DLL_CommandLineToArgvW
mov ecx, dword [ebp - 0x28]
shl ecx, 3
push ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 8], eax
call fcn.0046728c
mov edx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push dword [ebp - 0x24]
push edi
push 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
push 0xfde9
call sub.KERNEL32.DLL_WideCharToMultiByte
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], eax
push eax
call fcn.0046728c
mov ecx, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x14], eax
xor esi, esi
mov dword [ebp - 0x1c], ecx
add esp, 0xc
cmp ecx, ebx
jle 0x421ece
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push dword [edx + esi*4]
call fcn.004672d8
add esp, 4
push eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ecx + esi*4]
push 0
push 0xfde9
call sub.KERNEL32.DLL_WideCharToMultiByte
mov edi, eax
add eax, ebx
mov edx, dword [ebp - 0x14]
lea ecx, [ebx + edx]
mov edx, dword [ebp - 0x58]
mov dword [edx + esi*8 + 4], ecx
sub eax, ebx
test edi, edi
mov dword [edx + esi*8], eax
je 0x421ec8
push 0
add ebx, edi
push 0
push edi
mov ecx, dword [ebp - 0x58]
lea edx, [ecx + esi*8]
push dword [edx + 4]
mov ecx, dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ecx + esi*4]
push 0
push 0xfde9
call sub.KERNEL32.DLL_WideCharToMultiByte
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x421e5d
push dword [ebp - 8]
call sub.KERNEL32.DLL_LocalFree
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], 0
mov dword [0x49c300], edx
mov ecx, dword [ebp - 0x58]
mov dword [0x49c304], ecx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + edx*8]
lea ecx, [ebp - 0x68]
push edx
call fcn.0046728c
mov ecx, dword [ebp - 0x5c]
xor edx, edx
mov dword [ebp - 0x3c], ecx
lea edi, [eax + ecx*8]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov esi, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x38], ecx
add esp, 4
cmp dword [ebp - 0x3c], edx
je 0x421f88
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + esi*8]
mov edx, dword [edx + esi*8 + 4]
mov dword [ebp - 0x34], eax
mov cl, byte [0x478a70]
xor cl, 1
mov dword [ebp - 0x30], edx
jne 0x421f5b
mov edx, 6
cmp dword [ebp - 0x34], edx
jb 0x421f5b
mov ecx, 0x475b10
push dword [ebp - 0x30]
push edx
push ecx
push edx
call fcn.00427e6c
xor al, 1
je 0x421f82
mov ebx, dword [ebp - 0x34]
push ebx
push dword [ebp - 0x30]
push edi
call fcn.00465640
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
mov edx, eax
dec ecx
add edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov dword [eax + ecx*8], ebx
mov dword [eax + ecx*8 + 4], edx
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x3c]
jb 0x421f22
mov dword [ebp - 0x50], 0x475b20
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
push dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x54], 0xe
push dword [ebp - 0x54]
push 0
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], ebx
push 0
call fcn.00427edc
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov cl, byte [0x478a60]
mov byte [ebp - 3], cl
cmp dword [ebp - 0x64], 0
je 0x421ffd
lea edx, [ebp - 0x64]
mov dword [ebp - 0x40], 0x475b20
lea esi, [ebp - 3]
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0xe
push dword [ebp - 0x44]
push edx
push esi
mov dword [ebp - 0x48], 0x470cd0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push dword [ebp - 0x4c]
call fcn.00427fb4
mov bl, byte [ebp - 3]
mov byte [ebp - 4], bl
call sub.KERNEL32.DLL_IsDebuggerPresent
test eax, eax
je 0x422010
mov byte [ebp - 4], 0
mov eax, 0x4220fc
mov ecx, ebp
push eax
mov eax, ebp
push ebp
call fcn.00422074
mov edx, 0x48a8d4
push edx
call fcn.0046676c
add esp, 4
test eax, eax
je 0x422063
call fcn.00465ee7
push dword [eax]
call fcn.004672ec
add esp, 4
mov ebx, 0x48fca0
push eax
mov esi, 0x48a8f4
push ebx
push esi
call fcn.00467334
add esp, 0xc
cmp dword [ebp - 0x2c], 0
jne 0x422063
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
mov esp, ebp
pop ebp
ret