Function at 0x1005c240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10223415
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [ebp + 8]
push 0x102f06f0
mov byte [ebp - 0x29], al
mov dword [ebp - 0x58], 0x102f06d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x98]
mov ecx, dword [edi + 0x94]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1005c561
mov eax, dword [ecx]
test eax, eax
je 0x1005c561
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1005c561
mov esi, dword [ecx]
xor bl, bl
mov dword [ebp - 0x30], esi
mov ecx, dword [esi]
mov dword [edi + 0x90], ecx
cmp ecx, 3
jne 0x1005c2ea
mov eax, dword [edi + 0xc4]
shr eax, 1
test al, 1
je 0x1005c2e5
mov bl, 1
jmp 0x1005c2f3
cmp ecx, 3
je 0x1005c2f3
cmp ecx, 4
jne 0x1005c417
mov bh, bl
push 0x64
mov byte [ebp - 0x2a], bh
call dword [sym.imp.KERNEL32.dll_Sleep]
test byte [edi + 0xc4], 1
jne 0x1005c377
or dword [edi + 0xc4], 1
push 8
call fcn.101cff73
mov esi, eax
push 8
mov dword [esi], edi
mov dword [esi + 4], 0x1005c590
call fcn.101cff73
add esp, 8
mov ebx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x34], ebx
push 0
push 0
push ebx
push 0x10144400
push 0
movq qword [ebx], xmm0
push 0
mov dword [ebx], 0x1005beb0
mov dword [ebx + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x1005c36b
push 8
push ebx
mov dword [ebx], eax
mov dword [ebx + 4], eax
call fcn.101d02bd
add esp, 8
jmp 0x1005c371
mov dword [edi + 0xbc], eax
mov esi, dword [ebp - 0x30]
mov bh, byte [ebp - 0x2a]
call fcn.10022d10
mov ecx, dword [eax + 0x70]
mov eax, dword [edi + 0xc4]
shr eax, 1
test al, 1
lea eax, [ecx + 0x34]
jne 0x1005c391
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ecx + 4]
mov dword [ebp - 0x38], eax
movzx eax, byte [ebp - 0x29]
mov ecx, dword [ebp + eax*4 - 0x3c]
mov edx, ecx
mov dword [ebp - 0x34], ecx
cmp dword [ecx + 0x14], 8
jb 0x1005c3af
mov edx, dword [ecx]
cmp dword [esi + 0x38], 8
lea ecx, [esi + 0x24]
jb 0x1005c3bb
mov ecx, dword [esi + 0x24]
mov eax, dword [ebp - 0x34]
mov bl, bh
mov esi, dword [esi + 0x34]
cmp esi, dword [eax + 0x10]
jne 0x1005c414
test esi, esi
je 0x1005c3e3
nop dword [eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1005c414
add ecx, 2
add edx, 2
sub esi, 1
jne 0x1005c3d0
movzx eax, byte [ebp - 0x29]
mov esi, dword [ebp - 0x30]
xor eax, 1
mov eax, dword [ebp + eax*4 - 0x3c]
lea ecx, [esi + 0x24]
cmp ecx, eax
je 0x1005c40b
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1005c402
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10010360
or dword [edi + 0xc4], 4
jmp 0x1005c417
mov esi, dword [ebp - 0x30]
test bl, bl
je 0x1005c54b
cmp byte [ebp + 0xc], 0
jne 0x1005c50e
call fcn.10022d10
mov ebx, dword [eax + 0x38]
cmp byte [ebx + 0xb0], 0
je 0x1005c49a
add esi, 0xa0
lea eax, [ebx + 4]
cmp esi, eax
je 0x1005c45c
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1005c451
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.10010360
lea eax, [ebx + 0x1c]
lea edx, [esi + 0x18]
cmp edx, eax
je 0x1005c47b
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1005c470
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.10010360
lea eax, [ebx + 0x34]
add esi, 0x30
cmp esi, eax
je 0x1005c49a
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1005c48f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.10010360
push 0x16
push str.ShowContinueOfflineBar
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.1000aef0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 1
call fcn.10117da0
push 0
push 0
push 0
push eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x54]
mov esi, dword [ebx]
push eax
lea eax, [ebp - 0x28]
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x1024852c]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x70]
call fcn.1000ae90
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.1000ae90
lea ecx, [ebp - 0x28]
call fcn.1000ae90
push 6
push 0x10276dd0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.1000aef0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.1005bee0
lea ecx, [ebp - 0x54]
call fcn.1000ae90
jmp 0x1005c561
call fcn.10022d10
lea ecx, [ebp - 0x29]
mov byte [ebp - 0x29], 1
push ecx
push esi
mov ecx, dword [eax + 0x38]
call fcn.1011b4b0
push 0x102f06f0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret 8