Function at 0x140035840
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x2438]
mov eax, 0x2538
call fcn.14003cc50
sub rsp, rax
mov rax, qword [0x1400bb1a8]
xor rax, rsp
mov qword [rbp + 0x2420], rax
xor r14d, r14d
mov qword [rsp + 0x50], r8
mov rbx, r9
mov r12, rdx
mov rdi, rcx
mov sil, 1
cmp dword [rcx + 0x1c], r14d
jne 0x140035893
call fcn.140034cf0
mov r8, qword [rsp + 0x50]
mov rax, qword [rdi + 8]
cmp qword [rax + 8], r14
jne 0x1400358bb
lea rcx, str.DLL_NON_LOADED_n
call fcn.140002e60
mov ecx, 0x45a
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140035f81
mov rax, qword [rbp + 0x2490]
mov qword [0x1400bdeb0], rax
mov qword [0x1400bdea8], rbx
test r8, r8
jne 0x140035963
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp r12, rax
jne 0x140035914
xor edx, edx
lea rcx, [rbp + 0x18c0]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x18c0]
mov dword [rbp + 0x18f0], 0x10000b
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
jmp 0x1400359eb
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
lea rcx, [rbp + 0x18c0]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x18c0]
mov dword [rbp + 0x18f0], 0x10000b
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1400359eb
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x140035f81
mov rax, r8
lea rcx, [rbp + 0x18c0]
mov edx, 9
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140035972
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
xor edx, edx
mov qword [rsp + 0x2530], r15
mov r8d, 0x108
lea rcx, [rbp + 0x17b0]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbp + 0x19b8]
mov ecx, 0x420
mov qword [rbp + 0x17b0], rax
mov rax, qword [rbp + 0x1958]
mov qword [rbp + 0x17d0], rax
mov qword [rbp + 0x17e0], rax
mov dword [rbp + 0x17bc], 3
mov dword [rbp + 0x17dc], 3
mov dword [rbp + 0x17ec], 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x140035f63
xor edx, edx
mov qword [rsp + 0x2588], r13
mov r8d, 0x420
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [r15], 0x20
mov dword [r15 + 0x18], 0x400
lea rcx, [rbp + 0x1d94]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x684
mov dword [rsp + 0x58], 0x28
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
call sub.VCRUNTIME140.dll_memset
mov r10, qword [rdi + 8]
lea r9, [rbp + 0x17b0]
mov rdx, qword [rdi + 0x10]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov r8, r12
mov dword [rbp + 0x1d90], 0x688
mov ecx, 0x8664
mov rax, qword [r10 + 0x38]
mov r13d, ebx
mov qword [rsp + 0x38], rax
mov rax, qword [r10 + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [0x140036000]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18c0]
mov qword [rsp + 0x20], rax
call qword [r10 + WSAStartup]
test eax, eax
je 0x140035f21
nop
mov rcx, qword [rbp + 0x17b0]
mov qword [rbp - 0x80], rcx
mov byte [rbp - 0x78], 0
mov byte [rbp + 0x388], 0
mov byte [rbp + 0x788], 0
mov qword [rbp + 0xb88], rbx
mov qword [rbp + 0xb90], 0
mov byte [rbp + 0xb98], 0
mov byte [rbp + 0x13b0], 0
mov byte [rbp + 0xfa8], 0
cmp rcx, qword [rbp + 0x17c0]
jne 0x140035b82
mov eax, dword [rdi + 0x2c]
test eax, eax
jle 0x140035b7d
cmp r14d, eax
jg 0x140035fa0
inc r14d
jmp 0x140035b85
mov r14d, ebx
test rcx, rcx
je 0x140035ea6
mov rax, qword [rdi + 8]
lea r8, [rbp + 0xb88]
mov rdx, rcx
mov r9, r15
mov rcx, qword [rdi + 0x10]
call qword [rax + 0x50]
test eax, eax
je 0x140035c2e
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax + 0x1c], 0
jne 0x140035bb5
lea r8, [r15 + 0x1c]
lea rcx, [rbp - 0x78]
cmp rax, 0x400
jae 0x140035bdd
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
jmp 0x140035bf3
mov r9d, 0x400
mov edx, r9d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rbp + 0x387], 0
mov rax, qword [rdi + 8]
lea rdx, [rbp + 0x388]
mov r9d, 0x1000
lea rcx, [r15 + 0x1c]
mov r8d, 0x400
call qword [rax + 0x78]
mov rax, qword [rdi + 8]
lea rdx, [rbp + 0x788]
xor r9d, r9d
lea rcx, [r15 + 0x1c]
mov r8d, 0x400
call qword [rax + 0x78]
jmp 0x140035c4e
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp + 0x17b0]
lea rdx, str.SymGetSymFromAddr64
mov r8d, eax
mov rcx, rdi
call qword [rbx + 0x20]
mov rax, qword [rdi + 8]
mov r10, qword [rax + 0x30]
test r10, r10
je 0x140035ce8
mov rdx, qword [rbp + 0x17b0]
lea r9, [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
lea r8, [rbp + 0xb90]
call r10
test eax, eax
je 0x140035cc8
mov eax, dword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov dword [rbp + 0xb94], eax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x140035c93
mov edx, 0x400
lea rcx, [rbp + 0xb98]
cmp rax, rdx
jae 0x140035cb6
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
jmp 0x140035ce8
mov r9, rdx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rbp + 0xf97], 0
jmp 0x140035ce8
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp + 0x17b0]
lea rdx, str.SymGetLineFromAddr64
mov r8d, eax
mov rcx, rdi
call qword [rbx + 0x20]
mov r8, qword [rbp + 0x17b0]
lea r9, [rbp + 0x1d90]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
call fcn.140034090
test eax, eax
je 0x140035e84
movsxd rax, dword [rbp + 0x1db0]
cmp eax, 8
ja case.0x140035d2c.7
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x35fd0]
add rcx, rdx
jmp rcx
lea rax, str._nosymbols_
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x140035dcd
lea rax, str.COFF
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x140035dcd
lea rax, [0x14009a454]
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x140035dcd
lea rax, [0x14009a458]
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x140035dcd
lea rax, str._exported_
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x140035dcd
lea rax, str._deferred_
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x140035dcd
lea rax, [0x14009a47c]
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x140035dcd
lea rax, str.Virtual
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x140035dcd
xor ebx, ebx
mov qword [rbp + 0xfa0], rbx
lea rcx, [rbp + 0x1db4]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140035de0
lea r8, [rbp + 0x1db4]
lea rcx, [rbp + 0xfa8]
cmp rax, 0x400
jae 0x140035e0c
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
jmp 0x140035e22
mov r9d, 0x400
mov edx, r9d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rbp + 0x13a7], 0
mov rax, qword [rbp + 0x1d98]
lea rcx, [rbp + 0x1ed4]
mov qword [rbp + 0x13a8], rax
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140035e40
lea r8, [rbp + 0x1ed4]
lea rcx, [rbp + 0x13b0]
cmp rax, 0x400
jae 0x140035e6c
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
jmp 0x140035ea6
mov r9d, 0x400
mov edx, r9d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rbp + 0x17af], 0
jmp 0x140035ea6
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp + 0x17b0]
lea rdx, str.SymGetModuleInfo64
mov r8d, eax
mov rcx, rdi
call qword [rbx + 0x20]
xor ebx, ebx
mov rax, qword [rdi]
lea r8, [rbp - 0x80]
mov edx, ebx
xor sil, sil
test r13d, r13d
mov rcx, rdi
setne dl
call qword [rax + 0x18]
cmp qword [rbp + 0x17c0], 0
je 0x140035fac
mov r10, qword [rdi + 8]
lea r9, [rbp + 0x17b0]
mov rdx, qword [rdi + 0x10]
mov r8, r12
mov qword [rsp + 0x40], rbx
mov ecx, 0x8664
inc r13d
mov rax, qword [r10 + 0x38]
mov qword [rsp + 0x38], rax
mov rax, qword [r10 + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [0x140036000]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18c0]
mov qword [rsp + 0x20], rax
call qword [r10 + WSAStartup]
test eax, eax
jne 0x140035b20
mov r9, qword [rbp + 0x17b0]
lea rdx, str.StackWalk64
mov rax, qword [rdi]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r13, qword [rsp + 0x2588]
test sil, sil
jne 0x140035f63
mov rax, qword [rdi]
lea r8, [rbp - 0x80]
mov edx, 2
mov rcx, rdi
call qword [rax + 0x18]
cmp qword [rsp + 0x50], 0
mov r15, qword [rsp + 0x2530]
jne 0x140035f7c
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov rcx, qword [rbp + 0x2420]
xor rcx, rsp
call fcn.14003ccc0
add rsp, 0x2538
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r9, rcx
lea rdx, str.StackWalk64_Endless_Callstack_
jmp 0x140035f2f
mov rax, qword [rdi]
lea r8, [rbp - 0x80]
mov edx, 2
mov rcx, rdi
mov sil, 1
call qword [rax + 0x18]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140035f3b