Function at 0x10055a71
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10055a9b
push 0x2ccb
push 0x40d1
push 1
call fcn.10055f3f
add esp, 0xc
jmp 0x10055f3b
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x50], 0x2962
mov dword [ebp - 0xa8], 0x1000be20
cmp dword [ebp - 0x50], 0x29e6
jle 0x10055b97
and dword [ebp - 8], 0
jmp 0x10055af6
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xcfc
jge 0x10055b97
and dword [ebp - 0x18], 0
jmp 0x10055b10
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2d43
jge 0x10055b92
and dword [ebp - 0x10], 0
jmp 0x10055b26
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x998
jge 0x10055b8d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
shl eax, cl
mov ecx, dword [ebp - 0x10]
shl eax, cl
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0xe0], eax
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x108]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x108]
call fcn.100252df
jmp 0x10055b1f
jmp 0x10055b09
jmp 0x10055aef
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x50], 0x257f
jge 0x10055bb5
push dword [ebp - 0xa8]
call fcn.1008287d
pop ecx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x10055cb0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x48], 0x2fb5
mov dword [ebp - 0x74], 0x1000be80
cmp dword [ebp - 0x48], 0x30fd
jle 0x10055c78
and dword [ebp - 0x20], 0
jmp 0x10055c00
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5626
jge 0x10055c78
and dword [ebp - 4], 0
jmp 0x10055c16
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x393f
jge 0x10055c76
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 4]
cdq
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf0], eax
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x138]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x138]
call fcn.100252df
jmp 0x10055c0f
jmp 0x10055bf9
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov dword [ecx], eax
cmp dword [ebp - 0x48], 0x2d50
jge 0x10055cab
push dword [ebp - 0x74]
call fcn.1008287d
pop ecx
jmp 0x10055f3b
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x40], 0x2321
mov dword [ebp - 0xbc], 0x1000bee4
cmp dword [ebp - 0x40], 0x26f7
jle 0x10055db9
and dword [ebp - 0xc], 0
jmp 0x10055d35
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x5547
jge 0x10055db9
and dword [ebp - 0x14], 0
jmp 0x10055d4b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2742
jge 0x10055db4
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
cdq
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0xec], eax
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x120]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x120]
call fcn.100252df
jmp 0x10055d44
jmp 0x10055d2e
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x40], 0x1fff
jge 0x10055dd7
push dword [ebp - 0xbc]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x54], 0x418
mov dword [ebp - 0x88], 0x1000bf20
cmp dword [ebp - 0x54], 0x4f7
jle 0x10055e87
and dword [ebp - 0x1c], 0
jmp 0x10055e0e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7b9e
jge 0x10055e87
and dword [ebp - 0x24], 0
jmp 0x10055e24
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2ac7
jge 0x10055e85
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xe8], eax
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x150]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x150]
call fcn.100252df
jmp 0x10055e1d
jmp 0x10055e07
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jne 0x10055f02
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x10055ef4
mov eax, 0x162a9717
test eax, eax
je 0x10055ebc
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x10055ebc
mov dword [ebp - 0x34], 1
jmp 0x10055ec0
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jg 0x10055ed3
mov dword [ebp - 0x38], 1
jmp 0x10055ed7
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x10055ef4
mov dword [ebp - 0x44], 1
jmp 0x10055ef8
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jne 0x10055f1a
push 3
mov ecx, dword [ebp - 0x78]
call fcn.10025597
cmp dword [eax], 0
je 0x10055f1a
mov dword [ebp - 0x4c], 1
jmp 0x10055f1e
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
cmp dword [ebp - 0x54], 0x390
jge 0x10055f3b
push dword [ebp - 0x88]
call fcn.1008287d
pop ecx
mov esp, ebp
pop ebp
ret