Function at 0xe9cd328
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword fs:[0x18]
push ebx
push esi
mov esi, dword [eax + 0xf18]
push edi
add esi, 0x2d8
call dword [0xe9e6cd4]
push 1
mov dword [ebp - 8], eax
call dword [0xe9e6cc4]
push eax
movzx eax, word [esi + 0x94]
push eax
call fcn.0e9c7357
mov ebx, eax
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x9c]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xb8]
mov edi, dword [esi + 0xc0]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xc4]
mov dword [ebp - 0x20], eax
mov ax, word [esi + 0xbc]
mov word [ebp - 0x18], ax
mov ax, word [esi + 0x98]
mov word [ebp - 0x12], ax
mov ax, word [esi + 0x94]
mov word [ebp - 0x14], ax
mov ax, word [esi + 0x90]
mov word [ebp - 0x10], ax
mov ax, word [esi + 0x8c]
mov word [ebp - 0xe], ax
mov ax, word [esi + 0xc8]
mov word [ebp - 0x16], ax
call fcn.0e9cca01
movzx eax, word [0xea1e816]
mov dword [esi + 0xbc], eax
mov ax, word [0xea1e814]
push ebx
mov word [esi + 0xb8], ax
call fcn.0e9ccc86
movzx eax, word [ebx + 0x30]
xor ecx, ecx
cmp ax, cx
jne 0xe9cd469
cmp word [ebx + 0x2e], cx
jne 0xe9cd469
movzx eax, word [0xea1e824]
mov dword [esi + 0xc8], eax
mov eax, dword [0xea1e81c]
mov ax, word [eax]
mov word [esi + 0xc4], ax
mov eax, dword [0xea1e81c]
mov dx, word [0xea1e81a]
sub word [eax], dx
mov dword [ebp - 4], 1
jmp 0xe9cd480
movzx eax, ax
mov dword [esi + 0xc8], eax
mov ax, word [ebx + 0x2e]
mov word [esi + 0xc4], ax
mov dword [ebp - 4], ecx
cmp word [ebp - 0x38], cx
je 0xe9cd4d0
mov eax, dword [ebp - 0x38]
push 1
push dword [ebp - 8]
add eax, eax
push dword [ebp - 0x16]
movzx eax, ax
sub word [esi + 0xc4], ax
mov dword [ebp - 0xc], eax
call fcn.0e9c7357
mov dword [ebp - 8], eax
movzx eax, word [esi + 0xc4]
push 0
push eax
movzx eax, word [esi + 0xc8]
push eax
call fcn.0e9c7357
movzx ecx, word [ebp - 0xc]
push ecx
push dword [ebp - 8]
push eax
call fcn.0e9757f0
add esp, 0xc
movzx eax, byte [ebp + 8]
sub eax, 0
je 0xe9cd501
dec eax
je 0xe9cd4f0
dec eax
jne 0xe9cd509
movzx eax, word [ebx + 0x2a]
push eax
movzx eax, word [ebx + 0x2c]
push eax
call fcn.0e9cd98f
jmp 0xe9cd509
movzx eax, word [ebx + 0x2a]
push eax
movzx eax, word [ebx + 0x2c]
push eax
call fcn.0e9cd8f2
jmp 0xe9cd509
push dword [ebp - 0x3c]
call fcn.0e9cd81d
call fcn.0e99ec02
cmp dword [ebp - 4], 0
je 0xe9cd523
mov eax, dword [0xea1e81c]
mov cx, word [0xea1e81a]
add word [eax], cx
push ebx
call fcn.0e9ccbef
call fcn.0e9cca5e
mov eax, dword [ebp - 0x40]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0xa4], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0xa8], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0xa0], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xb4], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc4], eax
movzx eax, word [ebp - 0x18]
mov dword [esi + 0xbc], eax
movzx eax, word [ebp - 0x12]
mov dword [esi + 0x98], eax
movzx eax, word [ebp - 0x14]
mov dword [esi + 0x94], eax
movzx eax, word [ebp - 0x10]
mov dword [esi + 0x90], eax
movzx eax, word [ebp - 0xe]
mov dword [esi + 0x8c], eax
movzx eax, word [ebp - 0x16]
and edi, 0xfffffffe
mov dword [esi + 0xc0], edi
pop edi
mov dword [esi + 0xc8], eax
pop esi
pop ebx
leave
ret 4