Function at 0x592360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640c53
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx + 4]
lea edi, [ecx + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], edi
mov dword [eax + 0x4e4], 0
mov ecx, dword [edi]
cmp dword [ecx], 0
jne 0x5923c8
mov eax, dword [0x6a70c4]
mov dword [ecx + 4], eax
mov dword [ecx], 0x6a70c0
mov dword [0x6a70c4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
mov eax, dword [0x6ac680]
test eax, eax
je 0x592867
cmp dword [eax + 0xc4808d], 0
je 0x592867
cmp dword [eax + 0xc48089], 0
je 0x592867
cmp dword [eax + 0xc48095], 0
je 0x592867
cmp dword [eax + 0xc48091], 0
je 0x592867
mov esi, dword [edi]
cmp byte [esi + 0x4aa], 0
je 0x592460
cmp byte [esi + 0x234], 4
jne 0x592478
cmp dword [esi + 0x33d], 0
jne 0x592460
mov ecx, dword [esi + 0x25b]
xor edx, edx
call fcn.0047bd60
test eax, eax
je 0x5927cd
mov eax, dword [eax + 0x14]
test eax, eax
je 0x5927cd
mov eax, dword [eax + 0x26a]
test eax, eax
je 0x5927cd
mov eax, dword [eax + 0x204]
mov dword [esi + 0x33d], eax
push 0
push dword [0x6ac5ac]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5927b8
jmp 0x5924bf
cmp dword [esi + 0x33d], 0
jne 0x592460
lea ecx, [esi + 0x2d7]
xor edx, edx
call fcn.0047bde0
test eax, eax
je 0x5927e2
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x5927e2
mov eax, dword [eax + 0x26a]
test eax, eax
je 0x5927e2
mov ecx, dword [edi]
mov eax, dword [eax + 0x204]
mov dword [ecx + 0x33d], eax
jmp 0x592460
mov eax, dword [0x6ac680]
cmp dword [eax + 0xc48071], 0
jle 0x5924e1
mov eax, dword [eax + 0xc48079]
mov eax, dword [eax]
cmp dword [eax], 0xa
mov ecx, dword [eax + 8]
jl 0x59263a
push 0x44
call fcn.00606edf
mov edx, eax
add esp, 4
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 1
mov ecx, dword [0x6ac680]
mov ecx, dword [ecx + 0xc48089]
mov eax, dword [ecx + 4]
mov ecx, edx
push dword [eax + 0xae]
call fcn.005d7110
mov esi, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x5927f7
push 0x1f2
call fcn.00606edf
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov ecx, eax
push dword [esi + 0x3c]
call fcn.0058f880
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x59284a
mov ecx, esi
call fcn.005e0f90
test al, al
je 0x59284a
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6b1420]
cmp eax, dword [ecx + 4]
jg 0x59280c
mov bl, 1
nop dword [eax + eax]
mov eax, dword [0x6b1424]
lea ecx, [eax*2 - 1]
mov eax, dword [0x6ac680]
cmp dword [eax + 0xc48058], ecx
jl 0x5925a1
test bl, bl
je 0x592637
push 0x44
xor bl, bl
mov byte [ebp - 4], 4
call fcn.00606edf
mov ecx, eax
add esp, 4
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 5
mov eax, dword [0x6ac680]
mov eax, dword [eax + 0xc48089]
mov eax, dword [eax + 4]
push dword [eax + 0xae]
call fcn.005d7110
mov esi, eax
mov byte [ebp - 4], 4
test esi, esi
je 0x592633
push 0x1f2
call fcn.00606edf
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 6
mov ecx, eax
push dword [esi + 0x3c]
call fcn.0058f880
test eax, eax
je 0x59262b
lea eax, [esi + 0x10]
push eax
push 0
push esi
push 0x5e0ec0
push 0
push 0
call fcn.0061408e
add esp, 0x18
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
je 0x59262b
mov dword [ebp - 4], 0
jmp 0x592580
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov edx, dword [edi]
mov eax, dword [eax + 0xae]
mov dword [edx + 0x4e4], eax
push dword [edi]
call fcn.00590340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6a3c10
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x66
push eax
call fcn.006089ec
push 0x6a3c10
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xfffffb44
push eax
call fcn.006089ec
push 0x6a3c10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xfffffb44
push eax
call fcn.006089ec
push 0x6a3c10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x64
push eax
call fcn.006089ec
push 0x6b1420
call fcn.00606e68
add esp, 4
cmp dword [0x6b1420], 0xffffffff
jne 0x592576
mov byte [ebp - 4], 3
call fcn.005ed360
push 0x6b1420
mov dword [0x6b1424], eax
mov byte [ebp - 4], 0
call fcn.00606e17
add esp, 4
jmp 0x592576
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push 0x6a3c10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x65
push eax
call fcn.006089ec
push 0x6a3c10
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0xfffffff5
push eax
call fcn.006089ec
int3