Function at 0x40b8d9
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
mov eax, dword [0x44b4e8]
xor eax, esp
mov dword [esp + 0x650], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [0x44f930], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, eax
lea ebx, [esp + 0x2d8]
mov dword [esp + 0x1c], ecx
call fcn.00408cd8
lea eax, [esp + 0xb0]
call fcn.004070a1
push 7
pop eax
xor esi, esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0xac], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x70], esi
mov word [esp + 0x60], si
mov dword [esp + 0x8c], esi
mov word [esp + 0x7c], si
mov dword [esp + 0xac], esi
mov word [esp + 0x9c], si
mov byte [esp + 0x94], 0
mov byte [esp + 0x95], 1
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, esi
je 0x40bc3f
xor eax, eax
inc eax
cmp dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
jle 0x40bc38
mov dword [esp + 0x10], 2
mov edi, dword [esp + 0x14]
shl edi, 2
mov eax, dword [edi + ebx]
lea ecx, [esp + 0x3c]
call fcn.00401573
push 0x440474
lea esi, [esp + 0x40]
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbf0
push 0x44047c
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbf0
push 0x440484
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbf0
push 0x44048c
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbf0
push 0x440494
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbdc
push 0x44049c
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbdc
push 0x4404a4
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbdc
push 0x4404ac
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbdc
push 0x4404b4
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbd2
push 0x4404bc
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbd2
push 0x4404c4
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbd2
push 0x4404cc
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbd2
push 0x4404d4
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbd2
push 0x4404dc
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbd2
push 0x4404e4
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbd2
push 0x4404ec
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbd2
push 0x4404f4
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbc8
push 0x4404fc
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbc8
push 0x440504
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbc8
push 0x44050c
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbc8
push 0x440514
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbb1
push 0x44051c
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbb1
push 0x440524
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbb1
push 0x44052c
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbb1
push 0x440534
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbb1
push 0x44053c
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbb1
push 0x440544
call fcn.00408a12
test al, al
pop ecx
jne 0x40bbb1
push 0x44054c
call fcn.00408a12
test al, al
pop ecx
je 0x40bc13
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jge 0x40bca9
lea esi, [esp + 0x94]
jmp 0x40bc02
mov byte [esp + 0x91], 0
jmp 0x40bc13
mov byte [esp + 0x90], 1
jmp 0x40bc13
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jge 0x40bcf2
lea esi, [esp + 0x74]
jmp 0x40bc02
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jge 0x40bcf2
lea esi, [esp + 0x58]
mov eax, dword [edi + ebx + 4]
call fcn.0040158f
inc dword [esp + 0x14]
inc dword [esp + 0x10]
push 0
push 1
lea esi, [esp + 0x44]
call fcn.00401140
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
inc dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jl 0x40b9a6
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea edi, [esp + 0x58]
lea eax, [esp + 0x2d8]
call fcn.0040b28b
cmp dword [esp + 0x200], esi
je 0x40bc95
cmp dword [esp + 0x1e4], esi
jne 0x40bc95
push 0x27ea
call fcn.00404e34
lea ecx, [esp + 0x24]
call fcn.0040f87b
push 0xffffffffffffffff
lea eax, [esp + 0x1d4]
push eax
xor ebx, ebx
lea eax, [esp + 0x28]
call fcn.004010b8
push ebx
push 1
lea esi, [esp + 0x28]
call fcn.00401140
push dword [esp + 0x1c]
lea ecx, [esp + 0x2dc]
call fcn.0040b2c9
mov esi, eax
jmp 0x40bcb9
push 0
push 1
lea esi, [esp + 0x44]
call fcn.00401140
push 0xfffffffffffffffe
pop esi
lea edi, [esp + 0x58]
call fcn.00408e4b
lea edi, [esp + 0xb0]
call fcn.00408e71
lea eax, [esp + 0x2d8]
push eax
call fcn.00408f63
mov eax, esi
mov ecx, dword [esp + 0x65c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042f583
mov esp, ebp
pop ebp
ret
push 0
push 1
lea esi, [esp + 0x44]
call fcn.00401140
lea edi, [esp + 0x58]
call fcn.00408e4b
lea edi, [esp + 0xb0]
call fcn.00408e71
lea eax, [esp + 0x2d8]
push eax
call fcn.00408f63
push 0xfffffffffffffffe
pop eax
jmp 0x40bcdd