Function at 0x40bfbb
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x584
mov eax, dword [0x456178]
xor eax, esp
mov dword [esp + 0x580], eax
push ebx
push esi
push edi
mov dword [0x45a8a0], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
lea ecx, [esp + 0x260]
push esi
mov dword [esp + 0x18], esi
call fcn.00409245
lea ecx, [esp + 0x80]
call fcn.00403487
xor eax, eax
mov word [esp + 0x60], 0x100
push 7
pop ecx
xor edx, edx
mov word [esp + 0x30], ax
mov word [esp + 0x48], ax
mov word [esp + 0x64], ax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x40c327
xor esi, esi
inc esi
cmp dword [esp + 0x10], esi
jle 0x40c31c
push 2
pop edi
push dword [ebx + esi*4]
lea ecx, [esp + 0x1c]
call fcn.0040140d
mov edx, 0x44a65c
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2ea
mov edx, 0x44a664
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2ea
mov edx, 0x44a66c
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2ea
mov edx, 0x44a674
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2ea
mov edx, 0x44a67c
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2da
mov edx, 0x44a684
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2da
mov edx, 0x44a68c
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2da
mov edx, 0x44a694
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2da
mov edx, 0x44a69c
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6a4
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6ac
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6b4
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6bc
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6c4
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6cc
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6d4
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6dc
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2cc
mov edx, 0x44a6e4
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2cc
mov edx, 0x44a6ec
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2cc
mov edx, 0x44a6f4
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2cc
mov edx, 0x44a6fc
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a704
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a70c
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a714
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a71c
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a724
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a72c
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a734
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
je 0x40c303
cmp edi, dword [esp + 0x10]
jge 0x40c3c7
lea ecx, [esp + 0x64]
jmp 0x40c2f8
mov byte [esp + 0x61], 0
jmp 0x40c303
mov byte [esp + 0x60], 1
jmp 0x40c303
cmp edi, dword [esp + 0x10]
jge 0x40c3c7
lea ecx, [esp + 0x48]
jmp 0x40c2f8
cmp edi, dword [esp + 0x10]
jge 0x40c3c7
lea ecx, [esp + 0x30]
push dword [ebx + esi*4 + 4]
call fcn.00401628
inc esi
inc edi
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.00401751
inc esi
inc edi
cmp esi, dword [esp + 0x10]
jl 0x40c068
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x264]
call fcn.0040bb72
cmp dword [esp + 0x1a0], 0
je 0x40c380
cmp dword [esp + 0x188], 0
jne 0x40c380
lea eax, [esp + 0x18]
push 0x27ea
push eax
call fcn.004033f1
mov ecx, eax
call fcn.004133f6
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x17c]
call fcn.00401e84
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.00401751
push esi
lea ecx, [esp + 0x264]
call fcn.0040bbc7
mov esi, eax
lea ecx, [esp + 0x30]
call fcn.004093c8
lea ecx, [esp + 0x80]
call fcn.004093f0
lea ecx, [esp + 0x260]
call fcn.004094e4
mov ecx, dword [esp + 0x58c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043341a
mov esp, ebp
pop ebp
ret
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.00401751
push 0xfffffffffffffffe
pop esi
jmp 0x40c38f