Function at 0x482915
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2504
call fcn.005b3d10
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x2500], eax
push ebx
push esi
push edi
push 0x108
xor ebx, ebx
lea eax, [esp + 0x34]
mov esi, edx
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x1c], esi
call fcn.005b5fd0
add esp, 0xc
test edi, edi
je 0x4829a2
cmp dword [edi + 0x10], ebx
je 0x4829bb
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
lea esi, [edi + 0x14]
push ebx
push esi
call fcn.005b5fd0
add esp, 0xc
mov dword [esi], 0x10007
push esi
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x482993
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [esp + 0x10]
jmp 0x4829b0
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
test ebx, ebx
je 0x4829bb
xor eax, eax
jmp 0x482bd4
test edi, edi
je 0x4829c7
mov eax, dword [edi + 0xcc]
jmp 0x4829ce
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 0x4829eb
mov eax, dword [edi + 0xc8]
jmp 0x4829f2
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
test edi, edi
je 0x482a0a
mov eax, dword [edi + 0xd8]
jmp 0x482a11
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], edx
mov byte [esi], cl
test edi, edi
je 0x482a28
mov eax, dword [edi + 0x10]
jmp 0x482a2e
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [esp + 0xc], eax
test edi, edi
je 0x482a3b
mov eax, dword [edi + 0xc]
jmp 0x482a41
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 dword [esp + 0x24]
push eax
push 0x14c
call dword [sym.imp.dbghelp.dll_StackWalk64]
test eax, eax
je 0x482bd2
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov edx, dword [esp + 0x34]
or eax, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
je 0x482bd2
mov dword [esp + 0x18], ecx
xorps xmm0, xmm0
mov dword [esp + 0x1c], edx
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x508], 0x58
mov dword [esp + 0x558], 0x7d0
mov dword [esp + 0x1508], 0x18
test edi, edi
je 0x482ac6
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x482ad4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea esi, [esp + 0x508]
push esi
lea esi, [esp + 0x2c]
push esi
push edx
push ecx
push eax
call dword [sym.imp.dbghelp.dll_SymFromAddr]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x482b89
lea eax, [esp + 0x55c]
push eax
mov eax, 0xfec
sub eax, ebx
push 0x720480
push eax
lea eax, [esi + ebx]
push eax
call fcn.0040117f
add esp, 0x10
add ebx, eax
test edi, edi
je 0x482b24
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x482b2a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x1508]
push ecx
lea ecx, [esp + 0x28]
push ecx
push dword [esp + 0x14]
push dword [esp + 0x20]
push eax
call dword [sym.imp.dbghelp.dll_SymGetLineFromAddr64]
test eax, eax
mov eax, 0xfec
je 0x482b73
push dword [esp + 0x1510]
sub eax, ebx
push dword [esp + 0x1518]
push str.____s:_d__n
push eax
lea eax, [esi + ebx]
push eax
call fcn.0040117f
add esp, 0x14
jmp 0x482bbe
sub eax, ebx
push 0x720490
push eax
lea eax, [esi + ebx]
push eax
call fcn.0040117f
add esp, 0xc
jmp 0x482bbe
lea eax, [esp + 0x408]
push eax
push 8
pop edx
lea ecx, [esp + 0x1c]
call fcn.0047f7e9
lea eax, [esp + 0x408]
push eax
mov eax, 0xfec
sub eax, ebx
push str._FuncAddr:_0x_s__n
push eax
lea eax, [esi + ebx]
push eax
call fcn.0040117f
add esp, 0x10
add ebx, eax
test edi, edi
je 0x482a28
cmp dword [edi + 0x10], 0
jne 0x482a1f
mov eax, esi
mov ecx, dword [esp + 0x250c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b35b0
mov esp, ebp
pop ebp
ret