Function at 0x632ae0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x730396
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 0x44
mov dword [esp + 0x1c], ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x30], 0
je 0x632b58
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x30], 1
je 0x632b48
mov ecx, eax
call fcn.0047e1e0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.006313c0
mov eax, esi
jmp 0x632b5a
xor eax, eax
mov ecx, esi
mov dword [esi + 8], eax
call fcn.006313c0
mov eax, esi
jmp 0x632b5a
xor eax, eax
mov edx, dword [esp + 0x38]
mov ebp, dword [edx]
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
mov dword [esp + 0x30], ecx
lea edx, [eax + 0x1c]
xor eax, eax
lea edi, [ebp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
mov al, byte [ebp + 0x14]
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x14], al
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x3c], eax
mov dl, byte [ebp + 0x40]
mov eax, dword [esp + 0x10]
mov byte [eax + 0x40], dl
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], ecx
call fcn.0047e710
test eax, eax
mov ebx, dword [esp + 0x3c]
je 0x632c77
test ebx, ebx
je 0x632c77
mov esi, dword [eax + 8]
mov ecx, dword [esi + 0xc]
cmp ebx, ecx
jl 0x632c1c
mov edx, dword [esp + 0x10]
add dword [edx + 0xc], ecx
mov edx, dword [ebp + 0xc]
sub ebx, ecx
mov ecx, dword [esi + 0xc]
sub edx, ecx
mov ecx, dword [esp + 0x14]
push eax
mov edi, esi
mov dword [ebp + 0xc], edx
call fcn.0047e610
jmp 0x632c59
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esi + 8]
mov edi, eax
mov dword [edi + 8], edx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi]
mov eax, dword [esp + 0x40]
mov dword [edi], ecx
mov edx, dword [esi + 0x10]
mov dword [edi + 0x10], edx
mov dword [edi + 0xc], eax
sub dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
add dword [eax + 0xc], ebx
mov eax, dword [ebp + 0xc]
sub eax, ebx
add esp, 4
mov dword [ebp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
push edi
call fcn.0047e360
mov ecx, dword [esp + 0x14]
call fcn.0047e720
test eax, eax
jne 0x632be8
mov eax, dword [ebp + 0x3c]
cmp eax, 2
je 0x632de0
cmp eax, 0x10
je 0x632de0
cmp eax, 8
je 0x632de0
xor ecx, ecx
mov cx, word [0x7d3098]
push ecx
call fcn.00595370
mov esi, eax
add esp, 4
test esi, esi
je 0x632d15
mov dx, word [0x7d3072]
push 0
push 0
mov word [esp + 0x1c], dx
mov eax, dword [esp + 0x1c]
push 8
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00581440
mov edi, dword [eax]
mov ax, word [0x7d3024]
mov edx, dword [ebp]
mov ebx, dword [ebp + 4]
push 0
push 0
mov word [esp + 0x1c], ax
mov ecx, dword [esp + 0x1c]
push 8
mov dword [esp + 0x28], edx
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00581440
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push 1
push ecx
push ebx
push edx
push eax
mov ecx, edi
jmp 0x632ddb
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
mov eax, dword [ebp + 0x3c]
mov edi, dword [ebp + 4]
mov ebx, dword [ebp]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x632d39.5
xor ecx, ecx
mov cl, byte [eax + 0x632fa4]
jmp dword [ecx*4 + 0x632f94]
mov ecx, dword [0x7c67dc]
call fcn.0040ff20
mov eax, dword [eax + 0x560]
add eax, 0x3c
jmp 0x632dd2
xor edx, edx
mov dx, word [0x7d3098]
push edx
call fcn.00595370
add esp, 4
test eax, eax
je case.0x632d39.4
mov cx, word [0x7d3072]
push 0
mov word [esp + 0x40], cx
mov edx, dword [esp + 0x40]
push 0
push 8
push edx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.00581440
mov eax, dword [eax]
jmp 0x632dd2
xor edx, edx
mov dx, word [0x7d2704]
push edx
call fcn.00595370
add esp, 4
test eax, eax
je case.0x632d39.5
mov cx, word [0x7d2822]
push 0
mov word [esp + 0x40], cx
mov edx, dword [esp + 0x40]
push 0
push 8
push edx
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00581440
mov eax, dword [eax]
jmp 0x632dd2
xor eax, eax
push 1
push esi
push edi
push ebx
push 0
mov ecx, eax
call fcn.00499550
cmp dword [ebp + 0xc], 1
jge 0x632e00
mov esi, dword [esp + 0x18]
push 0
push ebp
mov ecx, esi
call fcn.00632330
mov edx, dword [esp + 0x38]
mov dword [edx], 0
jmp 0x632e04
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x632f7c
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
mov edi, eax
jae 0x632ee8
mov edx, dword [esi + 4]
test edx, edx
je 0x632e3c
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x632e41
mov ecx, 1
test edx, edx
jne 0x632e49
xor eax, eax
jmp 0x632e4e
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x38], eax
jge 0x632e5a
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [esi + 4]
add esp, 4
cmp ebx, edi
mov dword [esp + 0x3c], eax
mov ebp, eax
je 0x632e8b
push ebx
push ebp
call fcn.00661170
add ebx, 4
add esp, 8
add ebp, 4
cmp ebx, edi
jne 0x632e77
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00661170
mov ecx, dword [esi + 8]
add esp, 8
add ebp, 4
push ebp
push ecx
push edi
mov ecx, esi
call fcn.00421ed0
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.0058d230
mov ecx, dword [esi + 4]
push ecx
call fcn.00727530
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
lea eax, [edi + edx*4]
add esp, 4
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.00661120
lea ecx, [edi + eax*4 + 4]
mov dword [esi + 8], ecx
mov dword [esi + 4], edi
jmp 0x632f78
mov edx, eax
sub edx, edi
sar edx, 2
cmp edx, 1
jae 0x632f38
lea ecx, [edi + 4]
push ecx
push eax
push edi
mov ecx, esi
call fcn.00421ed0
mov eax, dword [esi + 8]
mov ecx, eax
lea edx, [esp + 0x10]
push edx
sub ecx, edi
sar ecx, 2
mov edx, 1
sub edx, ecx
push edx
push eax
mov ecx, esi
call fcn.00661140
mov ecx, dword [esi + 8]
cmp edi, ecx
mov eax, edi
je 0x632f74
mov edx, dword [esp + 0x10]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x632f29
jmp 0x632f74
push eax
push eax
add eax, 0xfffffffc
push eax
mov ecx, esi
call fcn.00421ed0
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x632f5e
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x632f4f
lea ecx, [edi + 4]
cmp edi, ecx
mov eax, edi
je 0x632f74
mov edx, dword [esp + 0x10]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x632f67
add dword [esi + 8], 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8