Function at 0x45e450
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4c2cbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esi + 4], ebx
mov dword [esi], 0x4f5e00
mov dword [esi + 8], ebx
lea ebp, [esi + 0x18]
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
push ebx
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x34], 5
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.00415620
mov ecx, eax
call fcn.00431b90
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0x24], 6
je 0x45e4d1
inc dword [eax + 4]
mov ecx, dword [esi + 8]
cmp ecx, ebx
mov dword [esi + 8], eax
je 0x45e4ee
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x45e4ee
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x24], 5
je 0x45e514
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x18], eax
jne 0x45e514
mov edx, dword [ecx]
push 1
call dword [edx]
mov edi, dword [esp + 0x4c]
cmp edi, ebx
je 0x45e54e
mov ecx, dword [esp + 0x50]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x45e54e
mov dword [esp + 0x10], edx
push edi
mov ecx, ebp
call fcn.0042c3a0
mov eax, dword [esp + 0x10]
add edi, 0xc
dec eax
mov dword [esp + 0x10], eax
jne 0x45e538
lea ecx, [esp + 0x10]
push ecx
call fcn.0040d4d0
mov ecx, eax
call fcn.004016d0
mov ecx, dword [eax]
mov byte [esp + 0x24], 7
call fcn.00401120
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esi + 0x2c], edx
mov byte [esp + 0x24], 5
je 0x45e595
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x18], edx
jne 0x45e595
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov eax, dword [esp + 0x58]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x14], ecx
mov ecx, esi
mov dword [esi + 0x34], edx
mov dword [esi + 0x10], eax
call fcn.0045e050
mov edi, dword [esp + 0x60]
cmp edi, ebx
push 1
je 0x45e5f9
mov ebp, dword [esi + 8]
mov ecx, edi
call fcn.004222f0
push eax
mov ecx, ebp
call fcn.00424cf0
mov ecx, dword [esi + 8]
push 1
push ebx
call fcn.0042f400
mov eax, dword [esi + 8]
cmp eax, ebx
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
mov dword [ecx], eax
je 0x45e5f0
inc dword [eax + 4]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
jmp 0x45e63b
mov ecx, dword [esi + 8]
push 2
call fcn.00424cf0
mov ecx, dword [esi + 8]
push 1
push ebx
call fcn.0042f400
mov eax, dword [esi + 8]
cmp eax, ebx
push 1
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
mov dword [ecx], eax
je 0x45e625
inc dword [eax + 4]
mov byte [esp + 0x30], 8
call fcn.0040e220
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x30], 5
call dword [edx + 0x10]
cmp dword [esp + 0x44], 0x10
jb 0x45e64f
mov eax, dword [esp + 0x30]
push eax
call fcn.004ade5d
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
je 0x45e670
push eax
call fcn.004ade5d
add esp, 4
cmp edi, ebx
mov dword [esp + 0x24], 0xffffffff
je 0x45e689
dec dword [edi + 4]
jne 0x45e689
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x38