Function at 0x482b74
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x482ebc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xc
call fcn.004829c0
mov dl, 2
mov eax, esi
call fcn.004587e8
mov edi, eax
mov ebx, edi
push 1
push 0
mov eax, ebx
mov cl, 1
mov dl, 1
call fcn.0045b424
mov eax, 0x18
call fcn.00482a30
push eax
mov eax, ebx
call fcn.0045a2c0
mov edx, 4
pop ecx
call fcn.00457190
mov eax, ebx
xor edx, edx
call fcn.00459cf8
mov eax, ebx
mov edx, 1
call fcn.00459cac
mov eax, esi
call fcn.0045a3c8
mov edx, eax
sub edx, 2
mov eax, ebx
call fcn.00459d48
mov eax, 0x32
call fcn.004829d4
mov edx, eax
dec edx
mov eax, ebx
call fcn.00459d8c
mov eax, ebx
mov edx, 0xffffff
call fcn.00459db8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
push 0x48a3d4
mov eax, ebx
mov edx, 3
call fcn.0045963c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
push 0x486bec
mov eax, ebx
call fcn.0045a264
push 0
push 0xffffffffffffffff
mov ecx, edi
mov edx, dword [0x4826f0]
xor eax, eax
call fcn.00483f80
mov esi, eax
mov dword [ebx + 0xee], esi
mov dword [esi + 0x44], 0xffe7edf1
movzx eax, byte [0x482ecc]
mov byte [esi + 0x43], al
xor edx, edx
mov eax, edi
call fcn.004580b8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ebx, eax
push 1
push 0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.0045b424
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [0x4826f0]
xor eax, eax
call fcn.00483f80
mov esi, eax
mov dword [ebx + 0xee], esi
lea edx, [ebp - 8]
mov eax, 0x482edc
call fcn.00482a48
mov edx, dword [ebp - 8]
mov eax, esi
xor ecx, ecx
call fcn.00483ff8
mov eax, dword [ebx + 0x30]
call fcn.00459d2c
mov edx, dword [esi + 0x3c]
sub eax, dword [edx + 0x18]
push eax
mov eax, 0xf
call fcn.004829c0
pop edx
sub edx, eax
mov eax, ebx
call fcn.00459cac
mov eax, 0xc
call fcn.004829d4
mov edx, eax
mov eax, ebx
call fcn.00459cf8
mov eax, 0x19
call fcn.004829c0
mov edx, eax
mov eax, ebx
call fcn.00459d48
mov eax, 0x19
call fcn.004829d4
mov edx, eax
mov eax, ebx
call fcn.00459d8c
mov edx, dword [ebx + 0x28]
or edx, 0x20
mov eax, ebx
call fcn.004596fc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
push 0x485718
mov eax, ebx
call fcn.0045a928
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
push 0x487534
mov eax, ebx
call fcn.0045a264
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
push 0x486950
mov eax, ebx
call fcn.0045acc0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
push 0x486960
mov eax, ebx
call fcn.0045ace8
mov dl, 2
mov eax, edi
call fcn.004587e8
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [eax + 0x70], ebx
mov eax, dword [ebp + 8]
mov eax, ebx
mov ebx, eax
push 1
push 0
mov cl, 1
mov dl, 1
mov eax, ebx
call fcn.0045b424
lea edx, [ebp - 0xc]
mov eax, 0x1f
call fcn.00482898
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00459818
mov eax, 0xc
call fcn.004829c0
mov edx, eax
mov eax, ebx
call fcn.00459cac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
push 0x48a3d4
mov edx, 3
mov eax, ebx
call fcn.0045963c
push 0
push 0xffffffffffffffff
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.00459e74
mov ecx, eax
mov edx, dword [0x4826f0]
xor eax, eax
call fcn.00483f80
mov esi, eax
mov dword [ebx + 0xee], esi
lea edx, [ebp - 0x10]
mov eax, 0x482efc
call fcn.00482a48
mov edx, dword [ebp - 0x10]
mov eax, esi
xor ecx, ecx
call fcn.00483ff8
mov eax, dword [ebp - 4]
call fcn.00459c94
push eax
mov eax, ebx
call fcn.00459c94
pop edx
sub edx, eax
mov eax, ebx
call fcn.00459d48
mov eax, 8
call fcn.004829d4
mov edx, eax
mov eax, dword [esi + 0x3c]
add edx, dword [eax + 0x1c]
mov eax, ebx
call fcn.00459d8c
mov eax, dword [ebx + 0x30]
call fcn.0045a3ac
push eax
mov eax, ebx
call fcn.00459d70
pop edx
sub edx, eax
sar edx, 1
jns 0x482e73
adc edx, 0
mov eax, ebx
call fcn.00459cf8
mov edx, dword [ebx + 0x28]
or edx, 0x20
mov eax, ebx
call fcn.004596fc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
push 0x48724c
mov eax, ebx
call fcn.0045a264
mov eax, ebx
call fcn.00459d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482ec3
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040714c
ret