Function at 0x482200
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x50f443
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.004fc27f
add esp, 4
mov dword [esp + 0x40], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x30], ecx
je 0x482248
mov ecx, eax
call fcn.004850d0
mov dword [esp + 0x10], eax
jmp 0x48224c
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
cmp ebp, ebx
jae 0x48244f
mov edi, dword [esp + 0x38]
cmp byte [edi + ebp], 0x65
je 0x48244f
push ebp
push ebx
push edi
call fcn.00482510
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4824e7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, al
je 0x4824e7
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 0x4822f6
push ebp
push ebx
push edi
call fcn.00482510
mov esi, eax
add esp, 0xc
test esi, esi
je 0x482466
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.00482620
mov ecx, dword [esp + 0x20]
call fcn.00486360
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x30], 0xffffffff
test ecx, ecx
je 0x482447
test eax, eax
je 0x482447
cmp eax, 0x80
jbe 0x48232d
push ecx
call fcn.004d5e1e
add esp, 4
jmp 0x482447
add eax, 7
push 1
shr eax, 3
push 0x5c41dc
mov dword [esp + 0x20], ecx
lea eax, [eax*4 + 0x5c4198]
mov dword [esp + 0x1c], eax
call fcn.004817b0
add esp, 8
test eax, eax
je 0x48242f
mov edi, dword [0x576534]
mov eax, dword [0x5c4198]
mov dword [esp + 0x40], 0x11
xor esi, esi
test edi, edi
jbe 0x4823e1
mov ebx, eax
shr ebx, 1
cmp esi, ebx
jb 0x48239c
mov eax, dword [0x5c41dc]
test eax, eax
jne 0x48239c
push 1
push 0x5c41dc
call fcn.004817b0
add esp, 8
test eax, eax
je 0x48241b
jmp 0x4823d8
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 0x482376
mov ebx, dword [esp + 0x3c]
mov dword [0x576534], 0x1e
mov esi, 6
cmp esi, 0x1b
mov edi, esi
jle 0x4823fc
mov edi, 0x1b
push 1
push 0x5c41dc
call fcn.004817b0
add esp, 8
test eax, eax
je 0x48242f
push edi
call fcn.0047e260
add esp, 4
inc esi
jmp 0x4823f0
mov ebx, dword [esp + 0x3c]
mov dword [0x5c4198], esi
mov dword [0x576534], 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 [0x5c41dc], 0
cmp ebp, ebx
jb 0x482260
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 0x482474
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 0x4824d2
test eax, eax
je 0x4824d2
cmp eax, 0x80
jbe 0x4824ab
push edi
call fcn.004d5e1e
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, 0x5c41dc
shr eax, 3
lea esi, [eax*4 + 0x5c4198]
call fcn.004817d0
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edi
mov dword [0x5c41dc], 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 0x4824f5
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