Function at 0x438c40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov dword [esi + 0x138], ebp
lea edi, [esi + 0x140]
mov dword [edi - 4], esp
xor eax, eax
dec eax
mov dword [edi + 8], eax
mov dword [edi + 4], 0x443750
mov ecx, dword fs:[0]
mov dword [edi], ecx
mov dword fs:[0], edi
lea ecx, [esi + 0x46]
mov word [ecx], ax
lea edx, [esi + 0x44]
mov word [edx], ax
lea ebx, [esi + 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
pcmpeqd xmm0, xmm0
lea eax, [esi + 0xf0]
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
push edx
push ecx
push eax
push dword [ebp + 0x14]
mov dword [esi + 0x14], ebx
push ebx
call fcn.004fc9f0
add esp, 0x14
xor eax, eax
lea ecx, [esi + 0x18]
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
xor edx, edx
cmp byte [ecx + 0xb], 0
sets dl
neg edx
or edx, 0xa
mov dword [edi + 8], eax
push eax
push edx
call fcn.004a0660
cmp byte [esi + 0x23], 0
lea eax, [esi + 0x18]
jns 0x438cf4
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x2c]
mov dword [esi + 0xc], eax
mov dword [ecx], eax
lea edi, [esi + 0x50]
push 0xa0
push 0xff
push edi
call fcn.004c9370
add esp, 0xc
lea eax, [esi + 0x28]
mov dword [esi + 0x3c], edi
mov dword [eax], edi
lea eax, [esi + 0x48]
mov dword [eax], 0
lea eax, [esi + 0xb]
mov byte [eax], 1
lea eax, [esi + 0x13]
mov byte [eax], 0x45
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.004f6e60
test al, al
jne 0x438e71
mov eax, dword [esi + 0x2c]
movzx edx, byte [esi + 0x23]
test dl, dl
jns 0x438d51
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0xc]
lea ecx, [ebx + edx]
cmp eax, ecx
jne 0x438da2
mov dword [esi + 0xc], edx
lea eax, [edx + edx]
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.004a0660
mov eax, dword [esi + 0x20]
mov ecx, 0x7fffffff
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.004a0660
cmp byte [esi + 0x23], 0
lea ebx, [esi + 0x18]
jns 0x438d9a
mov ebx, dword [esi + 0x18]
mov eax, dword [esi + 0xc]
add eax, ebx
mov dword [esi + 0x2c], eax
movzx ecx, word [esi + 0x44]
movzx edx, word [esi + 0x46]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov dword [esi + 0xc], ebx
je 0x438dbd
movzx eax, word [eax]
jmp 0x438df5
mov word [esi + 0x40], dx
mov word [esi + 0x42], cx
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x148], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x148], 0
mov ecx, edi
call ebx
mov ebx, dword [esi + 0xc]
movzx ecx, word [esi + 0x42]
movzx edx, word [esi + 0x40]
movzx ecx, cx
movzx edx, dx
movzx eax, ax
lea edi, [esi + 0xf0]
push edi
lea edi, [esi + 0x48]
push edi
lea edi, [esi + 0x28]
push edi
lea edi, [esi + 0x50]
push edi
lea edi, [esi + 0x30]
push edi
push ecx
push edx
lea ecx, [esi + 0x2c]
push ecx
push ebx
lea ecx, [esi + 0x13]
push ecx
lea ecx, [esi + 0xb]
push ecx
push eax
call fcn.004fcb60
add esp, 0x30
test eax, eax
jne 0x438e71
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x438e47
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x438d2f
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x148], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x148], 0
mov ecx, edi
call ebx
jmp 0x438d2f
mov edi, dword [esi + 0xc]
movzx eax, byte [esi + 0x3b]
test al, al
jns 0x438e7f
mov eax, dword [esi + 0x34]
test eax, eax
je 0x438ea6
cmp byte [esi + 0xb], 0
je 0x438ea6
mov eax, dword [esi + 0x28]
mov ecx, eax
lea edx, [esi + 0x50]
sub ecx, edx
cmp ecx, 0x9f
jg 0x438ea6
mov ecx, dword [esi + 0x48]
lea edx, [eax + 4]
mov dword [esi + 0x28], edx
mov dword [eax], ecx
push dword [ebp + 0x18]
push dword [esi + 0x2c]
push edi
call fcn.00443450
add esp, 0xc
fstp dword [esi + 0x4c]
movd xmm0, dword [esi + 0x4c]
mov eax, dword [ebp + 0x1c]
movd dword [eax], xmm0
mov edx, dword [esi + 0x28]
mov cl, byte [esi + 0x3b]
test cl, cl
js 0x438f43
movzx eax, cl
mov edi, edx
lea ebx, [esi + 0x50]
sub edi, ebx
cmp edi, 5
jl 0x438ee1
test eax, eax
jne 0x438f48
mov dword [esi + 0x148], 0
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.004f6e60
test al, al
je 0x438f01
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp byte [esi + 0x23], 0
jns 0x438f1a
push dword [esi + 0x18]
call fcn.004c5c98
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x438f2b
push dword [esi + 0x30]
call fcn.004c5c98
add esp, 4
mov eax, dword [esi + 0x140]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov eax, dword [esi + 0x34]
jmp 0x438ed1
lea eax, [edx - 4]
lea edi, [esi + 0x50]
cmp eax, edi
seta ch
cmp edi, edx
je 0x438f79
test ch, ch
je 0x438f79
lea ecx, [esi + 0x54]
mov edx, eax
mov edi, dword [ecx - 4]
mov ebx, dword [edx]
mov dword [ecx - 4], ebx
mov dword [edx], edi
add edx, 0xfffffffc
lea edi, [ecx + 4]
cmp ecx, edx
mov ecx, edi
jb 0x438f60
mov cl, byte [esi + 0x3b]
test cl, cl
jns 0x438f83
mov edx, dword [esi + 0x30]
mov dword [esi + 0x14], edx
lea edx, [esi + 0x50]
cmp eax, edx
jbe 0x438fd0
test cl, cl
jns 0x438f93
mov ecx, dword [esi + 0x34]
jmp 0x438f96
movzx ecx, cl
add ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x14]
movzx edx, byte [edx]
mov ebx, edx
dec bl
cmp bl, 0x7d
ja 0x438faf
mov edi, dword [esi + 0x3c]
cmp dword [edi], edx
jne 0x438fee
mov edx, ecx
mov edi, dword [esi + 0x14]
sub edx, edi
xor ebx, ebx
cmp edx, 2
setge bl
add edi, ebx
mov dword [esi + 0x14], edi
mov edx, dword [esi + 0x3c]
add edx, 4
mov dword [esi + 0x3c], edx
cmp edx, eax
jb 0x438f99
mov ecx, dword [esi + 0x14]
movzx ecx, byte [ecx]
mov edx, ecx
dec dl
cmp dl, 0x7d
ja 0x438ee1
mov eax, dword [eax]
dec eax
cmp eax, ecx
jb 0x438ee1
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
mov dword [esi + 0x148], 0
jmp 0x438ee1