Function at 0x469880
Capabilities:
Accept command line arguments
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a3dd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x10]
call fcn.0048c471
mov eax, dword [esp + 0xc]
push str._ZRS_
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 0
mov esi, dword [eax - 8]
call fcn.0048a476
sub esi, eax
lea ecx, [esp + 0x44]
push esi
push ecx
lea ecx, [esp + 0x14]
call fcn.0048a360
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 1
call fcn.0048c53c
lea ecx, [esp + 0x44]
mov byte [esp + 0x54], 0
call fcn.0048c403
push str._ZRE_
lea ecx, [esp + 0x10]
call fcn.0048a476
add eax, 5
lea edx, [esp + 0x44]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.0048a3dc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 2
call fcn.0048c53c
lea ecx, [esp + 0x44]
mov byte [esp + 0x54], 0
call fcn.0048c403
lea ecx, [esp + 0xc]
call fcn.0048a85b
lea ecx, [esp + 0xc]
call fcn.0048a80f
lea eax, [esp + 0x48]
push 5
push eax
lea ecx, [esp + 0x14]
call fcn.0048a3dc
mov eax, dword [eax]
push str._ZRS_
push eax
mov byte [esp + 0x5c], 3
call fcn.0047514f
add esp, 8
test eax, eax
jne 0x4699a2
lea ecx, [esp + 0x44]
push 5
push ecx
lea ecx, [esp + 0x14]
call fcn.0048a360
mov eax, dword [eax]
push str._ZRE_
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
setne bl
call fcn.0048c403
test bl, bl
je 0x4699a4
mov bl, 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x54], 0
call fcn.0048c403
test bl, bl
je 0x4699db
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0xffffffff
call fcn.0048c403
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
lea ebx, [ebp + 0x1658]
push edi
mov ecx, 0xf3
xor eax, eax
mov edi, ebx
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0xc2
lea edi, [ebp + 0xffc]
rep stosd dword es:[edi], eax
mov ecx, 0x12
lea edi, [ebp + 0x1304]
rep stosd dword es:[edi], eax
mov eax, dword [edx - 8]
lea ecx, [esp + 0x10]
add eax, 0xfffffffb
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0048a3dc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 4
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0
call fcn.0048c403
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x4c]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
add eax, 0xfffffffb
push eax
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 5
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0
call fcn.0048c403
lea ecx, [esp + 0x10]
call fcn.0048a85b
lea ecx, [esp + 0x10]
call fcn.0048a80f
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], 6
call fcn.0048a85b
lea ecx, [esp + 0x44]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 7
call fcn.0048c53c
mov byte [esp + 0x58], 6
lea ecx, [esp + 0x4c]
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 8
call fcn.0048a85b
lea ecx, [esp + 0x40]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 9
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 8
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xa
call fcn.0048a85b
lea ecx, [esp + 0x3c]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0xb
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0xa
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0xc
call fcn.0048a85b
lea ecx, [esp + 0x38]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0xd
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0xc
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 0xe
call fcn.0048a85b
lea ecx, [esp + 0x34]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0xf
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0xe
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0x10
call fcn.0048a85b
lea ecx, [esp + 0x30]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0x11
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0x10
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0x12
call fcn.0048a85b
lea ecx, [esp + 0x2c]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0x13
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0x12
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0x14
call fcn.0048a85b
lea ecx, [esp + 0x28]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0x15
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0x14
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
call fcn.0048a3dc
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 0x16
call fcn.0048a85b
lea ecx, [esp + 0x24]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0x17
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0x16
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 0x18
call fcn.0048a85b
lea ecx, [esp + 0x20]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0x19
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0x18
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0x1a
call fcn.0048a85b
lea ecx, [esp + 0x1c]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0x1b
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0x1a
call fcn.0048c403
push 0x4c2af4
lea ecx, [esp + 0x14]
call fcn.0048a476
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 0x1c
call fcn.0048a85b
lea ecx, [esp + 0x18]
call fcn.0048a80f
mov ecx, dword [esp + 0x10]
push 0x4c2af4
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0048a476
sub esi, eax
lea edx, [esp + 0x4c]
dec esi
lea ecx, [esp + 0x10]
push esi
push edx
call fcn.0048a360
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0x1d
call fcn.0048c53c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0x1c
call fcn.0048c403
mov eax, dword [esp + 0x18]
push eax
call fcn.00474ffd
add esp, 4
lea ecx, [esp + 0x10]
sub eax, 0x10
push ecx
lea ecx, [esp + 0x18]
mov dword [0x4c8bb8], eax
call fcn.0048c178
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0x1e
call fcn.0048a85b
lea ecx, [esp + 0x14]
call fcn.0048a80f
mov edi, dword [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x1769]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp + 0x1898]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [ebp + 0x1860]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp + 0x1011]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x38]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp + 0x1063]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp + 0x115b]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x30]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [ebp + 0x10f6]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [ebp + 0x1101]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x28]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp + 0x1122]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp + 0x1132]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00474ffd
add esp, 4
test eax, eax
pop edi
jge 0x46a218
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [ebp + 0x1734], eax
mov byte [esp + 0x54], 0x1c
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 0x1a
call fcn.0048c403
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 0x18
call fcn.0048c403
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 0x16
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 0x14
call fcn.0048c403
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 0x12
call fcn.0048c403
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 0x10
call fcn.0048c403
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 0xe
call fcn.0048c403
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 0xc
call fcn.0048c403
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 0xa
call fcn.0048c403
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 8
call fcn.0048c403
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 6
call fcn.0048c403
lea ecx, [esp + 0x40]
mov byte [esp + 0x54], 0
call fcn.0048c403
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 0x4c]
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret