Function at 0x4658b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x687c53
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x7851cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [edx]
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
cmp byte [eax + 0xd], 0
mov dword [ebp - 0x18], edi
jne 0x4659c0
mov esi, eax
nop dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
mov dword [ebp - 0x1c], esi
jb 0x46591d
mov ecx, dword [ebx]
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x465929
mov eax, dword [esi + 0x10]
push dword [ebx + 0x10]
push ecx
push dword [esi + 0x20]
push eax
call fcn.0045ef00
add esp, 0x10
test eax, eax
js 0x4659a3
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x465947
mov ecx, dword [ebx]
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x465953
mov eax, dword [esi + 0x10]
push dword [ebx + 0x10]
push ecx
push dword [esi + 0x20]
push eax
call fcn.0045ef00
add esp, 0x10
test eax, eax
jne 0x465993
cmp dword [ebx + 0x2c], 0x10
lea edx, [ebx + 0x18]
jb 0x465973
mov edx, dword [ebx + 0x18]
cmp dword [esi + 0x3c], 0x10
lea ecx, [esi + 0x28]
jb 0x46597f
mov ecx, dword [esi + 0x28]
push dword [ebx + 0x28]
push edx
push dword [esi + 0x38]
push ecx
call fcn.0045ef00
add esp, 0x10
test eax, eax
js 0x4659a3
mov edi, esi
mov dword [ebp - 0x10], 1
mov esi, dword [esi]
mov dword [ebp - 0x18], edi
jmp 0x4659b0
mov esi, dword [esi + 8]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0
cmp byte [esi + 0xd], 0
je 0x465910
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
cmp byte [edi + 0xd], 0
jne 0x4659f1
lea ecx, [edi + 0x10]
push ecx
push ebx
mov ecx, edx
call fcn.0045f4d0
test al, al
jne 0x4659f1
mov byte [esi + 4], al
mov eax, esi
mov dword [esi], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x1e1e1e1
je 0x465abc
mov dword [ebp - 0x2c], eax
push 0x88
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.0062703d
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
lea esi, [edi + 0x10]
mov dword [ebp - 4], 1
push ebx
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0044cc50
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.0044cc50
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x30]
call fcn.0044cc50
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
mov dword [esi + 0x58], 0
push dword [ebp - 0x1c]
mov dword [esi + 0x5c], 0xf
mov byte [esi + 0x48], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0xf
mov byte [esi + 0x60], 0
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.0045f6d0
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0045f8e0
int3