Function at 0x100025b0
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10c
cmp eax, 0x101
jne 0x10002830
mov eax, dword [0x1000ccf0]
mov ecx, 5
inc eax
mov dword [0x1000ccf0], eax
cdq
idiv ecx
test edx, edx
jne 0x100025e1
call fcn.10002850
mov eax, dword [0x1000961c]
push ebx
push esi
push edi
test eax, eax
je 0x100027c4
mov eax, dword [0x1000ccf0]
mov ecx, 5
cdq
idiv ecx
test edx, edx
jne 0x100027c4
push str.FtctSvc
push 0x100090dc
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x10002736
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push 0xbb8
push 0
push 0
push 0
push 0x402
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov ecx, dword [esp + 0x10]
mov ebx, eax
xor eax, eax
cmp ecx, 1
sete al
mov esi, eax
mov eax, dword [0x1000c5e0]
test eax, eax
je 0x10002686
cmp esi, dword [0x1000c5e8]
je 0x10002686
mov eax, dword [0x1000c5d8]
test esi, esi
jne 0x10002673
mov eax, dword [0x1000c5dc]
push eax
push 1
mov ecx, 0x1000c5d8
call fcn.100053f0
mov dword [0x1000c5e8], esi
test ebx, ebx
jne 0x1000281c
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x5b4
je 0x100026a5
test eax, eax
jne 0x1000281c
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10002711
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 1
jne 0x100026ef
mov edx, dword [esp + 0xc]
push edi
push edx
call fcn.10002510
add esp, 8
push ebx
push str._ftlive.dll__ResumeThread_return__d_n
call fcn.10001880
add esp, 8
mov ecx, 0x1000c3b0
call fcn.10003b10
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
push edi
call ebx
push eax
push str._ftlive.dll__ResumeThread_return_error_d_id_x_n
call fcn.10001880
add esp, 0xc
mov ecx, 0x1000c3b0
call fcn.10003b10
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
push 0
call fcn.10002ea0
add esp, 4
push str._ftlive.dll__restart_ftct.exe_._n
call fcn.10001880
mov eax, dword [0x1000ccf0]
add esp, 4
cmp eax, 6
jl 0x1000281c
mov eax, dword [str.Type1_SubType2_]
mov ecx, dword [0x10009624]
mov edx, dword [0x10009628]
mov dword [esp + 0x14], eax
mov eax, dword [0x1000962c]
mov dword [esp + 0x18], ecx
mov cx, word [0x10009630]
mov dword [esp + 0x20], eax
mov word [esp + 0x24], cx
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x26]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
push 1
push edx
push 0x1000b56c
stosw word es:[edi], ax
call fcn.10001680
add esp, 0xc
mov ecx, 0x1000c3b0
call fcn.10003b10
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
mov eax, dword [0x1000c5e0]
test eax, eax
je 0x10002812
call fcn.10001580
mov esi, eax
mov eax, dword [0x1000c5e8]
cmp esi, eax
je 0x1000281c
mov eax, dword [0x1000c5d8]
test esi, esi
jne 0x100027eb
mov eax, dword [0x1000c5dc]
push eax
push 1
mov ecx, 0x1000c5d8
call fcn.100053f0
mov ecx, 0x1000c3b0
mov dword [0x1000c5e8], esi
call fcn.10003b10
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
mov ecx, 0x1000c5d8
call fcn.10005360
mov ecx, 0x1000c3b0
call fcn.10003b10
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
cmp eax, 0x102
jne 0x10002841
mov ecx, 0x1000c5d4
call fcn.10005b50
add esp, 0x10c
ret