Function at 0x486675
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, 0x2500
call fcn.005b9060
mov eax, dword [0x6d1d44]
xor eax, esp
mov dword [esp + 0x24fc], eax
push ebx
push ebp
push esi
push edi
push 0x108
xor ebx, ebx
lea eax, [esp + 0x34]
push ebx
push eax
mov ebp, edx
mov edi, ecx
call fcn.005bb370
add esp, 0xc
test edi, edi
je 0x4866f5
cmp dword [edi + 0x10], ebx
je 0x48670e
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
lea esi, [edi + 0x14]
push ebx
push esi
call fcn.005bb370
add esp, 0xc
mov dword [esi], 0x10007
push esi
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x4866ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x486703
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
test ebx, ebx
je 0x48670e
xor eax, eax
jmp 0x486914
test edi, edi
je 0x48671a
mov eax, dword [edi + 0xcc]
jmp 0x486721
mov eax, dword [esp + 0x1f0]
push 3
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
pop edx
mov dword [esp + 0x3c], edx
test edi, edi
je 0x48673e
mov eax, dword [edi + 0xc8]
jmp 0x486745
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
test edi, edi
je 0x48675d
mov eax, dword [edi + 0xd8]
jmp 0x486764
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], edx
mov byte [ebp], cl
test edi, edi
je 0x48677c
mov esi, dword [edi + 0x10]
jmp 0x486784
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
test edi, edi
je 0x48678d
mov eax, dword [edi + 0xc]
jmp 0x486793
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
push ecx
push dword [sym.imp.dbghelp.dll_SymGetModuleBase64]
push dword [sym.imp.dbghelp.dll_SymFunctionTableAccess64]
push ecx
push ecx
lea ecx, [esp + 0x44]
push ecx
push esi
push eax
push 0x14c
call dword [sym.imp.dbghelp.dll_StackWalk64]
test eax, eax
je 0x486912
mov esi, dword [esp + 0x30]
mov eax, esi
mov ecx, dword [esp + 0x34]
or eax, ecx
mov dword [esp + 0x14], ecx
je 0x486912
mov dword [esp + 0x18], esi
xorps xmm0, xmm0
mov dword [esp + 0x1c], ecx
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x508], 0x58
mov dword [esp + 0x558], 0x7d0
mov dword [esp + 0x1508], 0x18
test edi, edi
je 0x486811
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x48681b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x508]
push edx
lea edx, [esp + 0x2c]
push edx
push ecx
push esi
push eax
call dword [sym.imp.dbghelp.dll_SymFromAddr]
test eax, eax
je 0x4868c9
lea eax, [esp + 0x55c]
push eax
mov eax, 0xfec
sub eax, ebx
push 0x73ea28
push eax
lea eax, [ebx + ebp]
push eax
call fcn.0040117f
add esp, 0x10
add ebx, eax
test edi, edi
je 0x486867
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x48686d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x1508]
push ecx
lea ecx, [esp + 0x28]
push ecx
push dword [esp + 0x1c]
push esi
push eax
call dword [sym.imp.dbghelp.dll_SymGetLineFromAddr64]
test eax, eax
mov eax, 0xfec
je 0x4868b3
push dword [esp + 0x1510]
sub eax, ebx
push dword [esp + 0x1518]
push str.____s:_d__n
push eax
lea eax, [ebx + ebp]
push eax
call fcn.0040117f
add esp, 0x14
jmp 0x4868fe
sub eax, ebx
push 0x73ea38
push eax
lea eax, [ebx + ebp]
push eax
call fcn.0040117f
add esp, 0xc
jmp 0x4868fe
lea eax, [esp + 0x408]
push eax
push 8
pop edx
lea ecx, [esp + 0x1c]
call fcn.00483219
lea eax, [esp + 0x408]
push eax
mov eax, 0xfec
sub eax, ebx
push str._FuncAddr:_0x_s__n
push eax
lea eax, [ebx + ebp]
push eax
call fcn.0040117f
add esp, 0x10
add ebx, eax
test edi, edi
je 0x48677c
cmp dword [edi + 0x10], 0
jne 0x486773
mov eax, ebp
mov ecx, dword [esp + 0x250c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b8900
add esp, 0x2500
ret