Function at 0x14002b2d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0x340], rax
cmp qword [rcx + 0x60], 0
mov rsi, rdx
mov rbx, rcx
jne 0x14002b308
xor al, al
jmp 0x14002bb46
mov qword [rsp + 0x4a0], rdi
add rcx, 0xd0
mov qword [rsp + 0x468], r12
mov qword [rsp + 0x460], r13
mov qword [rsp + 0x450], r15
call fcn.1400c6570
mov r9d, dword [rbx + 0xb8]
lea r8, str._07x__s
mov rax, qword [rbx + 0x60]
lea rcx, [rsi + 0x148]
bswap r9d
and r9d, 0xfffffff
mov qword [rsp + 0x20], rax
mov edx, 0x80
call fcn.1400292e0
mov rax, qword [rbx + 0x58]
lea rcx, [rsi + 0x1d0]
mov qword [rsi + 0x1c8], rax
mov r8, qword [rbx + 0x58]
mov rdx, qword [rbx + 0x98]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rbx + 0xc0]
mov dword [rsi + 0x200], eax
mov eax, dword [0x140190374]
cmp eax, 2
je 0x14002b403
cmp eax, 7
jle 0x14002b3b3
cmp eax, 0xa
jle 0x14002b403
cmp eax, 0x13
je 0x14002b3cd
cmp eax, 0x16
je 0x14002b403
mov r8d, dword [rbx + 0x88]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbx + 0x90]
call fcn.140079f10
jmp 0x14002b41b
mov r8, qword [rbx + 0x88]
lea rcx, [rsp + 0x41]
mov rdx, qword [rbx + 0x90]
mov byte [rsp + 0x40], 0
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rbx + 0x88]
lea r8, [rsp + 0x61]
inc edx
lea rcx, [rsp + 0x40]
call fcn.14009d430
jmp 0x14002b41b
mov rdx, qword [rbx + 0x88]
lea r8, [rsp + 0x40]
mov rcx, qword [rbx + 0x90]
call fcn.14010c210
cmp dword [0x140190374], 0x13
mov ecx, 1
movzx eax, byte [rsp + 0x40]
cmove eax, ecx
mov qword [rsp + 0x458], r14
xor edi, edi
mov byte [rsp + 0x40], al
mov r15d, edi
cmp dword [rbx + 0xa0], edi
jle 0x14002b4be
mov r14d, edi
nop dword [rax + rax]
cmp dword [0x140190374], 0x13
mov rax, qword [rbx + 0xa8]
mov rcx, qword [r14 + rax]
movups xmm0, xmmword [rcx]
jne 0x14002b48b
movups xmmword [rsp + 0x41], xmm0
lea r8, [rsp + 0x61]
mov edx, 0x41
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x51], xmm1
call fcn.14009d430
jmp 0x14002b4ae
movaps xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x40]
movups xmm1, xmmword [rcx + 0x10]
mov r8d, 0x40
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
call fcn.140079f10
inc r15d
add r14, 8
cmp r15d, dword [rbx + 0xa0]
jl 0x14002b450
cmp byte [reloc.WS2_32.dll_accept], dil
je 0x14002b4f5
mov edx, edi
cmp dword [rbx + 0x58], edx
jle 0x14002b4e8
mov rcx, rdi
mov rax, qword [rbx + 0x98]
add byte [rcx + rax], 1
jne 0x14002b4e8
inc edx
inc rcx
cmp edx, dword [rbx + 0x58]
jl 0x14002b4d1
mov rax, qword [rbx + 0x98]
movsxd rcx, edx
inc byte [rcx + rax]
cmp dword [0x140190374], 0x13
mov r14d, dword [0x140190b80]
jne 0x14002b50f
inc r14d
mov dword [0x140190b80], r14d
xor edx, edx
mov r8d, 0x100
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
cmp dword [0x140190374], 0x13
je 0x14002b713
movzx eax, byte [rbx + 0xb2]
movzx ecx, byte [rbx + 0xb3]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xb1]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xb0]
shl ecx, 8
add ecx, eax
mov dword [rsi], ecx
movzx eax, byte [rbx + 0x6a]
movzx ecx, byte [rbx + 0x6b]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x69]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x68]
shl ecx, 8
add ecx, eax
mov dword [rsi + 4], ecx
movzx eax, byte [rbx + 0x6e]
movzx ecx, byte [rbx + 0x6f]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x6d]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x6c]
shl ecx, 8
add ecx, eax
mov dword [rsi + 8], ecx
movzx eax, byte [rbx + 0x72]
movzx ecx, byte [rbx + 0x73]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x71]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x70]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0xc], ecx
movzx eax, byte [rbx + 0x76]
movzx ecx, byte [rbx + 0x77]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x75]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x74]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x10], ecx
movzx eax, byte [rbx + 0x7a]
movzx ecx, byte [rbx + 0x7b]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x79]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x78]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x14], ecx
movzx eax, byte [rbx + 0x7e]
movzx ecx, byte [rbx + 0x7f]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x7d]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x7c]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x18], ecx
movzx ecx, byte [rbx + 0x83]
movzx eax, byte [rbx + 0x82]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x81]
mov rdx, rsi
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x80]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x1c], ecx
movzx eax, byte [rbx + 0x86]
movzx ecx, byte [rbx + 0x87]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x85]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x84]
shl ecx, 8
add ecx, eax
lea rax, [rsp + 0x40]
sub rdx, rax
mov dword [rsi + 0x20], ecx
nop dword [rax]
mov ecx, dword [rsp + rdi*4 + 0x40]
lea rax, [rdx + rdi*4]
inc rdi
bswap ecx
mov dword [rsp + rax + 0x64], ecx
cmp rdi, 8
jl 0x14002b690
movzx eax, byte [rbx + 0xba]
movzx ecx, byte [rbx + 0xbb]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xb9]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xb8]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x44], ecx
movzx eax, byte [rbx + 0xb6]
movzx ecx, byte [rbx + 0xb7]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xb5]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xb4]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x50], 0x80000000
mov dword [rsi + 0x7c], 0x280
jmp 0x14002b99e
movzx eax, byte [rbx + 0x6a]
movzx ecx, byte [rbx + 0x6b]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x69]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x68]
shl ecx, 8
add ecx, eax
mov dword [rsi], ecx
movzx eax, byte [rbx + 0x6e]
movzx ecx, byte [rbx + 0x6f]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x6d]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x6c]
shl ecx, 8
add ecx, eax
mov dword [rsi + 4], ecx
movzx eax, byte [rbx + 0x72]
movzx ecx, byte [rbx + 0x73]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x71]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x70]
shl ecx, 8
add ecx, eax
mov dword [rsi + 8], ecx
movzx eax, byte [rbx + 0x76]
movzx ecx, byte [rbx + 0x77]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x75]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x74]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0xc], ecx
movzx eax, byte [rbx + 0x7a]
movzx ecx, byte [rbx + 0x7b]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x79]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x78]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x10], ecx
movzx eax, byte [rbx + 0x7e]
movzx ecx, byte [rbx + 0x7f]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x7d]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x7c]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x14], ecx
movzx eax, byte [rbx + 0x82]
movzx ecx, byte [rbx + 0x83]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x81]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0x80]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x18], ecx
movzx ecx, byte [rbx + 0x87]
movzx eax, byte [rbx + 0x86]
shl ecx, 8
add ecx, eax
shl ecx, 8
movzx eax, byte [rbx + 0x85]
add ecx, eax
movzx eax, byte [rbx + 0x84]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x1c], ecx
mov dword [rsi + 0x20], edi
mov dword [rsi + 0x24], r14d
movzx eax, byte [rbx + 0xba]
movzx ecx, byte [rbx + 0xbb]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xb9]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xb8]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0x2c], edi
mov dword [rsi + 0x28], ecx
movzx eax, byte [rsp + 0x63]
movzx ecx, byte [rsp + 0x64]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x62]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x61]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x67]
mov dword [rsi + 0x30], ecx
movzx ecx, byte [rsp + 0x68]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x66]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x65]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x6b]
mov dword [rsi + 0x34], ecx
movzx ecx, byte [rsp + 0x6c]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x6a]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x69]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x6f]
mov dword [rsi + 0x38], ecx
movzx ecx, byte [rsp + 0x70]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x6e]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x6d]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x73]
mov dword [rsi + 0x3c], ecx
movzx ecx, byte [rsp + 0x74]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x72]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x71]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x77]
mov dword [rsi + 0x40], ecx
movzx ecx, byte [rsp + 0x78]
shl ecx, 8
add ecx, eax
shl ecx, 8
movzx eax, byte [rsp + 0x76]
movzx edx, byte [rbp - 0x80]
add ecx, eax
movzx eax, byte [rsp + 0x75]
shl ecx, 8
add ecx, eax
shl edx, 8
movzx eax, byte [rsp + 0x7b]
mov dword [rsi + 0x44], ecx
movzx ecx, byte [rsp + 0x7c]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x7a]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x79]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x7f]
add edx, eax
movzx eax, byte [rsp + 0x7e]
shl edx, 8
add edx, eax
movzx eax, byte [rsp + 0x7d]
shl edx, 8
add edx, eax
mov dword [rsi + 0x4c], edx
mov dword [rsi + 0x48], ecx
lea rcx, [rbx + 0xd0]
call fcn.1400c6b50
cmp byte [0x140190372], 0
mov r12, qword [rsp + 0x468]
je 0x14002baa1
cmp dword [0x140190374], 0x13
mov ecx, reloc.WS2_32.dll_recv
je 0x14002b9f1
mov r14d, dword [rsi + 0x44]
bswap r14d
sub r14d, dword [rbx + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14002ba0e
jmp 0x14002bb60
mov r14d, dword [rsi + 0x28]
sub r14d, dword [rbx + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14002bb79
xor eax, eax
mov qword [rsp + 0x30], r14
mov qword [rdi], rax
lea rcx, [rsp + 0x30]
mov qword [rdi + 8], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
lea r8, str._H:_M:_S
mov edx, reloc.WS2_32.dll_send
mov r9, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
mov r15, qword [rbx + 0x58]
lea rcx, [r15*2 + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x14002bb92
mov r8, r15
lea rdx, [rsi + 0x1d0]
mov rcx, rax
call fcn.140034170
mov r9, r14
mov qword [rsp + 0x20], rdi
lea r8, [rsi + 0x148]
mov ecx, 4
lea rdx, str.DEBUG:_job_id_s_xnonce2_s_time_s
call fcn.140033450
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x140190374]
add eax, 0xfffffffb
cmp eax, 0x19
ja case.0x14002baca.6
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x2bbb8]
mov ecx, dword [rdx + rax*4 + 0x2bbac]
add rcx, rdx
jmp rcx
movsd xmm0, qword [0x14017f990]
mulsd xmm0, qword [0x1401700a8]
movsd xmm1, qword [rbx + 0xc8]
divsd xmm1, xmm0
jmp 0x14002bb18
movsd xmm0, qword [0x14017f990]
mulsd xmm0, qword [0x140170090]
movsd xmm1, qword [rbx + 0xc8]
divsd xmm1, xmm0
jmp 0x14002bb18
movsd xmm1, qword [rbx + 0xc8]
divsd xmm1, qword [0x14017f990]
lea rcx, [rsi + 0x128]
call fcn.1400344c0
mov r14, qword [rsp + 0x458]
mov al, 1
mov r13, qword [rsp + 0x460]
mov rdi, qword [rsp + 0x4a0]
mov r15, qword [rsp + 0x450]
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140111120
add rsp, 0x470
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3