Function at 0x528c40
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58243a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x28
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 8]
lea ecx, [ecx - 0x10]
call fcn.004305b0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebx + 0xc]
xorps xmm0, xmm0
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], 0
mov dword [edi + 0x10], eax
movups xmmword [edi + 0x14], xmm0
lea eax, [edi + 0x28]
push 2
push eax
call fcn.0053db51
lea eax, [edi + 0x58]
push 2
push eax
call fcn.0053db51
mov byte [ebp - 4], 5
lea esi, [edi + 0x88]
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00550cf4
add esp, 0x14
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
push 0x1d
xorps xmm0, xmm0
mov byte [edi + 0x9c], 0
push str.c3lYOMTAVrN0IagFz90OBRw2yRQ
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.0042cb00
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.004306a0
lea ecx, [ebp - 0x14]
call fcn.00446d80
add esp, 0x18
push dword [eax]
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x24], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x528d80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 8
call fcn.00550cf4
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], 0x5291c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
push ecx
push 0
push eax
push 0x4263b0
push 0
push 0
call fcn.0055bf98
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x20], edx
test edx, edx
je 0x528ea4
mov byte [ebp - 4], 7
cmp dword [edi + 0x18], 0
jne 0x528eb2
mov eax, dword [ebp - 0x1c]
push 8
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], eax
call fcn.00550cf4
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], 0x5297f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
push ecx
push 0
push eax
push 0x4263b0
push 0
push 0
call fcn.0055bf98
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x528ea4
mov byte [ebp - 4], 7
cmp dword [edi + 0x20], 0
jne 0x528eb7
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x1c], ecx
lea ecx, [edi + 0x14]
mov dword [edi + 0x20], eax
call fcn.0042d950
lea ecx, [edi + 0x1c]
call fcn.0042d950
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x528e72
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x528e68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x528ebc
push ecx
push edx
call fcn.00550d24
add esp, 8
mov edx, dword [ebx + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x528e8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 6
mov dword [ebp - 0x1c], 0
call fcn.0053b2f5
call fcn.00555db5
call fcn.00555db5
call fcn.00555bff
int3