Function at 0x4b8e70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501168
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x53a098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x10], edi
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], esi
call fcn.004b8a00
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
add eax, 0xfffffc0c
push edi
mov ecx, ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
call fcn.004aa370
add ebx, 0x3f4
mov ecx, edi
add ecx, 0x3f4
add esi, 0x30
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x34], esi
lea eax, [ebx + 0x98]
mov dword [ebp - 0x30], eax
lea edi, [ecx + 0x30]
lea eax, [ebx + 0x78]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0x60]
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x48]
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x30]
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
nop
push eax
call fcn.004abba0
test al, al
je 0x4b90bf
mov ecx, dword [ebp - 0x10]
call fcn.00404e90
cmp ebx, eax
je 0x4b8f54
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b8f49
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00405050
lea ecx, [edi - 0x18]
call fcn.00404e90
mov esi, dword [ebp - 0x14]
cmp esi, eax
je 0x4b8f7d
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b8f72
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00405050
mov ecx, edi
call fcn.00404e90
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x4b8fa5
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b8f9a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00405050
lea ecx, [edi + 0x18]
call fcn.00404e90
mov esi, dword [ebp - 0x1c]
cmp esi, eax
je 0x4b8fce
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b8fc3
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00405050
lea ecx, [edi + 0x30]
call fcn.00404e90
mov esi, dword [ebp - 0x20]
cmp esi, eax
je 0x4b8ff7
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b8fec
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00405050
lea ecx, [edi + 0x48]
call fcn.00404e90
mov esi, dword [ebp - 0x24]
cmp esi, eax
je 0x4b9020
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b9015
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00405050
mov al, byte [edi + 0x60]
lea esi, [edi + 0x68]
mov byte [ebx + 0x90], al
mov ecx, 0xd7
mov al, byte [edi + 0x61]
add dword [ebp - 0x14], 0x3f4
add dword [ebp - 0x18], 0x3f4
add dword [ebp - 0x1c], 0x3f4
add dword [ebp - 0x20], 0x3f4
add dword [ebp - 0x24], 0x3f4
mov byte [ebx + 0x91], al
mov al, byte [edi + 0x62]
mov byte [ebx + 0x92], al
mov al, byte [edi + 0x63]
mov byte [ebx + 0x93], al
mov al, byte [edi + 0x64]
mov byte [ebx + 0x94], al
mov al, byte [edi + 0x65]
mov byte [ebx + 0x95], al
add ebx, 0x3f4
mov eax, dword [ebp - 0x30]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
add eax, 0x3f4
mov edi, dword [ebp - 0x38]
add ecx, 0x3f4
add edi, 0x3f4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], edi
cmp ecx, dword [ebp - 0x3c]
je 0x4b9250
mov esi, dword [ebp - 0x34]
jmp 0x4b8f1b
mov ecx, dword [ebp - 0x28]
call fcn.00404e90
cmp ebx, eax
je 0x4b90e5
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b90da
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00405050
lea ecx, [esi - 0x18]
call fcn.00404e90
mov edi, dword [ebp - 0x14]
cmp edi, eax
je 0x4b910e
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b9103
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00405050
mov ecx, esi
call fcn.00404e90
mov edi, dword [ebp - 0x18]
cmp edi, eax
je 0x4b9136
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b912b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00405050
lea ecx, [esi + 0x18]
call fcn.00404e90
mov edi, dword [ebp - 0x1c]
cmp edi, eax
je 0x4b915f
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b9154
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00405050
lea ecx, [esi + 0x30]
call fcn.00404e90
mov edi, dword [ebp - 0x20]
cmp edi, eax
je 0x4b9188
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b917d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00405050
lea ecx, [esi + 0x48]
call fcn.00404e90
mov edi, dword [ebp - 0x24]
cmp edi, eax
je 0x4b91b1
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b91a6
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00405050
mov al, byte [esi + 0x60]
mov ecx, 0xd7
mov byte [ebx + 0x90], al
mov al, byte [esi + 0x61]
add dword [ebp - 0x14], 0x3f4
add dword [ebp - 0x18], 0x3f4
add dword [ebp - 0x1c], 0x3f4
add dword [ebp - 0x20], 0x3f4
add dword [ebp - 0x24], 0x3f4
mov byte [ebx + 0x91], al
mov al, byte [esi + 0x62]
mov byte [ebx + 0x92], al
mov al, byte [esi + 0x63]
mov byte [ebx + 0x93], al
mov al, byte [esi + 0x64]
mov byte [ebx + 0x94], al
mov al, byte [esi + 0x65]
add esi, 0x68
mov byte [ebx + 0x95], al
add ebx, 0x3f4
mov eax, dword [ebp - 0x30]
mov edi, eax
add eax, 0x3f4
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
add esi, 0x3f4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
add eax, 0x3f4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x28], eax
cmp eax, ecx
je 0x4b926a
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
jmp 0x4b8f20
mov esi, dword [ebp - 0x40]
mov edx, esi
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x2c]
push ebx
call fcn.004aa1f0
add esp, 8
jmp 0x4b928b
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x2c]
push ebx
call fcn.004aa1f0
add esp, 8
mov ecx, eax
call fcn.004aa370
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x44]
cmp ebx, esi
je 0x4b92b2
nop dword [eax]
push ecx
mov ecx, ebx
call fcn.004a92e0
add ebx, 0x3f4
cmp ebx, esi
jne 0x4b92a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret