Function at 0x46ca2a
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2504
call fcn.0059bb50
mov eax, dword [0x6b0d44]
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.0059de40
add esp, 0xc
test edi, edi
je 0x46cab7
cmp dword [edi + 0x10], ebx
je 0x46cad0
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
lea esi, [edi + 0x14]
push ebx
push esi
call fcn.0059de40
add esp, 0xc
mov dword [esi], 0x10007
push esi
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x46caa8
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 0x46cac5
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
test ebx, ebx
je 0x46cad0
xor eax, eax
jmp 0x46cce9
test edi, edi
je 0x46cadc
mov eax, dword [edi + 0xcc]
jmp 0x46cae3
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 0x46cb00
mov eax, dword [edi + 0xc8]
jmp 0x46cb07
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
test edi, edi
je 0x46cb1f
mov eax, dword [edi + 0xd8]
jmp 0x46cb26
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 0x46cb3d
mov eax, dword [edi + 0x10]
jmp 0x46cb43
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [esp + 0xc], eax
test edi, edi
je 0x46cb50
mov eax, dword [edi + 0xc]
jmp 0x46cb56
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 0x46cce7
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 0x46cce7
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 0x46cbdb
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x46cbe9
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 0x46cc9e
lea eax, [esp + 0x55c]
push eax
mov eax, 0xfec
sub eax, ebx
push 0x760f58
push eax
lea eax, [esi + ebx]
push eax
call fcn.0040112a
add esp, 0x10
add ebx, eax
test edi, edi
je 0x46cc39
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x46cc3f
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 0x46cc88
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.0040112a
add esp, 0x14
jmp 0x46ccd3
sub eax, ebx
push 0x760f68
push eax
lea eax, [esi + ebx]
push eax
call fcn.0040112a
add esp, 0xc
jmp 0x46ccd3
lea eax, [esp + 0x408]
push eax
push 8
pop edx
lea ecx, [esp + 0x1c]
call fcn.0046a7a9
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.0040112a
add esp, 0x10
add ebx, eax
test edi, edi
je 0x46cb3d
cmp dword [edi + 0x10], 0
jne 0x46cb34
mov eax, esi
mov ecx, dword [esp + 0x250c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059b3f0
mov esp, ebp
pop ebp
ret