Function at 0x54ed70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609a95
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
push 0
mov ecx, dword [ebp - 0x54]
add ecx, 4
call fcn.0056fd00
push 0xc
lea ecx, [ebp - 0x20]
call fcn.00578440
lea eax, [ebp - 0x20]
push eax
call fcn.00521cb0
mov ecx, eax
call fcn.00526a10
mov dword [ebp - 4], 0
push 0x6196c8
lea ecx, [ebp - 0xc0]
call fcn.004ef370
mov byte [ebp - 4], 1
push 0x61a23c
lea ecx, [ebp - 0xa8]
call fcn.004ef370
mov byte [ebp - 4], 2
push 0x6196d8
lea ecx, [ebp - 0xf0]
call fcn.004ef370
mov byte [ebp - 4], 3
push 0x6196d8
lea ecx, [ebp - 0xd8]
call fcn.004ef370
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
push ecx
push 0
lea ecx, [ebp - 0x20]
call fcn.0054b0f0
add eax, 0x48
mov ecx, eax
call fcn.004eed50
push eax
lea edx, [ebp - 0x120]
push edx
call fcn.004e3070
add esp, 8
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x6c]
push ecx
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00555320
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.0054f6d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.004ef480
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.004ef480
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call fcn.004ef480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.004ef480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.004ef480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.004ef480
lea ecx, [ebp - 0x20]
call fcn.00578dc0
movzx edx, al
test edx, edx
je 0x54ef12
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0052c5d0
jmp 0x54f0c9
call fcn.00521cb0
mov ecx, eax
call fcn.00526dc0
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x138]
push eax
call fcn.00521cb0
mov ecx, eax
call fcn.00526de0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x37c
call fcn.004eeb20
lea ecx, [ebp - 0x138]
call fcn.004eeb60
lea ecx, [ebp - 0x90]
call fcn.004ef990
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x394
call fcn.0057a7d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.004efaf0
lea ecx, [ebp - 0x38]
push ecx
call fcn.00521cb0
mov ecx, eax
call fcn.00526e20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.004eed70
movzx edx, al
test edx, edx
jne 0x54efc2
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x394
call fcn.004efb50
cmp dword [ebp - 0x78], 4
jne 0x54f08a
lea ecx, [ebp - 0x50]
call fcn.004eea00
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11]
call fcn.004e2500
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
add edx, 0x36c
push edx
lea ecx, [ebp - 0x11]
call fcn.005139f0
lea ecx, [ebp - 0x50]
call fcn.004eed50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x80], esp
push eax
push ecx
call fcn.004e3070
add esp, 8
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 0xb
call fcn.00521cb0
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.00526ef0
push 1
mov ecx, dword [ebp - 0x54]
add ecx, 4
call fcn.0055ab70
push 0
push 0x3e8
push 1
mov ecx, dword [ebp - 0x54]
add ecx, 4
call fcn.0056f9e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11]
call fcn.004e1450
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
call fcn.004eeb60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004eeb60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0052c5d0
jmp 0x54f0c9
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0x558960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004eeb60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0052c5d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret