Function at 0xe49d328
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 [0xe4b6cd4]
push 1
mov dword [ebp - 8], eax
call dword [0xe4b6cc4]
push eax
movzx eax, word [esi + 0x94]
push eax
call fcn.0e497357
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.0e49ca01
movzx eax, word [0xe4ee816]
mov dword [esi + 0xbc], eax
mov ax, word [0xe4ee814]
push ebx
mov word [esi + 0xb8], ax
call fcn.0e49cc86
movzx eax, word [ebx + 0x30]
xor ecx, ecx
cmp ax, cx
jne 0xe49d469
cmp word [ebx + 0x2e], cx
jne 0xe49d469
movzx eax, word [0xe4ee824]
mov dword [esi + 0xc8], eax
mov eax, dword [0xe4ee81c]
mov ax, word [eax]
mov word [esi + 0xc4], ax
mov eax, dword [0xe4ee81c]
mov dx, word [0xe4ee81a]
sub word [eax], dx
mov dword [ebp - 4], 1
jmp 0xe49d480
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 0xe49d4d0
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.0e497357
mov dword [ebp - 8], eax
movzx eax, word [esi + 0xc4]
push 0
push eax
movzx eax, word [esi + 0xc8]
push eax
call fcn.0e497357
movzx ecx, word [ebp - 0xc]
push ecx
push dword [ebp - 8]
push eax
call fcn.0e4457f0
add esp, 0xc
movzx eax, byte [ebp + 8]
sub eax, 0
je 0xe49d501
dec eax
je 0xe49d4f0
dec eax
jne 0xe49d509
movzx eax, word [ebx + 0x2a]
push eax
movzx eax, word [ebx + 0x2c]
push eax
call fcn.0e49d98f
jmp 0xe49d509
movzx eax, word [ebx + 0x2a]
push eax
movzx eax, word [ebx + 0x2c]
push eax
call fcn.0e49d8f2
jmp 0xe49d509
push dword [ebp - 0x3c]
call fcn.0e49d81d
call fcn.0e46ec02
cmp dword [ebp - 4], 0
je 0xe49d523
mov eax, dword [0xe4ee81c]
mov cx, word [0xe4ee81a]
add word [eax], cx
push ebx
call fcn.0e49cbef
call fcn.0e49ca5e
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