Function at 0x4138fc
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x746d5000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xa0]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push eax
push ebx
mov dword [ebp - 0xa4], 0
mov dword [edi], 0
call dword [0x746d7008]
push eax
call dword [0x746d7000]
test eax, eax
js 0x413c7b
push 0
push 0
lea eax, [ebp - 0x94]
push eax
push 0
push 0
push dword [ebp - 0xa0]
call dword [0x746d7014]
push eax
call dword [0x746d7000]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xa0]
push eax
call dword [0x746d7010]
push eax
call dword [0x746d7000]
mov eax, dword [ebp - 0xb0]
test eax, eax
js 0x413c7b
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x413c43
cmp word [eax], 0
je 0x413c43
lea eax, [ebp - 0xa4]
push eax
push ebx
call dword [0x746d7004]
test eax, eax
jne 0x4139ca
cmp dword [ebp - 0xa4], eax
jne 0x413c43
mov eax, dword [ebp - 0x94]
cmp word [eax], 0x5c
jne 0x4139e5
lea ebx, [ebx]
add eax, 2
cmp word [eax], 0x5c
je 0x4139dc
push eax
lea eax, [ebp - 0xac]
push eax
call dword [0x746d6070]
cmp word [ebp - 0xac], 2
jne 0x413a0d
mov eax, dword [ebp - 0xa8]
cmp word [eax], 0x2e
je 0x413c43
push 0x746d1990
lea eax, [ebp - 0xb8]
push eax
call dword [0x746d6070]
push 0x746d19c4
lea eax, [ebp - 0xc0]
push eax
call dword [0x746d6070]
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0xac]
movzx ebx, ax
mov eax, dword fs:[0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [0x746d6074]
mov dword [ebp - 0x98], eax
test eax, eax
jne 0x413a80
lea eax, [ebp - 0x94]
push eax
call dword [0x746d7010]
push eax
call dword [0x746d7000]
mov eax, 0xc000009a
jmp 0x413c7b
xor eax, eax
mov word [ebp - 0x9a], bx
mov word [ebp - 0x9c], ax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x9c]
push eax
call dword [0x746d606c]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x9c]
push eax
call dword [0x746d6078]
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x9c]
push eax
call dword [0x746d6078]
lea eax, [ebp - 0x94]
push eax
call dword [0x746d7010]
push eax
call dword [0x746d7000]
push 0x90
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xe0], 0x18
push 1
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xdc], 0
push eax
push 0x100001
push edi
mov dword [ebp - 0xd4], 0x40
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
call dword [0x746d605c]
push dword [ebp - 0x98]
mov ecx, dword fs:[0x30]
mov ebx, eax
push 0
push dword [ecx + 0x18]
call dword [0x746d6064]
mov dword [ebp - 0x98], 0
test ebx, ebx
js 0x413c39
push 0x44
lea eax, [ebp - 0x90]
mov dword [ebp - 0x48], 6
push eax
push 0x24
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], 2
push eax
push 0x1401a3
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
push 0
push dword [edi]
call dword [0x746d604c]
mov ebx, eax
mov dword [ebp - 0x20], 1
xor eax, eax
mov dword [ebp - 0x24], 6
push eax
push eax
push 0x24
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x28]
push eax
push 0x1401ac
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
push 0
push dword [edi]
call dword [0x746d604c]
cmp eax, 0x103
jne 0x413bfe
push 0
push 1
push dword [edi]
call dword [0x746d6060]
test ebx, ebx
pushal
std
cmp edi, 0x4c
mov fs, word [ecx - 1]
add byte [eax], al
add byte [eax], al
cmpsd dword [esi], dword es:[edi]
and dword [esi - 0x7c02a301], ecx
jmp esp
invalid
add byte [eax], al
add bl, bh
ror byte [ebx], 0
push eax
std
cmp edi, 0xffffffdc
mov fs, word [ecx - 1]
add byte [eax], al
add byte [eax], al
jmp 0x413c0e
invalid
add byte [edi], dh
and dword [esi - 0x7c02bf01], ecx
invalid