Function at 0x10023850
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045f71
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1005ae50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
xor ebx, ebx
push 0x38
lea edi, [esi + 0x30]
push ebx
push edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x15ac], ebx
mov dword [esi + 0x15d0], ebx
mov byte [esi + 0x15b0], bl
call fcn.10032630
mov eax, 0x3200000
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
mov eax, 0xf0
push 0x660
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], eax
lea eax, [esi + 0x78]
push ebx
push eax
mov byte [edi], 1
mov byte [esi + 0x31], 1
mov byte [esi + 0x32], 1
mov byte [esi + 0x33], 1
mov byte [esi + 0x48], 1
mov byte [esi + 0x49], bl
mov byte [esi + 0x4b], bl
mov byte [esi + 0x4c], 1
mov byte [esi + 0x4d], bl
mov byte [esi + 0x5c], 1
mov byte [esi + 0x64], bl
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x6d8], ebx
mov byte [esi + 0xe18], bl
mov dword [esi + 0xe1c], ebx
call fcn.10032630
push 0x248
lea ecx, [esi + 0x6e0]
push ebx
push ecx
call fcn.10032630
push 0x40
lea edx, [esi + 0x928]
push ebx
push edx
call fcn.10032630
push 0x40
lea eax, [esi + 0x968]
push ebx
push eax
call fcn.10032630
push 0x40
lea ecx, [esi + 0x1488]
push ebx
push ecx
mov dword [esi + 0x9a8], ebx
call fcn.10032630
add esp, 0x48
xor eax, eax
mov dword [esi + 0x14c8], eax
push 0x8c
mov dword [esi + 0x14cc], eax
lea edx, [esi + 0x9ac]
push ebx
mov dword [esi + 0x14d0], eax
push edx
mov dword [esi + 0x14d4], eax
call fcn.10032630
push 0x3c0
push ebx
lea eax, [esi + 0xa38]
push eax
call fcn.10032630
xor eax, eax
mov dword [esi + 0xdf8], eax
mov dword [esi + 0xdfc], eax
mov dword [esi + 0xe00], eax
mov dword [esi + 0xe04], eax
mov dword [esi + 0xe08], eax
push 0xa0
mov dword [esi + 0xe0c], eax
lea ecx, [esi + 0x14d8]
push ebx
mov dword [esi + 0xe10], eax
push ecx
mov dword [esi + 0xe14], eax
call fcn.10032630
xor eax, eax
mov dword [esi + 0x1598], eax
mov dword [esi + 0x159c], eax
mov dword [esi + 0x15a0], eax
mov dword [esi + 0x15a4], eax
mov dword [esi + 0x1578], eax
mov dword [esi + 0x157c], eax
mov dword [esi + 0x1580], eax
mov dword [esi + 0x1584], eax
mov dword [esi + 0x1588], eax
push 0x660
mov dword [esi + 0x158c], eax
lea edx, [esi + 0xe24]
push ebx
mov dword [esi + 0x1590], eax
push edx
mov dword [esi + 0x1594], eax
call fcn.10032630
mov dword [esi + 0xe20], ebx
xor eax, eax
mov dword [esi + 0x15b8], eax
mov dword [esi + 0x15bc], eax
mov dword [esi + 0x15c0], eax
mov dword [esi + 0x15c4], eax
mov dword [esi + 0x15c8], eax
mov dword [esi + 0x15cc], eax
mov byte [esi + 0x15b1], bl
mov dword [esi + 0x15b4], ebx
mov byte [esi + 0x1d], bl
mov dword [esi + 0x17d8], eax
mov dword [esi + 0x17dc], eax
mov dword [esi + 0x17e0], eax
mov dword [esi + 0x17e4], eax
push 0x78
mov dword [esi + 0x15a8], ebx
mov dword [ebp - 4], ebx
call fcn.100318d4
mov ecx, eax
add esp, 0x34
mov dword [ebp - 0x24], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x10023acb
mov eax, dword [esi + 0x10]
push eax
call fcn.1002abc0
mov ecx, eax
jmp 0x10023acd
xor ecx, ecx
cmp ecx, ebx
mov byte [ebp - 4], bl
mov dword [esi + 0x18], ecx
jne 0x10023aec
push 0x1004e9b0
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], 0x3a98
call fcn.100317ab
mov edx, dword [esi + 0x14]
push edx
push edi
call fcn.1002a520
push 4
call fcn.100318d4
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x10023b14
call fcn.10018360
jmp 0x10023b16
xor eax, eax
cmp eax, ebx
mov byte [ebp - 4], bl
mov dword [esi + 0x2c], eax
jne 0x10023b35
push 0x1004e9b0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0x3a98
call fcn.100317ab
push 0xc
call fcn.100318d4
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x10023b53
call fcn.10029210
jmp 0x10023b55
xor eax, eax
cmp eax, ebx
mov byte [ebp - 4], bl
mov dword [esi + 0x15d0], eax
jne 0x10023b77
push 0x1004e9b0
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], 0x3a98
call fcn.100317ab
push 0x203
push ebx
add esi, 0x15d4
push esi
call fcn.10032630
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret