Function at 0x4696e0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22c0
call fcn.0048c7c0
mov eax, dword [0x4b000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x22a4], ecx
mov dword [ebp - 0x22ac], 0
mov byte [ebp - 0x22a5], 1
mov dword [ebp - 0x22b0], 0
mov eax, dword [ebp - 0x22a4]
cmp dword [eax + 0x10], 0
jne 0x469731
mov ecx, dword [ebp - 0x22a4]
call fcn.00469180
mov ecx, dword [ebp - 0x22a4]
mov edx, dword [ecx + 4]
cmp dword [edx + 4], 0
jne 0x469752
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x469e9e
mov eax, dword [ebp + 0x10]
mov dword [0xbcfb4c], eax
mov ecx, dword [ebp + 0x14]
mov dword [0xbcfb48], ecx
cmp dword [ebp + 0xc], 0
jne 0x469813
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
jne 0x4697c1
push 0x2cc
push 0
lea eax, [ebp - 0x3d8]
push eax
call fcn.0046e200
add esp, 0xc
mov dword [ebp - 0x3d8], 0x10007
call 0x4697a8
pop eax
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x324], ebp
mov dword [ebp - 0x314], esp
xor ecx, ecx
jne 0x469783
jmp 0x469811
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x3d8]
push eax
call fcn.0046e200
add esp, 0xc
mov dword [ebp - 0x3d8], 0x10007
lea ecx, [ebp - 0x3d8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x469811
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x469e9e
jmp 0x469823
mov ecx, 0xb3
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x3d8]
rep movsd dword es:[edi], dword [esi]
push 0x108
push 0
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0046e200
add esp, 0xc
mov dword [ebp - 0x22c0], 0x14c
mov edx, dword [ebp - 0x320]
xor eax, eax
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x100], 3
mov ecx, dword [ebp - 0x324]
xor edx, edx
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xe0], 3
mov eax, dword [ebp - 0x314]
xor ecx, ecx
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd0], 3
push 0x420
call fcn.00470e7c
add esp, 4
mov dword [ebp - 0x22ac], eax
cmp dword [ebp - 0x22ac], 0
jne 0x4698c3
jmp 0x469e4a
push 0x420
push 0
mov edx, dword [ebp - 0x22ac]
push edx
call fcn.0046e200
add esp, 0xc
mov eax, dword [ebp - 0x22ac]
mov dword [eax], 0x20
mov ecx, dword [ebp - 0x22ac]
mov dword [ecx + 0x18], 0x400
xor edx, edx
mov dword [ebp - 0xa78], edx
mov dword [ebp - 0xa74], edx
mov dword [ebp - 0xa70], edx
mov dword [ebp - 0xa6c], edx
mov dword [ebp - 0xa68], edx
mov dword [ebp - 0xa64], edx
mov dword [ebp - 0xa78], 0x18
push 0x688
push 0
lea eax, [ebp - 0xa60]
push eax
call fcn.0046e200
add esp, 0xc
mov dword [ebp - 0xa60], 0x688
mov dword [ebp - 0x22b4], 0
jmp 0x46995d
mov ecx, dword [ebp - 0x22b4]
add ecx, 1
mov dword [ebp - 0x22b4], ecx
push 0
mov edx, dword [ebp - 0x22a4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x22a4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x14]
push ecx
push 0x469ee0
lea edx, [ebp - 0x3d8]
push edx
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x22a4]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x22c0]
push ecx
mov edx, dword [ebp - 0x22a4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x38]
call ecx
test eax, eax
jne 0x4699e0
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
push eax
push 0
push str.StackWalk64
mov ecx, dword [ebp - 0x22a4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x22a4]
mov eax, dword [edx + 0x10]
call eax
jmp 0x469e4a
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x22a0], ecx
mov dword [ebp - 0x229c], edx
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x2298], 0
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x1e98], 0
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x1a98], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1698], xmm0
mov dword [ebp - 0x1690], 0
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x1688], 0
mov dword [ebp - 0x168c], 0
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0xe78], 0
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x1280], 0
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0xfc]
jne 0x469aee
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [ebp - 0xf8]
jne 0x469aee
mov edx, dword [ebp - 0x22a4]
cmp dword [edx + 0x1c], 0
jle 0x469add
mov eax, dword [ebp - 0x22a4]
mov ecx, dword [ebp - 0x22b0]
cmp ecx, dword [eax + 0x1c]
jle 0x469add
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
push eax
push 0
push str.StackWalk64_Endless_Callstack_
mov ecx, dword [ebp - 0x22a4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x22a4]
mov eax, dword [edx + 0x10]
call eax
jmp 0x469e4a
mov ecx, dword [ebp - 0x22b0]
add ecx, 1
mov dword [ebp - 0x22b0], ecx
jmp 0x469af8
mov dword [ebp - 0x22b0], 0
mov edx, dword [ebp - 0x10c]
or edx, dword [ebp - 0x108]
je 0x469dc5
mov eax, dword [ebp - 0x22ac]
push eax
lea ecx, [ebp - 0x1698]
push ecx
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x22a4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x22a4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x28]
call edx
test eax, eax
je 0x469bb0
mov eax, dword [ebp - 0x22ac]
add eax, 0x1c
push eax
mov edx, 0x400
lea ecx, [ebp - 0x2298]
call fcn.004686a0
add esp, 4
push 0x1000
push 0x400
lea ecx, [ebp - 0x1e98]
push ecx
mov edx, dword [ebp - 0x22ac]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0x22a4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x3c]
call edx
push 0
push 0x400
lea eax, [ebp - 0x1a98]
push eax
mov ecx, dword [ebp - 0x22ac]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x22a4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x3c]
call ecx
jmp 0x469bdd
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SymGetSymFromAddr64
mov ecx, dword [ebp - 0x22a4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x22a4]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x22a4]
mov edx, dword [ecx + 4]
cmp dword [edx + 0x18], 0
je 0x469c7d
lea eax, [ebp - 0xa78]
push eax
lea ecx, [ebp - 0x1690]
push ecx
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x22a4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x22a4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
call edx
test eax, eax
je 0x469c50
mov eax, dword [ebp - 0xa70]
mov dword [ebp - 0x168c], eax
mov ecx, dword [ebp - 0xa6c]
push ecx
mov edx, 0x400
lea ecx, [ebp - 0x1688]
call fcn.004686a0
add esp, 4
jmp 0x469c7d
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SymGetLineFromAddr64
mov ecx, dword [ebp - 0x22a4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x22a4]
mov eax, dword [edx + 0x10]
call eax
lea ecx, [ebp - 0xa60]
push ecx
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x22a4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x22a4]
mov ecx, dword [eax + 4]
call fcn.00468f90
test eax, eax
je 0x469d98
mov ecx, dword [ebp - 0xa40]
mov dword [ebp - 0x22b8], ecx
cmp dword [ebp - 0x22b8], 8
ja case.default.0x469ccd
mov edx, dword [ebp - 0x22b8]
jmp dword [edx*4 + 0x469eb0]
mov dword [ebp - 0x1284], str._nosymbols_
jmp 0x469d4a
mov dword [ebp - 0x1284], str.COFF
jmp 0x469d4a
mov dword [ebp - 0x1284], 0x4a9164
jmp 0x469d4a
mov dword [ebp - 0x1284], 0x4a9168
jmp 0x469d4a
mov dword [ebp - 0x1284], str._exported_
jmp 0x469d4a
mov dword [ebp - 0x1284], str._deferred_
jmp 0x469d4a
mov dword [ebp - 0x1284], 0x4a9184
jmp 0x469d4a
mov dword [ebp - 0x1284], 0x4a9188
jmp 0x469d4a
mov dword [ebp - 0x1284], str.Virtual
jmp 0x469d4a
mov dword [ebp - 0x1284], 0
lea eax, [ebp - 0xa3c]
push eax
mov edx, 0x400
lea ecx, [ebp - 0x1280]
call fcn.004686a0
add esp, 4
mov ecx, dword [ebp - 0xa58]
mov edx, dword [ebp - 0xa54]
mov dword [ebp - 0xe80], ecx
mov dword [ebp - 0xe7c], edx
lea eax, [ebp - 0x91c]
push eax
mov edx, 0x400
lea ecx, [ebp - 0xe78]
call fcn.004686a0
add esp, 4
jmp 0x469dc5
mov ecx, dword [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SymGetModuleInfo64
mov eax, dword [ebp - 0x22a4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x22a4]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x22bc], 1
cmp dword [ebp - 0x22b4], 0
jne 0x469de2
mov dword [ebp - 0x22bc], 0
mov byte [ebp - 0x22a5], 0
lea ecx, [ebp - 0x22a0]
push ecx
mov edx, dword [ebp - 0x22bc]
push edx
mov eax, dword [ebp - 0x22a4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x22a4]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0xfc]
or ecx, dword [ebp - 0xf8]
jne 0x469e45
mov byte [ebp - 0x22a5], 1
lea edx, [ebp - 0x22a0]
push edx
push 2
mov eax, dword [ebp - 0x22a4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x22a4]
mov eax, dword [edx + 0xc]
call eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x469e4a
jmp 0x46994e
cmp dword [ebp - 0x22ac], 0
je 0x469e62
mov ecx, dword [ebp - 0x22ac]
push ecx
call fcn.00470e61
add esp, 4
movzx edx, byte [ebp - 0x22a5]
test edx, edx
jne 0x469e89
lea eax, [ebp - 0x22a0]
push eax
push 2
mov ecx, dword [ebp - 0x22a4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x22a4]
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp + 0xc], 0
jne 0x469e99
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ad4d
mov esp, ebp
pop ebp
ret 0x10