Function at 0x466ec0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4c7b53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
push 0x10
lea ebp, [eax + 1]
call fcn.004b72f8
add esp, 4
mov dword [esp + 0x40], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x30], ecx
je 0x466f08
mov ecx, eax
call fcn.00469da0
mov dword [esp + 0x10], eax
jmp 0x466f0c
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
cmp ebp, ebx
jae 0x46710f
mov edi, dword [esp + 0x38]
cmp byte [edi + ebp], 0x65
je 0x46710f
push ebp
push ebx
push edi
call fcn.004671d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4671a7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, al
je 0x4671a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [esi]
add ebp, eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call dword [edx + 0x20]
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esp + 0x34], 1
call dword [edx]
cmp ebp, ebx
jae 0x466fb6
push ebp
push ebx
push edi
call fcn.004671d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x467126
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
push esi
lea edx, [esp + 0x20]
sub esp, 0xc
add ebp, eax
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.004672e0
mov ecx, dword [esp + 0x20]
call fcn.0046b040
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x30], 0xffffffff
test ecx, ecx
je 0x467107
test eax, eax
je 0x467107
cmp eax, 0x80
jbe 0x466fed
push ecx
call fcn.00493afe
add esp, 4
jmp 0x467107
add eax, 7
push 1
shr eax, 3
push 0x55a7bc
mov dword [esp + 0x20], ecx
lea eax, [eax*4 + 0x55a778]
mov dword [esp + 0x1c], eax
call fcn.004636e0
add esp, 8
test eax, eax
je 0x4670ef
mov edi, dword [0x514474]
mov eax, dword [0x55a778]
mov dword [esp + 0x40], 0x11
xor esi, esi
test edi, edi
jbe 0x4670a1
mov ebx, eax
shr ebx, 1
cmp esi, ebx
jb 0x46705c
mov eax, dword [0x55a7bc]
test eax, eax
jne 0x46705c
push 1
push 0x55a7bc
call fcn.004636e0
add esp, 8
test eax, eax
je 0x4670db
jmp 0x467098
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x40]
imul ecx, edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
imul eax, ecx
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
imul edx, eax
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x40]
imul ecx, edx
mov dword [esp + 0x40], ecx
inc esi
cmp esi, edi
jb 0x467036
mov ebx, dword [esp + 0x3c]
mov dword [0x514474], 0x1e
mov esi, 6
cmp esi, 0x1b
mov edi, esi
jle 0x4670bc
mov edi, 0x1b
push 1
push 0x55a7bc
call fcn.004636e0
add esp, 8
test eax, eax
je 0x4670ef
push edi
call fcn.00465200
add esp, 4
inc esi
jmp 0x4670b0
mov ebx, dword [esp + 0x3c]
mov dword [0x55a778], esi
mov dword [0x514474], 0x3e8
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov dword [eax], ecx
mov dword [0x55a7bc], 0
cmp ebp, ebx
jb 0x466f20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x467134
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
sub eax, edi
test edi, edi
je 0x467192
test eax, eax
je 0x467192
cmp eax, 0x80
jbe 0x46716b
push edi
call fcn.00493afe
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
add eax, 7
mov ecx, 0x55a7bc
shr eax, 3
lea esi, [eax*4 + 0x55a778]
call fcn.00466490
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edi
mov dword [0x55a7bc], 0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4671b5
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret