Function at 0x437870
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57954b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5d7ce0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x5d7ce0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x38]
call fcn.004079b0
lea ecx, [esp + 0x44]
mov dword [esp + 0xd8], 0
mov edx, dword [esp + 0x34]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [esp + 0x40], esi
test esi, esi
jne 0x43791e
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437917
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x437eb6
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437938
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0xd8], 1
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43796a
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xd8], 2
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43799c
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
xor eax, eax
mov byte [esp + 0xd8], 3
mov dword [esp + 0x20], eax
cmp dword [esp + 0x44], eax
jle 0x437e07
mov dword [esp + 0x2c], 1
lea esp, [esp]
mov edx, dword [esi + eax*4]
test edx, edx
jne 0x4379db
xor eax, eax
jmp 0x4379ef
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4379e0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00407870
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], 0
jl 0x437dec
push 0x5af3c4
push esi
call fcn.0054d581
add esp, 8
test eax, eax
je 0x437dec
sub eax, esi
sar eax, 1
jne 0x437dec
mov edi, dword [esp + 0x18]
lea eax, [esi - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x437a7d
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x437a6f
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x437a6f
push eax
call fcn.00407af0
add esp, 4
mov esi, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x437a66
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add esi, 0x10
mov dword [esp + 0x18], esi
jmp 0x437a7d
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.00407870
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x437adc
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x437ab6
cmp dword [ecx - 8], 0
jl 0x437edc
mov dword [ecx - 0xc], 0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov word [ecx], ax
mov ecx, dword [esp + 0x14]
jmp 0x437adc
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437acc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x44]
jge 0x437c9a
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + ecx*4 + 4]
test edx, edx
jne 0x437afe
xor eax, eax
jmp 0x437b12
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437b03
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00407870
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], 0
jl 0x437b43
push 0x5af3c4
push esi
call fcn.0054d581
add esp, 8
test eax, eax
je 0x437b43
sub eax, esi
sar eax, 1
je 0x437c96
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.0040d290
lea ecx, [esp + 0x14]
call fcn.00416550
mov ecx, eax
call fcn.004165d0
lea eax, [esp + 0x14]
push eax
mov ebx, 0x5af3c8
call fcn.004166f0
mov ebx, eax
mov eax, 0x5af3c8
call fcn.00416760
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00407af0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x28], edi
mov esi, 1
mov byte [esp + 0xd8], 4
cmp dword [edi - 4], esi
jle 0x437bb6
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004076d0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x40], edi
call fcn.00407af0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x30], ebx
mov byte [esp + 0xd8], 5
cmp dword [ebx - 4], esi
jle 0x437bef
mov edx, dword [ebx - 0xc]
push edx
lea ecx, [esp + 0x34]
call fcn.004076d0
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x30], ebx
call fcn.00438080
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x90]
mov edx, esi
mov byte [esp + 0xd8], 6
call fcn.004159e0
push eax
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.004155b0
lea esi, [esp + 0x90]
call fcn.00415560
add ebx, 0xfffffff0
mov byte [esp + 0xd8], 4
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437c60
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0xfffffff0
mov byte [esp + 0xd8], 3
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x437c84
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, 1
add dword [esp + 0x20], eax
add dword [esp + 0x2c], eax
jmp 0x437dec
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
push eax
call fcn.00407af0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x30], edi
mov byte [esp + 0xd8], 7
cmp dword [edi - 4], 1
jle 0x437ccc
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [esp + 0x34]
call fcn.004076d0
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x28], edi
call fcn.00407af0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x28], esi
mov ebx, 8
mov byte [esp + 0xd8], bl
cmp dword [esi - 4], 1
jle 0x437d0a
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x2c]
call fcn.004076d0
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x48], esi
call fcn.00438080
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x58]
mov byte [esp + 0xd8], 9
call fcn.004159e0
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x54]
push eax
push ecx
call fcn.004155b0
cmp dword [esp + 0x88], ebx
jb 0x437d5d
mov edx, dword [esp + 0x74]
push edx
call fcn.0044c90f
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
cmp dword [esp + 0x6c], ebx
jb 0x437d8d
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0044c90f
add esp, 4
xor edx, edx
add esi, 0xfffffff0
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], dx
mov byte [esp + 0xd8], 7
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x437dc8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0xd8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437dec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
inc dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x44]
jl 0x4379d0
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437e2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd8], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437e57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437e7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437eb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0054bd91
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00407ad0
int3