Function at 0x60036fd8
Capabilities:
Create thread

Disassembly:
mov eax, 0x60099f34
call fcn.60095eb0
sub esp, 0x228
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x1c0]
cmp eax, ebx
jne 0x60037003
mov eax, 0x80004005
jmp 0x60037287
mov eax, dword [esi + 0x1cc]
push 1
neg eax
sbb eax, eax
xor ecx, ecx
and eax, 2
cmp dword [esi + 0x1c8], ebx
pop edi
setne cl
or eax, ecx
mov dword [esi + 0x1d8], eax
mov eax, dword [esi + 0x1dc]
cmp eax, edi
jne 0x60037076
push 0x688
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
mov dword [ebp - 0x18], edi
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x60037068
push 0xffff
mov ecx, edi
call fcn.60039288
mov dword [edi], 0x600a09c4
mov dword [edi + 0x20], 0x600a098c
mov dword [edi + 0x684], ebx
jmp 0x6003706a
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x1c4], edi
jmp 0x600370a2
jle 0x600370a2
push 0x68c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov dword [ebp - 4], edi
je 0x60037096
mov ecx, eax
call fcn.60037321
jmp 0x60037098
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x1c4], eax
cmp dword [esi + 0x1c4], ebx
jne 0x600370b4
mov eax, 0x80070057
jmp 0x60037287
mov eax, dword [esi + 0x1dc]
mov dword [ebp - 0x14], ebx
cmp eax, 1
jle 0x6003711a
xor edi, edi
cmp eax, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
jle 0x600370ff
mov eax, dword [esi + 0x1e0]
mov eax, dword [eax + edi*4]
cmp eax, ebx
je 0x600370f6
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.6004088a
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x600370f6
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
inc edi
cmp edi, dword [esi + 0x1dc]
jl 0x600370ce
mov eax, dword [esi + 0x1c4]
push dword [ebp - 0x10]
add eax, 0x20
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
cmp dword [ebp - 0x14], ebx
jne 0x60037272
mov eax, dword [esi + 0x1c4]
mov ecx, 0x81
lea edi, [ebp - 0x232]
mov dword [eax + 0x684], esi
mov ax, word [0x600be1a0]
mov word [ebp - 0x234], ax
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x600be400]
mov edi, 0x208
lea ecx, [ebp - 0x234]
push edi
push ecx
push 0xefe6
push eax
call sub.WMMUtil.dll_Ordinal_107
mov eax, dword [esi + 0x1c4]
lea edx, [ebp - 0x234]
add eax, 0x20
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [0x600be400]
lea ecx, [ebp - 0x234]
push edi
push ecx
push 0xefe7
push eax
call sub.WMMUtil.dll_Ordinal_107
mov eax, dword [esi + 0x1c4]
lea edx, [ebp - 0x234]
add eax, 0x20
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
call dword [0x600bdd18]
mov edi, eax
cmp edi, ebx
jne 0x600371cf
mov eax, dword [0x600bf138]
cmp eax, ebx
je 0x600371cf
push dword [eax + 4]
call dword [0x600bdd14]
cmp eax, ebx
je 0x600371cf
mov eax, dword [0x600bf138]
mov edi, dword [eax + 4]
lea eax, [ebp - 0x2c]
mov byte [0x600be210], bl
push eax
push ebx
push esi
push 0x60037353
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [esi + 0x1c4]
add esp, 0x18
mov dword [ebp - 0x10], eax
push ebx
push edi
call fcn.6001a3f0
cmp eax, 1
je 0x6003723b
push 1
push 0x7f02
push 1
lea ecx, [ebp - 0x24]
call fcn.6000769f
push 0x7d0
mov byte [0x600be210], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x1c], bl
je 0x6003723b
push dword [ebp - 0x20]
call dword [0x600bdde0]
mov byte [ebp - 0x1c], bl
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esi + 0x1c4]
cmp edi, ebx
mov eax, dword [edi + 0x680]
mov dword [ebp - 0x14], eax
je 0x60037272
mov ecx, edi
call fcn.60039312
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e0], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret