Function at 0x140034440
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x1fd0]
mov eax, 0x20d0
call fcn.1400d6fe0
sub rsp, rax
mov rax, qword [0x1401c7ef8]
xor rax, rsp
mov qword [rbp + 0x1fb0], rax
cmp dword [rcx + 0x1c], 0
mov rbx, r9
mov r12, r8
mov rsi, rdx
mov rdi, rcx
jne 0x140034484
call fcn.140034060
mov rax, qword [rdi + 8]
cmp qword [rax + 8], 0
jne 0x1400344a1
mov ecx, 0x45a
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1400348c3
mov rax, qword [rbp + 0x2020]
mov qword [0x1401cfb78], rbx
mov qword [0x1401cfb80], rax
test r12, r12
jne 0x140034542
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rsi, rax
jne 0x1400344f7
lea rcx, [rbp + 0x1ae0]
xor edx, edx
mov r8d, 0x4d0
call sub.MSVCR100.dll_memset
lea rcx, [rbp + 0x1ae0]
mov dword [rbp + 0x1b10], 0x10000b
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
jmp 0x140034557
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rcx, [rbp + 0x1ae0]
xor edx, edx
mov r8d, 0x4d0
call sub.MSVCR100.dll_memset
lea rdx, [rbp + 0x1ae0]
mov rcx, rsi
mov dword [rbp + 0x1b10], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140034557
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x1400348c3
lea rcx, [rbp + 0x1ae0]
mov rdx, r12
mov r8d, 0x4d0
call sub.MSVCR100.dll_memcpy
lea rcx, [rbp + 0x1780]
xor edx, edx
mov r8d, 0x108
mov qword [rsp + 0x2118], r13
call sub.MSVCR100.dll_memset
mov rax, qword [rbp + 0x1b78]
mov r11, qword [rbp + 0x1bd8]
mov ecx, 0x420
mov qword [rbp + 0x17a0], rax
mov qword [rbp + 0x17b0], rax
mov dword [rbp + 0x178c], 3
mov dword [rbp + 0x17ac], 3
mov qword [rbp + 0x1780], r11
mov dword [rbp + 0x17bc], 3
call qword [sym.imp.MSVCR100.dll_malloc]
mov r13, rax
test rax, rax
je 0x1400348a8
xor edx, edx
mov r8d, 0x420
mov rcx, rax
mov qword [rsp + 0x20c8], r14
mov qword [rsp + 0x20c0], r15
call sub.MSVCR100.dll_memset
lea rcx, [rbp + 0x1890]
xor edx, edx
mov r8d, 0x248
mov dword [r13], 0x20
mov dword [r13 + 0x18], 0x400
call sub.MSVCR100.dll_memset
mov r10, qword [rdi + 8]
mov rdx, qword [rdi + 0x10]
mov dword [rbp + 0x1890], 0x248
mov rax, qword [r10 + 0x38]
xor r15d, r15d
lea r9, [rbp + 0x1780]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rax
mov rax, qword [r10 + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [0x140033100]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1ae0]
mov ecx, 0x8664
mov qword [rsp + 0x20], rax
mov r14d, r15d
call qword [r10 + 0x78]
test eax, eax
je 0x14003486f
lea rbx, [0x140000000]
nop dword [rax + rax]
mov r8, qword [rbp + 0x1780]
mov byte [rsp + 0x58], r15b
mov byte [rbp + 0x358], r15b
mov byte [rbp + 0x758], r15b
mov qword [rbp + 0xb58], r15
mov byte [rbp + 0xb68], r15b
mov qword [rsp + 0x50], r8
mov qword [rbp + 0xb60], r15
mov byte [rbp + 0x1380], r15b
mov byte [rbp + 0xf78], r15b
test r8, r8
je 0x1400347f3
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
lea r9, [rbp + 0x1890]
call fcn.140032f70
test eax, eax
je 0x1400347cc
movsxd rax, dword [rbp + 0x18b0]
cmp eax, 7
ja case.default.0x140034701
mov ecx, dword [rbx + rax*4 + 0x34900]
add rcx, rbx
jmp rcx
lea rax, str._nosymbols_
mov qword [rbp + 0xf70], rax
jmp 0x14003478a
lea rax, str.COFF
mov qword [rbp + 0xf70], rax
jmp 0x14003478a
lea rax, [0x14011e248]
mov qword [rbp + 0xf70], rax
jmp 0x14003478a
lea rax, [0x14011e244]
mov qword [rbp + 0xf70], rax
jmp 0x14003478a
lea rax, str._exported_
mov qword [rbp + 0xf70], rax
jmp 0x14003478a
lea rax, str._deferred_
mov qword [rbp + 0xf70], rax
jmp 0x14003478a
lea rax, [0x14011e224]
mov qword [rbp + 0xf70], rax
jmp 0x14003478a
lea rax, [0x14011e220]
mov qword [rbp + 0xf70], rax
jmp 0x14003478a
mov qword [rbp + 0xf70], r15
lea r8, [rbp + 0x18b4]
lea rcx, [rbp + 0xf78]
mov edx, 0x400
call qword [sym.imp.MSVCR100.dll_strcpy_s]
mov r11, qword [rbp + 0x1898]
lea r8, [rbp + 0x19d4]
lea rcx, [rbp + 0x1380]
mov edx, 0x400
mov qword [rbp + 0x1378], r11
call qword [sym.imp.MSVCR100.dll_strcpy_s]
jmp 0x1400347f3
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp + 0x1780]
lea rdx, str.SymGetModuleInfo64
mov r8d, eax
mov rcx, rdi
call qword [rbx + 0x20]
lea rbx, [0x140000000]
mov rax, qword [rdi]
mov edx, 1
test r14d, r14d
lea r8, [rsp + 0x50]
mov rcx, rdi
cmove edx, r15d
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp qword [rbp + 0x1790], r15
je 0x1400348e0
mov r10, qword [rdi + 8]
mov rdx, qword [rdi + 0x10]
mov qword [rsp + 0x40], r15
mov rax, qword [r10 + 0x38]
lea r9, [rbp + 0x1780]
mov r8, rsi
mov qword [rsp + 0x38], rax
mov rax, qword [r10 + 0x28]
mov ecx, 0x8664
mov qword [rsp + 0x30], rax
lea rax, [0x140033100]
inc r14d
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1ae0]
mov qword [rsp + 0x20], rax
call qword [r10 + 0x78]
test eax, eax
jne 0x140034680
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp + 0x1780]
lea rdx, str.StackWalk64
mov r8d, eax
mov rcx, rdi
call qword [rbx + 0x20]
mov rcx, r13
call qword [sym.imp.MSVCR100.dll_free]
mov r15, qword [rsp + 0x20c0]
mov r14, qword [rsp + 0x20c8]
mov r13, qword [rsp + 0x2118]
test r12, r12
jne 0x1400348be
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov rcx, qword [rbp + 0x1fb0]
xor rcx, rsp
call fcn.1400d6f80
add rsp, 0x20d0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [rdi]
lea r8, [rsp + 0x50]
mov edx, 2
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14003488f