Function at 0x4285d0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4120ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call 0x432750
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x30], ebx
call 0x432a32
mov esi, dword [esp + 0x38]
mov ecx, esi
call 0x432a32
push 0x418b80
lea ecx, [esp + 0x14]
call 0x432a2c
push esi
lea ecx, [esp + 0x14]
call 0x432810
push 0x418b7c
lea ecx, [esp + 0x3c]
call main
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x34], 1
call 0x432810
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], bl
call 0x432732
lea ecx, [esp + 0x10]
call 0x432a26
push ecx
mov esi, eax
mov dword [esp + 0x3c], esp
mov edi, esp
push 0xc
call 0x432822
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x34], 2
je 0x42868a
push esi
mov ecx, eax
call fcn.00428e60
jmp 0x42868c
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x34], 0
mov dword [edi], eax
jne 0x4286a1
push 0x8007000e
call 0x432ede
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0
push ecx
lea ecx, [ebp + 0xb4]
call fcn.0042e180
mov ecx, eax
call fcn.004290d0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 4
cmp eax, ebx
jne 0x4288d4
lea ecx, [esp + 0x10]
call 0x432a26
push ecx
mov esi, eax
mov dword [esp + 0x28], esp
mov edi, esp
push 0xc
call 0x432822
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x34], 5
je 0x428701
push esi
mov ecx, eax
call fcn.00428e60
jmp 0x428703
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x34], 4
mov dword [edi], eax
jne 0x428718
push 0x8007000e
call 0x432ede
lea edx, [esp + 0x3c]
lea ecx, [ebp + 0xb8]
push edx
mov byte [esp + 0x38], 4
call fcn.0042e180
mov ecx, eax
call fcn.004290d0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
call fcn.00428b80
lea ecx, [esp + 0x38]
call 0x42fb60
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4288cc
xor edi, edi
mov eax, dword [ebp + 0xc0]
test eax, eax
jne 0x42876b
push 0x80004003
call 0x432ede
mov ecx, dword [ebp + 0xc0]
lea edx, [esp + 0x18]
push edx
call fcn.00428f30
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x30], 7
test eax, eax
jne 0x428792
push 0x80004003
call 0x432ede
mov esi, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x20]
test eax, eax
jge 0x4287af
push 0x418730
push esi
push eax
call 0x432eec
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x30], 4
cmp edi, ecx
lea ecx, [esp + 0x18]
setl bl
call 0x42fb60
test bl, bl
je 0x4288ab
mov eax, dword [ebp + 0xc0]
test eax, eax
jne 0x4287e2
push 0x80004003
call 0x432ede
mov ecx, dword [ebp + 0xc0]
lea edx, [esp + 0x24]
push edx
call fcn.00428f30
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x30], 8
test eax, eax
jne 0x428809
push 0x80004003
call 0x432ede
mov esi, dword [esi]
lea eax, [esp + 0x20]
push edi
push eax
mov ecx, esi
call fcn.00429180
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x30], 9
test eax, eax
jne 0x42882f
push 0x80004003
call 0x432ede
mov esi, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00428f80
mov eax, dword [eax]
mov byte [esp + 0x30], 0xa
test eax, eax
je 0x42884c
mov eax, dword [eax]
jmp 0x42884e
xor eax, eax
mov ecx, dword [esp + 0x3c]
push 0
push eax
call 0x432a0e
cmp eax, 0xffffffff
lea ecx, [esp + 0x1c]
setne bl
call fcn.00428e10
lea ecx, [esp + 0x20]
call 0x42fb60
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 4
call 0x42fb60
test bl, bl
jne 0x42888a
inc edi
jmp 0x428757
lea ecx, [esp + 0x14]
call 0x42fb60
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call 0x432732
mov eax, 0x3ea
jmp 0x4288f4
lea ecx, [esp + 0x14]
call 0x42fb60
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call 0x432732
mov eax, 0x3e9
jmp 0x4288f4
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4288da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 0xffffffff
call 0x432732
mov eax, 0x3e8
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8