Function at 0x494d10
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x713c5d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x7f9c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
xorps xmm0, xmm0
lea ecx, [edi + 0x18]
movups xmmword [edi + 8], xmm0
mov dword [ecx], 0
mov dword [edi + 0x1c], 0xf
mov dword [ebp - 0x14], ecx
mov byte [edi + 8], 0
movups xmmword [edi + 0x20], xmm0
lea ecx, [edi + 0x30]
mov dword [edi + 0x34], 0xf
mov dword [ecx], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
mov byte [edi + 0x20], 0
lea esi, [edi + 0x3c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], esi
push 0xc
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006debec
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
push 0
push bind
push 0
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
test eax, eax
je 0x494f73
push 0
push bind
push 0
push 0
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi + 0x10], eax
test eax, eax
je 0x494f85
push 0
push bind
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi + 0x14], eax
test eax, eax
je 0x494fa7
mov dword [esi + 8], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
lea esi, [edi + 0x9c]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x1c], esi
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006debec
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
lea eax, [edi + 0x20]
mov dword [edi], 0
mov dword [edi + 4], 0
cmp dword [eax + 0x14], 0xf
jbe 0x494f14
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0
mov byte [eax], 0
lea eax, [edi + 8]
mov byte [edi + 0x38], 0
cmp dword [eax + 0x14], 0xf
jbe 0x494f2f
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
mov byte [eax], 0
lea eax, [edi + 0x9c]
mov esi, dword [esi]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.0045fbc0
mov dword [esi + 4], esi
mov eax, edi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 0xa0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x34]
call fcn.0044cd90
push eax
mov byte [ebp - 4], 3
call fcn.0044bc90
push bind
push dword [esi + 0xc]
call fcn.0047e440
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0044cd90
push eax
mov byte [ebp - 4], 4
call fcn.0044bc90
push bind
push dword [esi + 0xc]
call fcn.0047e440
push bind
push dword [esi + 0x10]
call fcn.0047e440
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.0044cd90
push eax
mov byte [ebp - 4], 5
call fcn.0044bc90
int3