Function at 0x5581b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x8c]
call fcn.00558440
push 0x1c
call fcn.006135e5
add esp, 4
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x558200
mov ecx, dword [ebp - 0x90]
call fcn.00557cf0
mov dword [ebp - 0x94], eax
jmp 0x55820a
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.00557e10
mov edx, dword [ebp + 8]
add edx, 0x208
push edx
mov ecx, dword [ebp - 0x80]
call fcn.00557e50
lea ecx, [ebp + 0xc]
call fcn.0040d3c0
push eax
mov ecx, dword [ebp - 0x80]
call fcn.00557e70
lea ecx, [ebp + 0x10]
call fcn.0040d3c0
push eax
mov ecx, dword [ebp - 0x80]
call fcn.00557dd0
lea ecx, [ebp + 0x14]
call fcn.0040d3c0
push eax
mov ecx, dword [ebp - 0x80]
call fcn.00557ed0
lea ecx, [ebp + 0x18]
call fcn.0040d3c0
push eax
mov ecx, dword [ebp - 0x80]
call fcn.00557f10
call fcn.0052ccf0
mov ecx, eax
call fcn.005377a0
mov dword [ebp - 0x84], eax
call fcn.0052ccf0
mov ecx, eax
call fcn.005377c0
mov dword [ebp - 0x88], eax
push 0x6a01b8
lea eax, [ebp + 0xc]
push eax
call fcn.00429e60
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x5582ff
lea ecx, [ebp + 0x10]
call fcn.00422c50
push eax
lea ecx, [ebp - 0x1c]
call fcn.004219c0
cmp dword [ebp - 0x84], 0
je 0x5582da
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x84]
call fcn.0060b9f0
cmp dword [ebp - 0x88], 0
je 0x5582f2
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.0060ca50
lea ecx, [ebp - 0x1c]
call fcn.00421c50
jmp 0x558383
lea ecx, [ebp - 0x7c]
call fcn.00421b40
lea ecx, [ebp + 0x14]
call fcn.00422c50
push eax
lea ecx, [ebp - 0x4c]
call fcn.00421ef0
lea ecx, [ebp + 0xc]
call fcn.00422c50
push eax
lea ecx, [ebp - 0x7c]
call fcn.00421ef0
lea ecx, [ebp + 0x18]
call fcn.00422c50
push eax
lea ecx, [ebp - 0x34]
call fcn.00421ef0
lea ecx, [ebp + 0x10]
call fcn.00422c50
push eax
lea ecx, [ebp - 0x64]
call fcn.00421ef0
cmp dword [ebp - 0x84], 0
je 0x558363
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.0060bb90
cmp dword [ebp - 0x88], 0
je 0x55837b
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.0060ca80
lea ecx, [ebp - 0x7c]
call fcn.00421cc0
push 0
push 0
mov eax, dword [ebp - 0x80]
push eax
push 0x558e30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xa4], 0x16
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x558406
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0x98]
push eax
push 0x3e8
push 1
lea ecx, [ebp - 0xa4]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea ecx, [ebp + 0xc]
call fcn.00413870
lea ecx, [ebp + 0x10]
call fcn.00413870
lea ecx, [ebp + 0x14]
call fcn.00413870
lea ecx, [ebp + 0x18]
call fcn.00413870
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 0x14