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, 0x44a660
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2ea
mov edx, 0x44a668
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2ea
mov edx, 0x44a670
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2ea
mov edx, 0x44a678
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2ea
mov edx, 0x44a680
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2da
mov edx, 0x44a688
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2da
mov edx, 0x44a690
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2da
mov edx, 0x44a698
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2da
mov edx, 0x44a6a0
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6a8
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6b0
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6b8
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6c0
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6c8
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6d0
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6d8
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2d3
mov edx, 0x44a6e0
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2cc
mov edx, 0x44a6e8
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2cc
mov edx, 0x44a6f0
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2cc
mov edx, 0x44a6f8
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2cc
mov edx, 0x44a700
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a708
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a710
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a718
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a720
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a728
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a730
lea ecx, [esp + 0x18]
call fcn.00404cd7
test al, al
jne 0x40c2bc
mov edx, 0x44a738
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.004133d6
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.004333fa
mov esp, ebp
pop ebp
ret
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.00401751
push 0xfffffffffffffffe
pop esi
jmp 0x40c38f