Function at 0x421660
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], 0x4335f0
mov ecx, dword fs:[0]
mov dword [edi], ecx
mov dword fs:[0], edi
lea ecx, [esi + 0x36]
mov word [ecx], ax
lea edx, [esi + 0x34]
mov word [edx], ax
lea ebx, [esi + 0x38]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x50]
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]
push ebx
call fcn.004225c0
add esp, 0x14
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.00434b3e
mov ebx, dword [ebp + 0xc]
lea ecx, [esi + 0x18]
xor eax, eax
push eax
call fcn.00415e54
lea ecx, [esi + 0x2c]
mov dword [esi + 0x14], eax
mov dword [ecx], eax
lea edi, [esi + 0x98]
push 0xa0
push 0xff
push edi
call fcn.004ab560
mov edx, dword [ebp + 0x10]
add esp, 0xc
lea eax, [esi + 0x28]
mov dword [eax], edi
lea eax, [esi + 0x44]
xor ecx, ecx
mov dword [eax], ecx
lea eax, [esi + 3]
mov byte [eax], 1
lea eax, [esi + 0x13]
mov byte [eax], 0x45
test ebx, ebx
je 0x421750
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x421756
movzx eax, word [eax]
jmp 0x421787
mov al, 1
xor ebx, ebx
jmp 0x421796
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x148], 0xffffffff
mov ecx, edi
mov dword [esi + 4], edx
call dword [section..00cfg]
mov dword [esi + 0x148], 0
mov ecx, ebx
mov dword [esi + 8], ebx
call edi
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
xor ecx, ecx
cmp ax, 0xffff
sete al
je 0x421794
mov ecx, ebx
mov ebx, ecx
test edx, edx
mov dword [esi + 8], ebx
je 0x4217ad
mov byte [esi + 0xc], al
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x4217bd
movzx eax, word [eax]
jmp 0x4217ec
mov dword [esi + 4], 0
test al, al
je 0x421808
jmp 0x42196c
mov eax, dword [edx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x148], 0xffffffff
mov ecx, edi
mov dword [esi + 4], edx
call dword [section..00cfg]
mov dword [esi + 0x148], 0
mov ecx, dword [esi + 4]
call edi
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov dword [esi + 4], 0
cmp ax, 0xffff
sete al
je 0x4217ff
mov dword [esi + 4], edx
cmp byte [esi + 0xc], al
je 0x42196c
mov edi, dword [esi + 0x2c]
cmp byte [esi + 0x23], 0
js 0x42181b
lea ecx, [esi + 0x18]
call fcn.00412b90
jmp 0x42181e
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x14]
cmp edi, eax
jne 0x42189b
cmp byte [esi + 0x23], 0
js 0x421847
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.00412b90
mov dword [esi + 0xc], eax
cmp byte [esi + 0x23], 0
js 0x421852
mov ecx, edi
call fcn.00412b90
jmp 0x421855
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xc], eax
lea edi, [esi + 0x18]
jmp 0x421855
mov eax, dword [esi + 0x1c]
add eax, eax
mov ecx, edi
push 0
push eax
call fcn.00434b3e
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.00434b3e
mov ebx, dword [esi + 8]
lea ecx, [esi + 0x18]
push 0
call fcn.00415e54
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0xc]
add ecx, eax
mov dword [esi + 0x2c], ecx
movzx ecx, word [esi + 0x34]
movzx edx, word [esi + 0x36]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x4218b0
movzx eax, word [eax]
jmp 0x4218e5
mov word [esi + 0x32], dx
mov word [esi + 0xc], cx
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x148], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x148], 0
mov ecx, ebx
call edi
movzx ecx, word [esi + 0xc]
movzx edx, word [esi + 0x32]
movzx ecx, cx
movzx edx, dx
movzx eax, ax
lea edi, [esi + 0x50]
push edi
lea edi, [esi + 0x44]
push edi
lea edi, [esi + 0x28]
push edi
lea edi, [esi + 0x98]
push edi
lea edi, [esi + 0x38]
push edi
push ecx
push edx
lea ecx, [esi + 0x2c]
push ecx
push dword [esi + 0x14]
lea ecx, [esi + 0x13]
push ecx
lea ecx, [esi + 3]
push ecx
push eax
call fcn.00422728
add esp, 0x30
mov ebx, dword [esi + 8]
test eax, eax
jne 0x42196c
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x42193c
add eax, 2
mov dword [ebx + 0xc], eax
mov edx, dword [esi + 4]
jmp 0x42173f
mov eax, dword [ebx]
mov edi, dword [eax + 0x24]
mov dword [esi + 0x148], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x148], 0
mov ecx, ebx
call edi
mov ebx, dword [esi + 8]
mov edx, dword [esi + 4]
jmp 0x42173f
cmp byte [esi + 0x43], 0
js 0x42197c
lea ecx, [esi + 0x38]
call fcn.00412b90
jmp 0x42197f
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4219a9
cmp byte [esi + 3], 0
je 0x4219a9
mov eax, dword [esi + 0x28]
mov ecx, eax
lea edx, [esi + 0x98]
sub ecx, edx
cmp ecx, 0x9f
jg 0x4219a9
mov ecx, dword [esi + 0x44]
lea edx, [eax + 4]
mov dword [esi + 0x28], edx
mov dword [eax], ecx
push dword [ebp + 0x18]
push dword [esi + 0x2c]
push dword [esi + 0x14]
call fcn.00433398
add esp, 0xc
fstp qword [esi + 0x48]
mov ebx, dword [esi + 8]
movq xmm0, qword [esi + 0x48]
mov eax, dword [ebp + 0x1c]
movq qword [eax], xmm0
push dword [ebp + 0x18]
push dword [esi + 0x28]
lea eax, [esi + 0x98]
push eax
lea eax, [esi + 0x38]
push eax
call fcn.0042a014
add esp, 0x10
test ebx, ebx
je 0x4219f6
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x4219fc
movzx eax, word [eax]
jmp 0x421a24
mov dl, 1
xor ebx, ebx
jmp 0x421a30
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x148], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x148], 0
mov ecx, ebx
call edi
mov ebx, dword [esi + 8]
xor ecx, ecx
cmp ax, 0xffff
sete dl
cmove ebx, ecx
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebp + 8]
je 0x421a4d
mov ecx, edi
mov edi, eax
mov eax, dword [eax + 0xc]
cmp eax, dword [edi + 0x10]
je 0x421a53
movzx eax, word [eax]
mov edi, ecx
jmp 0x421a89
test dl, dl
jne 0x421a94
jmp 0x421a9a
mov byte [esi + 0x14], dl
mov eax, dword [edi]
mov ecx, dword [eax + 0x20]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x148], 0xffffffff
call dword [section..00cfg]
mov dword [esi + 0x148], 0
mov ecx, edi
mov dword [esi + 8], ebx
call dword [esi + 0xc]
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
mov dl, byte [esi + 0x14]
cmp ax, 0xffff
sete al
xor dl, al
jne 0x421a9a
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov dword [edi], ebx
cmp byte [esi + 0x23], 0
jns 0x421aad
push dword [esi + 0x18]
call fcn.004a7ee0
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x421abe
push dword [esi + 0x38]
call fcn.004a7ee0
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