Function at 0x4571d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e8bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x7cf070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp dword [ebx + 0x8100], 1
jne 0x457902
mov edi, dword [ebp + 8]
or esi, 0xffffffff
mov ecx, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp edi, 1
je 0x45752e
cmp edi, 4
jne 0x45724d
mov eax, dword [ebx + 0x189c]
mov eax, dword [eax + 4]
cmp eax, 1
jne 0x45723a
push dword [ebx + 0x808c]
jmp 0x457245
cmp eax, 2
jne 0x457247
push dword [ebx + 0x8094]
call ecx
inc dword [ebx + 0x806c]
mov ecx, dword [ebx + 0x806c]
test ecx, ecx
js 0x4574c2
cmp ecx, dword [ebx + 0x1888]
jge 0x4574c2
mov eax, dword [ebx + 0x1884]
lea eax, [eax + ecx*8]
mov dword [ebx + 0x189c], eax
cmp dword [eax + 4], 0
jle 0x4572a1
cmp dword [ebx + 0x8080], 0
jne 0x4572a1
push 0
push 0
push ebx
push 0x4580d0
push 0
push 0
call fcn.005f3cec
add esp, 0x18
mov dword [ebx + 0x8074], eax
mov eax, dword [ebx + 0x189c]
mov ecx, str.EHKOOOOO_bmt__7_HIUZ_fu_69HO_dpz17_BCLWdivxyy_2GSYco__378DP__mt__
mov eax, dword [eax]
mov dword [ebx + 0x1894], eax
push dword [eax + 0xc]
call fcn.0045f920
push eax
call fcn.00402470
add esp, 8
xor edi, edi
mov dword [ebp - 0x18], edi
nop word [eax + eax]
mov ecx, dword [ebx + 0x1894]
mov eax, dword [ecx + 0x60]
test eax, eax
js 0x4574a5
cmp eax, dword [ecx + 0x5c]
jge 0x4574a5
mov edx, dword [ecx + eax*4 + 0x64]
inc eax
mov dword [ecx + 0x60], eax
test edx, edx
js 0x4574a0
cmp edx, dword [0x7e8b10]
jge 0x4574a0
mov eax, dword [0x7e8b0c]
lea ecx, [eax + edx*8]
lea eax, [ebp - 0x14]
push eax
call fcn.004408e0
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x1894]
mov eax, dword [eax + 0x1c]
sub eax, 0x10
push eax
call fcn.004050c0
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
mov eax, dword [0x7e80d0]
add eax, 0xfffffff0
push eax
call fcn.004050c0
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
add eax, 0x18ac
mov ebx, dword [ebp - 0x14]
push dword [ebx - 0xc]
push ebx
push eax
call fcn.005f42e8
mov ecx, dword [ebx - 0xc]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + ecx*2 + 0x18ac], dx
add eax, 0x593c
push dword [edi - 0xc]
push edi
push eax
call fcn.005f42e8
mov ecx, dword [edi - 0xc]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + ecx*2 + 0x593c], dx
add eax, 0x5d4c
push dword [esi - 0xc]
push esi
push eax
call fcn.005f42e8
mov ecx, dword [esi - 0xc]
xor edx, edx
mov eax, dword [ebp - 0x10]
add esp, 0x2c
mov word [eax + ecx*2 + 0x5d4c], dx
mov ecx, dword [eax + 0x18a4]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x4573d5
add eax, 0x18a8
push eax
call ecx
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18a4]
mov dword [eax + 0x8070], edx
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4573f2
push edx
call eax
add esp, 4
test eax, eax
jne 0x457455
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457410
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45742b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea edx, [ebx - 0x10]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
mov ebx, dword [ebp - 0x10]
test eax, eax
jg 0x4572d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4572d0
mov ebx, dword [ebp - 0x10]
push 0
push 0
push ebx
push 0x457920
push 0
push 0
call fcn.005f3cec
add esp, 0x18
mov dword [ebx + 0x18a0], eax
mov edi, 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
call fcn.004025b0
lea ecx, [ebp - 0x20]
call fcn.004025b0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004025b0
or esi, 0xffffffff
jmp 0x4574a7
call fcn.004b03fc
xor edi, edi
test edi, edi
mov eax, 1
cmovne eax, dword [ebp + 8]
mov edi, eax
xor eax, eax
cmp dword [ebp - 0x18], eax
cmovne eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
jmp 0x457525
mov ecx, str.AFMcno__ELUYfpqtu__44__NS_dnx_..LQR_hw____9CJRY_bijsy_.348ET
mov dword [ebx + 0x8100], 0
call fcn.0045f920
push eax
call fcn.00402470
add esp, 4
cmp dword [ebx + 0x8080], 0
jne 0x457506
push 0
push 0
push ebx
push 0x4580d0
push 0
push 0
call fcn.005f3cec
add esp, 0x18
mov dword [ebx + 0x8074], eax
jmp 0x457525
cmp dword [ebx + 0x8084], 0
jne 0x457525
mov ecx, str.JPReorr__899CLZeqz7FGTkz__77EESafn_68_HOUX_fgkvz__7AJQU_jw4
call fcn.0045f920
push eax
lea ecx, [ebx + 0x1720]
call fcn.004ad9d3
cmp edi, 1
jne 0x457902
mov edi, dword [ebp + 0xc]
cmp edi, 0xffffffff
jne 0x4575ba
mov ecx, str.HMQkr_4_KOQU_akz4AFIUXbo_..9::_JLSV_ot_4FORWZcmq_3BOTVW_h
mov dword [ebx + 0x8100], 0
call fcn.0045f920
push eax
call fcn.00402470
add esp, 4
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x45756c
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
push 0xffffffffffffffff
mov ecx, str.LLOelv__6AO_bbekz__4_Mhhv5_GGMYeo__4:ITjt7__CMRT_hs__38
mov dword [ebp - 4], 3
call fcn.0045f920
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00402960
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x457902
mov ecx, dword [edx]
push edx
jmp 0x4578fd
mov eax, dword [ebx + 0x18a4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4575d2
push dword [ebx + 0x8070]
call eax
add esp, 4
mov eax, dword [ebx + 0x18a4]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4575ea
push dword [ebx + 0x8070]
call eax
add esp, 4
mov ecx, dword [ebx + 0x806c]
test ecx, ecx
js 0x4574a0
cmp ecx, dword [ebx + 0x1888]
jge 0x4574a0
mov eax, dword [ebx + 0x1884]
mov eax, dword [eax + ecx*8]
mov dword [ebx + 0x1894], eax
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x457628
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 4
cmp edi, 1
je 0x4577fe
mov ecx, dword [ebx + 0x1894]
mov eax, dword [ecx + 0x60]
test eax, eax
js 0x457811
cmp eax, dword [ecx + 0x5c]
jge 0x457811
mov edx, dword [ecx + eax*4 + 0x64]
inc eax
mov dword [ecx + 0x60], eax
test edx, edx
js 0x4574a0
cmp edx, dword [0x7e8b10]
jge 0x4574a0
mov eax, dword [0x7e8b0c]
lea ecx, [eax + edx*8]
lea eax, [ebp + 8]
push eax
call fcn.004408e0
mov byte [ebp - 4], 5
mov eax, dword [ebx + 0x1894]
mov eax, dword [eax + 0x1c]
sub eax, 0x10
push eax
call fcn.004050c0
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 6
mov eax, dword [0x7e80d0]
add eax, 0xfffffff0
push eax
call fcn.004050c0
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 7
add eax, 0x18ac
mov ebx, dword [ebp + 8]
push dword [ebx - 0xc]
push ebx
push eax
call fcn.005f42e8
mov ecx, dword [ebx - 0xc]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + ecx*2 + 0x18ac], dx
add eax, 0x593c
push dword [edi - 0xc]
push edi
push eax
call fcn.005f42e8
mov ecx, dword [edi - 0xc]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + ecx*2 + 0x593c], dx
add eax, 0x5d4c
push dword [esi - 0xc]
push esi
push eax
call fcn.005f42e8
mov ecx, dword [esi - 0xc]
xor edx, edx
mov eax, dword [ebp - 0x10]
add esp, 0x2c
mov word [eax + ecx*2 + 0x5d4c], dx
mov ecx, dword [eax + 0x18a4]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x457745
add eax, 0x18a8
push eax
call ecx
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18a4]
mov dword [eax + 0x8070], edx
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x457762
push edx
call eax
add esp, 4
test eax, eax
jne 0x4577c2
lea edx, [esi - 0x10]
mov byte [ebp - 4], 6
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457780
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45779b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
lea edx, [ebx - 0x10]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
mov ebx, dword [ebp - 0x10]
test eax, eax
jg 0x457643
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x457643
mov ebx, dword [ebp - 0x10]
push 0
push 0
push ebx
push 0x457920
push 0
push 0
call fcn.005f3cec
add esp, 0x18
mov dword [ebx + 0x18a0], eax
lea ecx, [ebp - 0x20]
call fcn.004025b0
lea ecx, [ebp - 0x1c]
call fcn.004025b0
lea ecx, [ebp + 8]
call fcn.004025b0
jmp 0x4578e0
mov ecx, str.OSYffffft___.6DKSVcmv_8_FU_iknp__668AKRSZagt_69_IUcprvw__8__MMV_
call fcn.0045f920
push eax
lea ecx, [ebp + 0xc]
call fcn.00404dc0
mov eax, dword [ebx + 0x1894]
cmp dword [eax + 0x3c], 0
je 0x45787e
mov esi, dword [ebp + 0xc]
mov ecx, str.DMMZZZZZhiorry_..44_Nes.GJU_kprz__1789BJVY_kkr_89___LPest__BHIIQY_en49_HPWZilru__24_FRXXXY_
push esi
mov dword [ebx + 0x8100], 0
call fcn.0045f920
push eax
call fcn.00402470
add esp, 8
mov ecx, str.IUVVVVVVXfir4_MW_ktwy_6___IKP_ijsxy
push 0xa
call fcn.0045f920
push ecx
mov edi, esp
push eax
mov eax, dword [ebx + 0x1894]
add eax, 8
push eax
push edi
call fcn.00404720
mov edx, 1
add esp, 0xc
lea ecx, [edx + 0xf]
call fcn.004243d0
add esp, 8
mov ecx, ebx
push 0
push 1
call fcn.00454aa0
jmp 0x4578e3
mov eax, dword [ebx + 0x189c]
mov eax, dword [eax + 4]
cmp eax, 1
jne 0x457894
push dword [ebx + 0x808c]
jmp 0x45789f
cmp eax, 2
jne 0x4578a6
push dword [ebx + 0x8094]
mov eax, dword [sym.imp.KERNEL32.dll_SetEvent]
call eax
mov eax, dword [ebx + 0x189c]
cmp dword [eax + 4], 0
jle 0x4578c8
mov ecx, str.FOVgpptu_3AEOZdehky__AGOS__fhv_4_HN_eqrx__3_CKZekr_.0_JYabbm_0
call fcn.0045f920
push eax
lea ecx, [ebx + 0x1720]
call fcn.004ad9d3
inc dword [ebx + 0x806c]
push 0
push 0
push 0x4c8
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457902
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8