Function at 0x100117b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov esi, esp
mov dword [esi + 0x108], ebp
mov eax, dword [ebp + 0x10]
lea edi, [esi + 0x110]
mov dword [edi - 4], esp
xor ebx, ebx
dec ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], 0x10022dc0
mov edx, dword fs:[0]
mov dword [edi], edx
mov edx, dword [ebp + 0xc]
mov dword fs:[0], edi
mov dword [esi + 0x14], edx
mov dword [esi + 0x3c], eax
mov dl, 0xff
lea ecx, [esi + 0x30]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
lea eax, [esi + 0xb]
mov byte [eax], dl
lea ebx, [esi + 0xf]
mov byte [ebx], dl
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x40]
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov edx, dword [ebp + 0x14]
push ebx
lea ebx, [esi + 0xb]
push ebx
push eax
call fcn.10013f80
add esp, 0xc
xor eax, eax
lea ecx, [esi + 0x18]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [edi + 8], eax
push eax
push 0xa
call fcn.100235f4
cmp byte [esi + 0x23], 0
lea eax, [esi + 0x18]
jns 0x10011855
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x28]
mov dword [esi + 0x10], eax
mov dword [ecx], eax
lea edi, [esi + 0x68]
push 0xa0
push 0xff
push edi
call fcn.10028220
add esp, 0xc
lea eax, [esi + 0x24]
mov dword [eax], edi
lea eax, [esi + 0x2c]
mov dword [eax], 0
lea eax, [esi + 0xa]
mov byte [eax], 1
lea eax, [esi + 0xe]
mov byte [eax], 0x45
mov al, byte [esi + 0xf]
mov byte [esi + 0xd], al
mov al, byte [esi + 0xb]
mov byte [esi + 0xc], al
lea ecx, [esi + 0x14]
lea eax, [esi + 0x3c]
push eax
call fcn.100029a2
test al, al
jne 0x1001197c
movzx edx, byte [esi + 0x23]
test dl, dl
mov ecx, dword [esi + 0x10]
jns 0x100118bb
mov edx, dword [esi + 0x1c]
lea eax, [ecx + edx]
cmp dword [esi + 0x28], eax
jne 0x1001190a
mov dword [esi + 0x10], edx
lea eax, [edx + edx]
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.100235f4
mov eax, dword [esi + 0x20]
mov ecx, SysReAllocString
and eax, ecx
dec eax
cmp byte [esi + 0x23], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.100235f4
cmp byte [esi + 0x23], 0
lea ecx, [esi + 0x18]
jns 0x10011902
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
add eax, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1001191d
movzx eax, byte [eax]
jmp 0x10011922
mov eax, dword [ecx]
call dword [eax + 0x20]
movsx edi, byte [esi + 0xd]
movsx ebx, byte [esi + 0xc]
movsx ecx, al
lea edx, [esi + 0xa]
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x2c]
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x30]
push eax
push edi
push ebx
lea eax, [esi + 0x28]
push eax
mov edi, dword [esi + 0x10]
push edi
lea eax, [esi + 0xe]
push eax
call fcn.10014064
add esp, 0x28
test eax, eax
jne 0x1001197f
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10011972
inc eax
mov dword [ecx + 0xc], eax
jmp 0x10011899
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x10011899
mov edi, dword [esi + 0x10]
movzx eax, byte [esi + 0x3b]
test al, al
jns 0x1001198a
mov eax, dword [esi + 0x34]
test eax, eax
je 0x100119b1
cmp byte [esi + 0xa], 0
je 0x100119b1
mov eax, dword [esi + 0x24]
mov ecx, eax
lea edx, [esi + 0x68]
sub ecx, edx
cmp ecx, 0x9f
jg 0x100119b1
mov ecx, dword [esi + 0x2c]
lea edx, [eax + 4]
mov dword [esi + 0x24], edx
mov dword [eax], ecx
mov edx, dword [esi + 0x28]
mov ecx, edi
push dword [ebp + 0x18]
call fcn.1002291d
add esp, 4
mov eax, dword [ebp + 0x1c]
movd dword [eax], xmm0
lea ecx, [esi + 0x30]
lea edx, [esi + 0x68]
push dword [ebp + 0x18]
push dword [esi + 0x24]
call fcn.1001b399
add esp, 8
lea ecx, [esi + 0x14]
lea eax, [esi + 0x3c]
push eax
call fcn.100029a2
test al, al
je 0x100119f2
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov eax, dword [esi + 0x14]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp byte [esi + 0x23], 0
jns 0x10011a0b
push dword [esi + 0x18]
call fcn.10024ac9
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x10011a1c
push dword [esi + 0x30]
call fcn.10024ac9
add esp, 4
mov eax, dword [esi + 0x110]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18