Function at 0x402630
Capabilities:
Accept command line arguments
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439110
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x44a03c]
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 esi, ecx
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xf0], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov byte [ebp - 4], 5
lea ebx, [esi + 0x48]
mov word [esi + 0x44], 0
call fcn.00405700
mov ecx, eax
test ecx, ecx
je 0x402959
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 6
call fcn.0040a0f0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402730
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407e30
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 9
call fcn.00407e30
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x4027c4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4027ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402963
push edx
push ecx
call fcn.0040e839
add esp, 8
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x58]
call fcn.00404f20
mov ecx, dword [ebp - 0xe8]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0xec]
sub ecx, edi
imul ecx
mov byte [ebp - 4], 0xc
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x4028ac
cmp dword [edi + 0x2c], 8
lea eax, [edi + 0x18]
jb 0x40280e
mov eax, dword [eax]
lea ecx, [ebp - 0xd8]
push 3
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0xdc]
push eax
call fcn.00405840
mov edx, dword [ebp - 0xdc]
mov byte [ebp - 4], 0xd
test edx, edx
jne 0x40283a
xor ecx, ecx
jmp 0x402849
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402840
sub ecx, edi
push ecx
push edx
mov ecx, ebx
call fcn.00406c20
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xc
cmp eax, ecx
je 0x40286f
push eax
call fcn.004286ee
add esp, 4
push ebx
lea eax, [ebp - 0xe0]
mov ecx, esi
push eax
call fcn.00405600
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.00403070
mov edx, dword [ebp - 0xe0]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4028ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xec]
call fcn.00402e10
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4028f1
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4028e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402968
push edx
push ecx
call fcn.0040e839
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40293b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402931
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40296d
push edx
push ecx
call fcn.0040e839
add esp, 8
mov eax, esi
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.0040ed5f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403bf0
call fcn.00428329
call fcn.00428329
call fcn.00428329
int3