Function at 0x405bc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bf41
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x431f04]
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 edi, ecx
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x10]
mov dword [ebp - 0x54], 0
cmp dword [ecx], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
je 0x406036
xor ecx, ecx
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x34], ecx
xor esi, esi
mov dword [ebp - 0x40], ecx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x30], ecx
mov ecx, eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], 1
jb 0x405c39
mov ecx, dword [eax]
lea eax, [ebp - 0x30]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x405d5d
xor edi, edi
cmp dword [ebp - 0x30], ebx
jle 0x405d53
xor ebx, ebx
lea esp, [esp]
mov edx, dword [eax + edi*4]
test edx, edx
je 0x405d46
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405c87
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402660
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x405ced
mov eax, dword [ebp - 0x28]
mov edx, 7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
add esi, 0x18
mov word [ebp - 0x28], ax
mov dword [ebp - 0x44], esi
jmp 0x405d08
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00403930
mov eax, dword [ebp - 0x40]
mov ebx, eax
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x405d43
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40605b
push edx
push ecx
call fcn.0040c046
add esp, 8
mov eax, dword [ebp - 0x38]
inc edi
cmp edi, dword [ebp - 0x30]
jl 0x405c60
mov ebx, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x48]
cmp edi, eax
je 0x405d7d
mov ecx, edi
call fcn.00406320
mov eax, dword [ebp - 0x34]
mov dword [edi], ebx
xor ebx, ebx
mov dword [edi + 4], esi
xor esi, esi
mov dword [edi + 8], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x405dda
lea eax, [ebp - 0x48]
push eax
push esi
push ebx
call fcn.004013d0
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 3
cmp ecx, 0x1000
jb 0x405dd0
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40605b
push ecx
push ebx
call fcn.0040c046
add esp, 8
mov eax, dword [edi + 4]
mov ecx, eax
mov esi, dword [edi]
sub ecx, esi
mov dword [ebp - 0x38], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x30], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jb 0x406036
mov eax, dword [ebp - 0x38]
xor ebx, ebx
mov dword [edi + 0x24], 0
mov edx, eax
mov edi, esi
xor esi, esi
cmp dword [ebp + 0xc], ebx
je 0x405e6e
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, edi
push eax
call fcn.00405770
test eax, eax
jne 0x405e6b
mov eax, dword [ebp - 0x2c]
mov ebx, 1
mov edx, dword [ebp - 0x38]
mov esi, ebx
lea ecx, [eax + 0xc]
mov dword [eax + 0x24], 1
mov eax, edi
cmp ecx, eax
je 0x405e6e
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x405e53
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00402660
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ecx + 0x24]
mov esi, ebx
mov edx, dword [ecx + 4]
mov edi, dword [ecx]
jmp 0x405e6e
mov edx, dword [ebp - 0x3c]
sub edx, edi
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x405ed8
lea eax, [ebx + ebx*2]
cmp dword [edi + eax*8 + 0x10], 2
lea eax, [edi + eax*8]
jb 0x405ed8
mov edx, dword [eax + 0x14]
mov ecx, eax
cmp edx, 8
jb 0x405e9e
mov ecx, dword [eax]
cmp word [ecx], 0x2f
je 0x405eb3
mov ecx, eax
cmp edx, 8
jb 0x405ead
mov ecx, dword [eax]
cmp word [ecx], 0x2d
jne 0x405ed8
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.004057b0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x24]
inc esi
mov dword [ecx + 0x24], esi
mov ebx, esi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
imul ecx
jmp 0x405e77
test esi, esi
jne 0x405f0a
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x4c]
add ecx, 0x30
cmp ecx, edi
je 0x40602f
cmp dword [edi + 0x14], 8
jb 0x405ef5
mov edi, dword [edi]
mov esi, dword [ebp - 0x50]
push dword [esi]
push edi
call fcn.00402660
mov eax, 1
jmp 0x406038
lea eax, [esi + esi*2]
cmp dword [edi + eax*8 - 4], 8
lea ebx, [edi + eax*8]
lea edx, [ebx - 0x18]
jb 0x405f1d
mov edx, dword [ebx - 0x18]
mov edi, dword [ebp - 0x4c]
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x405f2a
mov ecx, dword [edi]
push dword [ebx - 8]
mov esi, dword [ebp - 0x50]
push edx
push 0
mov esi, dword [esi]
push esi
push ecx
call fcn.004046f0
inc eax
add esp, 0x14
add eax, dword [ebx - 8]
cmp eax, esi
ja 0x40602f
sub esi, eax
mov dword [ebp - 0x14], 7
xor ecx, ecx
or ebx, 0xffffffff
cmp esi, 0xffffffff
mov word [ebp - 0x28], cx
cmovb ebx, esi
cmp dword [edi + 0x14], 8
jb 0x405f6b
mov edi, dword [edi]
lea eax, [edi + eax*2]
mov dword [ebp - 0x3c], eax
cmp ebx, 7
ja 0x405f93
lea esi, [ebx + ebx]
mov dword [ebp - 0x18], ebx
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040dab0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
jmp 0x405fea
cmp ebx, 0x7ffffffe
ja 0x406056
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x405fb3
mov esi, 0x7ffffffe
jmp 0x405fbd
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402480
mov dword [ebp - 0x14], esi
mov edi, eax
lea esi, [ebx + ebx]
mov dword [ebp - 0x18], ebx
push esi
push dword [ebp - 0x3c]
push edi
call fcn.0040d530
add esp, 0xc
mov dword [ebp - 0x28], edi
xor eax, eax
mov word [edi + esi], ax
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + 0x30]
call fcn.00401b70
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40602f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406025
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40605b
push edx
push ecx
call fcn.0040c046
add esp, 8
mov eax, 1
jmp 0x406038
xor eax, eax
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.0040c2b3
mov esp, ebp
pop ebp
ret 8
call fcn.00402450
call fcn.0040fa8a
int3