Function at 0x1005d660
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x10060130
lea eax, [esi + 0x80]
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
mov byte [esi + 0xe], 0
mov dword [esi + 0x88], 0
lea eax, [esi + 0x20]
push dword [ebp + 0xc]
push eax
call fcn.1006b4f0
add esp, 8
lea eax, [esi + 0x20]
mov dword [esi + 0x88], 0xc
push eax
call fcn.1006bcc0
add esp, 4
lea ecx, [esi + 0x30]
push eax
push ecx
call fcn.1006bbe0
add esp, 8
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x34]
mov dword [esi + 0x18], 0
mov byte [esi + 0xf], 1
mov dword [esi + 0x88], 0xd
lea ecx, [esi + 0x18]
lea eax, [ebp + 0x10]
lea edx, [esi + 0x60]
push 0
push ecx
push 0
push 0x15
push 0x200
push 1
mov dword [esi + 0x10], ebx
push ebx
mov dword [esi + 0x14], edi
push edi
push eax
push edx
call fcn.1006ec00
add esp, 0x28
mov edi, dword [ebp + 8]
cmp dword [esi + 0x60], 0
je 0x1005d7af
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
cmp dword [esi + 0x18], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
je 0x1005d75c
lea eax, [esi + 0x18]
mov dword [esi + 0x88], 0xc
push eax
call fcn.10047c70
mov edi, dword [ebp + 8]
add esp, 4
cmp dword [esi + 0x20], 0
je 0x1005d767
mov eax, dword [esi + 0x28]
inc dword [eax]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x88], 0xffffffff
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi], 1
lea eax, [ebp + 0x10]
mov dword [esi + 0x88], 0xffffffff
push eax
call fcn.10047c70
add esp, 4
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x18]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1005dc0d
mov dword [esi + 0x2c], eax
mov dword [esi + 0x88], 0xe
lea eax, [esi + 0x44]
lea ecx, [esi + 0x2c]
push 0
push 0
push eax
push 0
push ecx
lea eax, [esi + 0x60]
push eax
call fcn.1006f1e0
add esp, 0x18
cmp dword [esi + 0x60], 0
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
je 0x1005d833
mov eax, dword [esi + 0x64]
mov byte [esi + 0xf], 0
mov dword [esi + 0x88], 0xd
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x2c]
push eax
call fcn.10047c70
add esp, 4
mov edi, dword [ebp + 8]
cmp dword [esi + 0x20], 0
jne 0x1005d762
jmp 0x1005d767
test ecx, ecx
je 0x1005d86c
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
mov edi, dword [esi + 0x38]
shl eax, 2
mov dword [esi + 0x14], eax
mov dword [esi + 0x58], edx
nop dword [eax]
mov dword [esi + 0x10], ecx
push eax
push edi
push ebx
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
add esp, 0xc
add ebx, dword [esi + 0x58]
add edi, eax
dec ecx
jne 0x1005d850
mov dword [esi + 0x88], 0xe
push 0
lea eax, [esi + 0x2c]
push eax
lea eax, [esi + 0x60]
push eax
call fcn.1006f230
add esp, 0xc
cmp dword [esi + 0x60], 0
lea eax, [esi + 0x20]
jne 0x1005dc2a
push eax
call fcn.1006bcc0
add esp, 4
mov dword [eax + 4], 0xffffffff
mov eax, dword [esi + 0x2c]
cmp dword [esi + 0x20], 0
je 0x1005d8b3
mov ecx, dword [esi + 0x28]
inc dword [ecx]
mov byte [esi + 0xe], 0
mov dword [esi + 0x88], 0
push eax
call fcn.1006b7b0
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x88], 7
push dword [ebp + 0xc]
call fcn.1006b4e0
add esp, 4
or byte [eax + 4], 8
push 1
push 0xf
call fcn.1001d510
add esp, 8
test eax, eax
je 0x1005dc62
movq xmm0, qword [0x1011d2b6]
movsd xmm1, qword [0x1011d2af]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x38], 0xf
movq qword [eax + 7], xmm0
movsd qword [eax], xmm1
lea eax, [esi + 0x30]
push eax
push dword [ebp + 0xc]
call fcn.1005d400
add esp, 8
pxor xmm0, xmm0
lea eax, [esi + 0x60]
movdqa xmmword [esi + 0x60], xmm0
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.1006eb50
add esp, 0xc
cmp dword [esi + 0x30], 0
jne 0x1005dc73
push 0
push 0
push 0
lea eax, [ebp + 0x10]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.1006eb90
add esp, 0x14
cmp dword [esi + 0x30], 0
jne 0x1005dcab
mov eax, dword [esi + 0x34]
mov dword [esi + 0x20], 0
mov byte [esi + 0x1c], 1
mov dword [esi + 0x88], 9
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
push 0
lea eax, [esi + 0x20]
push eax
push 0
push 0x142
push 0x208
push 0x1d4c0
lea eax, [ebp + 0x10]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.1006ec60
add esp, 0x20
cmp dword [esi + 0x30], 0
mov eax, dword [ebp + 8]
je 0x1005da3d
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
cmp dword [esi + 0x20], 0
je 0x1005d9fc
lea eax, [esi + 0x20]
mov dword [esi + 0x88], 8
push eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
call fcn.10047c70
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax], 1
lea eax, [esi + 0x18]
mov dword [esi + 0x88], 4
push eax
call fcn.10047c70
add esp, 4
lea eax, [esi + 0x4c]
mov byte [esi + 0xe], 0
mov dword [esi + 0x88], 0
push eax
call fcn.10047c70
add esp, 4
jmp 0x1005db26
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1005dce0
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], 0x1388
mov dword [esi + 0x44], 0
mov byte [esi + 0x1d], 1
mov dword [esi + 0x88], 6
push 0
lea eax, [esi + 0x44]
push eax
push 0
push 0x65
push 0x208
push 0x4e20
lea eax, [ebp + 0x10]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.1006ecb0
add esp, 0x20
cmp dword [esi + 0x30], 0
mov eax, dword [ebp + 8]
je 0x1005db2e
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
cmp dword [esi + 0x44], 0
je 0x1005dacc
lea eax, [esi + 0x44]
mov dword [esi + 0x88], 5
push eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
call fcn.10047c70
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax], 1
lea eax, [esi + 0x50]
mov byte [esi + 0x1e], 1
mov dword [esi + 0x88], 2
push eax
call fcn.10047c70
add esp, 4
lea eax, [esi + 0x18]
mov byte [esi + 0x1f], 1
mov dword [esi + 0x88], 1
push eax
call fcn.10047c70
add esp, 4
lea eax, [esi + 0x4c]
mov byte [esi + 0xe], 0
mov dword [esi + 0x88], 0
push eax
call fcn.10047c70
add esp, 4
mov edi, dword [ebp + 8]
jmp 0x1005d783
mov eax, dword [esi + 0x44]
test eax, eax
je 0x1005dcfa
mov dword [esi + 0x20], eax
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 0x10]
movdqa xmm0, xmmword [esi + 0x60]
mov dword [esi + 0x24], 0x2710
mov dword [esi + 0x88], 3
mov dword [esi + 0x70], eax
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x10]
movdqa xmmword [esi + 0x30], xmm0
mov dword [esi + 0x44], eax
push 0
call fcn.1009ec50
add esp, 4
mov edi, dword [ebp + 8]
test eax, eax
je 0x1005dd14
movdqu xmm0, xmmword [eax]
mov edx, dword [esi + 0x10]
movd ecx, xmm0
pshufd xmm1, xmm0, 0x55
add ecx, 1
mov dword [eax], ecx
movd ecx, xmm1
adc ecx, 0
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x58]
movsd xmm1, qword [esi + 0x30]
movsd xmm2, qword [esi + 0x38]
movsd qword [edi + 0x38], xmm2
movsd qword [edi + 0x30], xmm1
movdqu xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0x1011d180
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], edx
mov dword [edi + 0x48], ecx
mov edx, dword [esi + 0x74]
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x4c], 0x1388
mov dword [edi + 0x50], edx
mov dword [edi + 0x54], 0x2710
mov dword [edi + 0x58], ecx
mov dword [edi], 0
jmp 0x1005d799
mov byte [esi + 0xf], 0
push 0x1011d564
push 0x2b
push 0x1011d1a0
call fcn.100f9870
add esp, 0xc
jmp 0x1005dd31
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x88], 0xf
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
lea eax, [esi + 0x50]
push 0x1011d574
push 0x1011d1f8
push eax
push 0x2b
push 0x1011d1cb
call fcn.100f9a60
add esp, 0x14
jmp 0x1005dd31
push 1
push 0xf
call fcn.100f97e0
add esp, 8
jmp 0x1005dd31
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x88], 0xb
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
push 0x1011d2c0
push 0x1011d1f8
lea eax, [esi + 0x20]
push eax
push 0x2b
push 0x1011d1cb
call fcn.100f9a60
add esp, 0x14
jmp 0x1005dd31
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x88], 0xa
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
push 0x1011d2d0
push 0x1011d1f8
lea eax, [esi + 0x20]
push eax
push 0x2b
push 0x1011d1cb
call fcn.100f9a60
add esp, 0x14
jmp 0x1005dd31
mov byte [esi + 0x1c], 0
push 0x1011d544
push 0x2b
push 0x1011d1a0
call fcn.100f9870
add esp, 0xc
jmp 0x1005dd31
mov byte [esi + 0x1d], 0
push 0x1011d554
push 0x2b
push 0x1011d1a0
call fcn.100f9870
add esp, 0xc
jmp 0x1005dd31
lea eax, [esi + 0x5c]
push 0x1011ca08
push 0x1011ca1c
push eax
push 0x46
push 0x1011c970
call fcn.100f9a60
add esp, 0x14
ud2