Function at 0x10006382
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
sub esp, 0x40
mov ecx, dword [0x10023990]
mov eax, dword fs:[0x2c]
push ebx
push ebp
push esi
mov eax, dword [eax + ecx*4]
xor ebx, ebx
push edi
push 0x18
push ebx
push dword [esp + 0x5c]
add eax, 8
mov dword [esp + 0x20], eax
call fcn.10009c80
push 0x10
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.10009c80
add esp, 0x18
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x5c]
push ebx
push ebp
call fcn.1000255e
push edx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.10005a48
mov esi, eax
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
cmp byte [edi], 0
jne 0x1000663a
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], eax
call fcn.100025c7
mov ecx, dword [esp + 0x54]
push esi
push dword [esp + 0x18]
call fcn.10002583
lea eax, [esp + 0x1c]
push eax
push 1
push ebp
call fcn.1000151d
add esp, 0xc
test al, al
jne 0x10006635
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x14], esi
jg 0x1000663a
mov dword [esp + 0x2c], esi
test esi, esi
js 0x1000662b
cmp esi, ebp
jge 0x1000662b
mov al, byte [ebx + esi + 4]
cmp al, 0x5c
je 0x10006570
cmp al, 0x2f
je 0x10006570
test esi, esi
je 0x100065c7
cmp al, 0x2e
sete bl
jne 0x1000647e
test esi, esi
setg bl
test bl, bl
je 0x10006521
lea eax, [esp + 0x1c]
push eax
push 1
push ebp
call fcn.1000151d
add esp, 0xc
test al, al
jne 0x10006635
cmp esi, dword [esp + 0x1c]
setl bl
test bl, bl
je 0x10006521
lea eax, [esp + 0x20]
push eax
push 1
push esi
call fcn.1000151d
add esp, 0xc
test al, al
jne 0x10006635
mov ecx, dword [esp + 0x20]
test ecx, ecx
js 0x1000655f
cmp ecx, ebp
jge 0x1000655f
mov ebx, dword [esp + 0x5c]
mov al, byte [ecx + ebx + 4]
cmp al, 0x5c
je 0x1000651f
cmp al, 0x2f
je 0x1000651f
lea eax, [esp + 0x24]
push eax
push 1
push esi
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10006635
mov ecx, dword [esp + 0x24]
test ecx, ecx
js 0x1000655f
cmp ecx, ebp
jge 0x1000655f
cmp byte [ecx + ebx + 4], 0x2e
setne bl
test bl, bl
je 0x10006521
cmp dword [esp + 0x10], 0
sete bl
jmp 0x10006521
xor bl, bl
lea eax, [esp + 0x28]
push eax
push 1
push esi
call fcn.1000151d
add esp, 0xc
test al, al
jne 0x10006635
mov eax, dword [esp + 0x2c]
test bl, bl
mov esi, dword [esp + 0x28]
cmove eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], esi
jg 0x1000663a
mov ebx, dword [esp + 0x5c]
jmp 0x10006442
lea eax, [ebp - 1]
push eax
push ecx
call fcn.10004c00
pop ecx
pop ecx
jmp 0x1000663a
cmp esi, 1
jge 0x10006579
xor edx, edx
jmp 0x10006595
lea eax, [esp + 0x2c]
push eax
push 1
push esi
call fcn.1000151d
add esp, 0xc
test al, al
jne 0x10006635
mov edx, dword [esp + 0x2c]
push ebx
push ebp
xor ecx, ecx
call fcn.100044c1
mov ecx, dword [esp + 0x54]
push edx
push eax
call fcn.10002583
lea eax, [esp + 0x2c]
push eax
push 1
push esi
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10006635
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
jmp 0x100065cb
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp esi, eax
jl 0x100065e3
push ebx
push ebp
call fcn.10004626
mov ecx, dword [esp + 0x54]
lea ecx, [ecx + 8]
jmp 0x10006622
lea ecx, [esp + 0x2c]
push ecx
push 1
push eax
call fcn.1000151d
add esp, 0xc
test al, al
jne 0x10006635
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
call fcn.100044c1
mov esi, dword [esp + 0x54]
push edx
push eax
lea ecx, [esi + 8]
call fcn.10002583
mov ecx, dword [esp + 0x10]
push ebx
push ebp
call fcn.10004626
lea ecx, [esi + 0x10]
push edx
push eax
call fcn.10002583
jmp 0x1000663a
lea eax, [ebp - 1]
push eax
push esi
jmp 0x10006564
call fcn.10004e5b
mov eax, dword [esp + 0x5c]
mov bl, byte [edi]
mov byte [edi], 0
test eax, eax
je 0x10006656
test dword [eax], 0x40000000
jne 0x10006656
push eax
call fcn.100049f8
pop ecx
lea ecx, [esp + 0x30]
call fcn.100059c1
cmp byte [edi], 0
jne 0x10006666
mov byte [edi], bl
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc