Function at 0x4757e8
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
test dl, dl
je 0x475808
add esp, 0xfffffff0
call fcn.00404014
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x475a58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x14
mov edx, 0x475a8c
call fcn.00404b40
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, 0x475a98
call fcn.00404b40
mov eax, dword [ebp - 4]
add eax, 0x1c
mov edx, 0x475ad8
call fcn.00404b40
mov eax, dword [ebp - 4]
add eax, 0x20
mov edx, 0x475aec
call fcn.00404b40
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404aec
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0xea60
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
add eax, 0x44
mov edx, 0x475b18
call fcn.00404b40
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, 0x475b18
call fcn.00404b40
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x4c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4d], 0
mov dl, 1
mov eax, dword [0x475754]
call fcn.00403cac
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov dl, 1
mov eax, dword [0x42396c]
call fcn.00423ad8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x475a36
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00423b78
xor ecx, ecx
mov edx, 0x475b2c
mov eax, dword [ebp - 0xc]
call fcn.00423cbc
test al, al
je 0x475a20
mov edx, 0x475b4c
mov eax, dword [ebp - 0xc]
call fcn.00424274
test al, al
je 0x475a18
mov edx, 0x475b60
mov eax, dword [ebp - 0xc]
call fcn.00424274
test al, al
je 0x475a18
lea ecx, [ebp - 0x10]
mov edx, 0x475b4c
mov eax, dword [ebp - 0xc]
call fcn.00424120
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00404b40
lea ecx, [ebp - 0x14]
mov edx, 0x475b60
mov eax, dword [ebp - 0xc]
call fcn.00424120
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404b40
xor eax, eax
push ebp
push 0x4759c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, 0x475b78
call fcn.00470f60
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4759d6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, 0x475b18
call fcn.00404f08
jne 0x475a0c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, 0x475b18
call fcn.00404f08
je 0x475a10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, 0x475b88
call fcn.00404f08
je 0x475a10
xor eax, eax
jmp 0x475a12
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x40], al
mov eax, dword [ebp - 0xc]
call fcn.00423b48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475a3d
mov eax, dword [ebp - 0xc]
call fcn.00403cdc
ret