Function at 0x485f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5873d0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x5e108c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
cmp byte [0x60c1b2], 0
je 0x485fa5
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, ecx
mov byte [0x60c1b2], 1
lea ecx, [ebp - 0x18]
call fcn.00480ea0
mov esi, eax
cmp esi, 0x6219a0
je 0x485ff7
mov ecx, 0x6219a0
call fcn.0045c6a0
mov ecx, dword [esi]
mov dword [0x6219a0], ecx
mov ecx, dword [esi + 4]
mov dword [0x6219a4], ecx
mov eax, dword [esi + 8]
mov dword [0x6219a8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x18]
call fcn.0045c6a0
mov edx, edi
lea ecx, [ebp - 0x18]
call fcn.00480ea0
mov esi, eax
cmp esi, 0x6219f4
je 0x48604a
mov ecx, 0x6219f4
call fcn.0045c6a0
mov ecx, dword [esi]
mov dword [0x6219f4], ecx
mov ecx, dword [esi + 4]
mov dword [0x6219f8], ecx
mov eax, dword [esi + 8]
mov dword [0x6219fc], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x18]
call fcn.0045c6a0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00480ea0
mov esi, eax
cmp esi, 0x621a18
je 0x48609e
mov ecx, 0x621a18
call fcn.0045c6a0
mov ecx, dword [esi]
mov dword [0x621a18], ecx
mov ecx, dword [esi + 4]
mov dword [0x621a1c], ecx
mov eax, dword [esi + 8]
mov dword [0x621a20], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x18]
call fcn.0045c6a0
call fcn.00485e00
mov ecx, 0x621710
call fcn.0048c650
cmp byte [0x60c1b2], 0
je 0x486204
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00480ea0
mov esi, eax
cmp esi, 0x6219ac
je 0x48610e
mov ecx, 0x6219ac
call fcn.0045c6a0
mov ecx, dword [esi]
mov dword [0x6219ac], ecx
mov ecx, dword [esi + 4]
mov dword [0x6219b0], ecx
mov eax, dword [esi + 8]
mov dword [0x6219b4], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x18]
call fcn.0045c6a0
lea ecx, [ebp - 0x54]
call fcn.00480cb0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x48612d
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.00483e40
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00480ea0
mov esi, eax
cmp esi, 0x621a24
je 0x486186
mov ecx, 0x621a24
call fcn.0045c6a0
mov ecx, dword [esi]
mov dword [0x621a24], ecx
mov ecx, dword [esi + 4]
mov dword [0x621a28], ecx
mov eax, dword [esi + 8]
mov dword [0x621a2c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x24]
call fcn.0045c6a0
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x4861a3
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040c0a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp eax, 0x10
jb 0x4861d1
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040c0a0
push 0x60c4f0
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0x486510
call fcn.00509db9
add esp, 0xc
mov dword [0x60c508], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret