Function at 0x10060e8
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 1
push 0x56
push 0x1001824
lea ecx, [ebp - 0x2c]
call fcn.0100771f
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [esi + 0x28]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x100611f
push 0x10
pop ecx
mov byte [eax], bl
inc eax
dec ecx
jne 0x1006119
lea eax, [esi + 0x18]
cmp eax, ebx
je 0x100612f
push 0x10
pop ecx
mov byte [eax], bl
inc eax
dec ecx
jne 0x1006129
lea eax, [esi + 0x38]
cmp eax, ebx
je 0x100613f
push 0x10
pop ecx
mov byte [eax], bl
inc eax
dec ecx
jne 0x1006139
lea eax, [esi + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x1006172
cmp eax, 0xffffffff
je 0x1006172
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x48], ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0x48], eax
cmp eax, ebx
je 0x1006189
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100619d
call fcn.01008973
push 0x67
mov dword [ebp - 0x2c], eax
pop eax
mov word [ebp - 0x26], ax
jmp 0x10062cd
push 0x67
pop eax
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x28], ax
call edi
lea edi, [esi + 0x4c]
mov dword [ebp + 8], eax
mov eax, dword [edi]
cmp eax, ebx
je 0x10061c7
cmp eax, 0xffffffff
je 0x10061c7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
mov eax, dword [ebp + 8]
mov dword [edi], eax
cmp eax, ebx
je 0x10061dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10061e6
call fcn.01008973
push 0x6b
jmp 0x1006190
push 0x6b
pop eax
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x28], ax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea edi, [esi + 0x50]
mov dword [ebp + 8], eax
mov eax, dword [edi]
cmp eax, ebx
je 0x1006215
cmp eax, 0xffffffff
je 0x1006215
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
mov eax, dword [ebp + 8]
mov dword [edi], eax
cmp eax, ebx
je 0x100622b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1006237
call fcn.01008973
push 0x6f
jmp 0x1006190
push 0x6f
pop eax
push esi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x28], ax
call fcn.010044ae
push 0x72
mov dword [ebp - 0x2c], eax
cmp eax, ebx
pop eax
jl 0x1006194
lea ecx, [ebp - 4]
push ecx
push 0x1002000
mov word [ebp - 0x28], ax
mov eax, dword [esi]
push esi
call dword [eax]
push 0x75
mov dword [ebp - 0x2c], eax
cmp eax, ebx
pop eax
jl 0x1006194
mov word [ebp - 0x28], ax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 4]
push 0x1005fdc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
add esi, 0x54
mov edi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x10062a7
cmp eax, 0xffffffff
je 0x10062a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov dword [esi], edi
mov esi, edi
cmp esi, ebx
je 0x10062b4
cmp esi, 0xffffffff
jne 0x10062c0
call fcn.01008973
push 0x7a
jmp 0x1006190
push 0x7a
pop eax
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x10062da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.010078e6
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4