Function at 0x403e30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412d58
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4187bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
xor esi, esi
mov edi, 7
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], esi
mov word [ebp - 0x98], si
mov dword [ebp - 4], esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], esi
mov word [ebp - 0x7c], si
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], esi
mov word [ebp - 0x60], si
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], si
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], esi
mov word [ebp - 0x44], si
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.004068d0
cmp dword [ebp - 0x34], esi
jne 0x403f66
mov ebx, 8
cmp dword [ebp - 0x30], ebx
jb 0x403ef3
mov eax, dword [ebp - 0x44]
push eax
call fcn.00408087
add esp, 4
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], esi
mov word [ebp - 0x44], si
jb 0x403f0e
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00408087
add esp, 4
cmp dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], si
jb 0x403f29
mov edx, dword [ebp - 0x60]
push edx
call fcn.00408087
add esp, 4
cmp dword [ebp - 0x68], ebx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], esi
mov word [ebp - 0x60], si
jb 0x403f44
mov eax, dword [ebp - 0x7c]
push eax
call fcn.00408087
add esp, 4
cmp dword [ebp - 0x84], ebx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], esi
mov word [ebp - 0x7c], si
jb 0x404258
mov ecx, dword [ebp - 0x98]
push ecx
jmp 0x404250
push 0xffffffffffffffff
push esi
push ebx
lea ecx, [ebp - 0x9c]
call fcn.004068d0
cmp dword [ebp - 0x88], esi
je 0x4041d0
cmp dword [ebp - 0x84], 8
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], esi
jae 0x403f9c
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0xa0]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, esi
je 0x4041d0
cmp dword [ebp - 0xa0], esi
je 0x4041d0
mov eax, dword [ebx]
cmp eax, esi
je 0x404194
push esi
push eax
call fcn.00409af6
add esp, 8
test eax, eax
jne 0x404194
mov edx, dword [ebx]
push edx
lea ecx, [ebp - 0x9c]
call fcn.00406d90
mov eax, dword [ebx]
push 0x5c
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, esi
je 0x403ffe
mov word [eax + 2], si
mov ecx, dword [ebx]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00406d90
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call edi
mov edx, dword [ebp - 0xa4]
push 0xffffffffffffffff
push esi
push edx
lea ecx, [ebp - 0x80]
call fcn.004068d0
mov eax, dword [ebp - 0xac]
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.004068d0
cmp dword [ebp - 0x18], esi
jne 0x40406b
lea ecx, [ebp - 0x48]
call fcn.004063e0
lea ecx, [ebp - 0x2c]
call fcn.004063e0
lea ecx, [ebp - 0x64]
call fcn.004063e0
lea ecx, [ebp - 0x80]
call fcn.004063e0
lea ecx, [ebp - 0x9c]
call fcn.004063e0
jmp 0x404258
mov eax, dword [ebp - 0x28]
mov ebx, 8
cmp dword [ebp - 0x14], ebx
jae 0x40407b
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00409af6
add esp, 8
test eax, eax
je 0x4040c1
push esi
call edi
lea ecx, [ebp - 0x48]
call fcn.004063e0
lea ecx, [ebp - 0x2c]
call fcn.004063e0
lea ecx, [ebp - 0x64]
call fcn.004063e0
lea ecx, [ebp - 0x80]
call fcn.004063e0
lea ecx, [ebp - 0x9c]
call fcn.004063e0
mov eax, 3
jmp 0x40425d
mov ecx, dword [ebp - 0x18]
add ecx, 0xffffffff
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00405ab0
cmp word [eax], 0x5c
push esi
lea ecx, [ebp - 0x48]
jne 0x404107
call fcn.00405ab0
cmp word [eax], 0x5c
je 0x4040ee
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x48]
push edx
jmp 0x40412f
cmp dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x44]
jae 0x4040f9
lea eax, [ebp - 0x44]
add eax, 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406bb0
jmp 0x404137
call fcn.00405ab0
cmp word [eax], 0x5c
lea ecx, [ebp - 0x2c]
jne 0x40411e
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
jmp 0x404132
push str.M4_3
call fcn.00406bb0
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004065a0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xa8]
lea edx, [ebp - 0x64]
push edx
push eax
mov eax, dword [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x2c]
push edx
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00403c00
add esp, 0x18
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.004063e0
lea ecx, [ebp - 0x2c]
call fcn.004063e0
lea ecx, [ebp - 0x64]
call fcn.004063e0
lea ecx, [ebp - 0x80]
call fcn.004063e0
lea ecx, [ebp - 0x9c]
call fcn.004063e0
mov eax, esi
jmp 0x40425d
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x48]
call fcn.004063e0
lea ecx, [ebp - 0x2c]
call fcn.004063e0
lea ecx, [ebp - 0x64]
call fcn.004063e0
lea ecx, [ebp - 0x80]
call fcn.004063e0
lea ecx, [ebp - 0x9c]
call fcn.004063e0
mov eax, 2
jmp 0x40425d
mov ebx, 8
cmp dword [ebp - 0x30], ebx
jb 0x4041e6
mov edx, dword [ebp - 0x44]
push edx
call fcn.00408087
add esp, 4
cmp dword [ebp - 0x14], ebx
mov word [ebp - 0x44], si
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
jb 0x404201
mov eax, dword [ebp - 0x28]
push eax
call fcn.00408087
add esp, 4
cmp dword [ebp - 0x4c], ebx
mov word [ebp - 0x28], si
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
jb 0x40421c
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408087
add esp, 4
cmp dword [ebp - 0x68], ebx
mov word [ebp - 0x60], si
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
jb 0x404237
mov edx, dword [ebp - 0x7c]
push edx
call fcn.00408087
add esp, 4
cmp dword [ebp - 0x84], ebx
mov word [ebp - 0x7c], si
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], edi
jb 0x404258
mov eax, dword [ebp - 0x98]
push eax
call fcn.00408087
add esp, 4
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004080f8
mov esp, ebp
pop ebp
ret