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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov r8d, dword [rsp + 0x230]
mov rcx, qword [rsp + 0x228]
mov qword [rsp + 0x210], rbx
mov qword [rsp + 0x208], rbp
mov qword [rsp + 0x200], rsi
mov qword [rsp + 0x1f8], rdi
xor esi, esi
mov qword [rsp + 0x1f0], r12
xor edx, edx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov rdi, rsi
movdqa xmmword [rsp + 0x1e0], xmm6
movdqa xmmword [rsp + 0x1d0], xmm7
movdqa xmmword [rsp + 0x1c0], xmm8
mov qword [rsp + 0x88], rsi
call fcn.140024ec0
test eax, eax
jne 0x140006034
lea r9, [0x140005e20]
lea r8, [0x140005de0]
lea rcx, [0x140119ec4]
xor edx, edx
call fcn.1400256e0
test rax, rax
mov qword [rsp + 0x50], rax
je 0x14000661e
mov rcx, rax
call fcn.1400250e0
test rax, rax
mov qword [rsp + 0x60], rax
je 0x14000661e
mov rcx, qword [rsp + 0x50]
mov rdx, rsp
call sub.VCRUNTIME140.dll___intrinsic_setjmp
test eax, eax
jne 0x140006228
mov rax, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x50]
lea r8, [0x140005d70]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x230]
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
call fcn.140028490
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.140025840
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x74]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x20], rax
call fcn.1400254c0
mov r11d, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x220]
test r11d, r11d
je 0x140006009
sub r11d, 2
je 0x140006001
dec r11d
je 0x140005ff9
dec r11d
je 0x140005ff1
cmp r11d, 2
jne 0x14000600f
mov dword [rbx], reloc.WS2_32.dll_setsockopt
jmp 0x14000600f
mov dword [rbx], 0x33
jmp 0x14000600f
mov dword [rbx], reloc.WLDAP32.dll_Ordinal_41
jmp 0x14000600f
mov dword [rbx], reloc.WS2_32.dll_sendto
jmp 0x14000600f
mov dword [rbx], reloc.WLDAP32.dll_Ordinal_50
cmp dword [rsp + 0x74], 0x10
jne 0x14000605c
mov rcx, qword [rsp + 0x50]
call fcn.140026390
mov eax, dword [rbx]
sub eax, 0x14
je 0x140006056
dec eax
je 0x14000604e
sub eax, 0x1d
je 0x140006046
dec eax
je 0x14000603e
mov eax, 0x80004005
jmp 0x14000625e
mov dword [rbx], 0x36314c41
jmp 0x14000605c
mov dword [rbx], 0x51
jmp 0x14000605c
mov dword [rbx], Ordinal_41
jmp 0x14000605c
mov dword [rbx], 0x36315220
cmp dword [rsp + 0x74], 8
jge 0x14000606d
mov rcx, qword [rsp + 0x50]
call fcn.1400263b0
cmp dword [rsp + 0x80], esi
jne 0x140006087
cmp dword [rsp + 0x74], 8
jge 0x140006087
mov rcx, qword [rsp + 0x50]
call fcn.140026650
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x94]
call fcn.140025470
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1400060bb
mov r8d, dword [rsp + 0x94]
call fcn.140025290
jmp 0x1400060e7
lea r8, [rsp + 0xa0]
call fcn.140025420
test eax, eax
je 0x1400060e7
mov rcx, qword [rsp + 0x50]
movlpd xmm2, qword [rsp + 0xa0]
movlpd xmm1, qword [0x140119ea0]
call fcn.1400265e0
cmp dword [rbx], 0x29
je 0x14000614b
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov r8d, reloc.WS2_32.dll_recv
call fcn.140025390
test eax, eax
je 0x14000614b
mov rcx, qword [rsp + 0x50]
call fcn.140026650
mov r11d, dword [rbx]
cmp r11d, 0x14
je 0x140006145
cmp r11d, 0x32
je 0x14000613d
cmp r11d, 0x51
je 0x140006135
cmp r11d, 0x36315220
jne 0x14000614b
mov dword [rbx], Ordinal_41
jmp 0x14000614b
mov dword [rbx], 0x36314c41
jmp 0x14000614b
mov dword [rbx], 0x33
jmp 0x14000614b
mov dword [rbx], reloc.WS2_32.dll_setsockopt
mov eax, dword [rbx]
cmp eax, 0x14
je 0x14000615e
cmp eax, 0x36315220
je 0x14000615e
cmp eax, 0x15
jne 0x140006168
mov rcx, qword [rsp + 0x50]
call fcn.140026370
cmp dword [rbx], 0x14
jne 0x140006188
mov rcx, qword [rsp + 0x50]
mov r8d, 1
mov edx, 0xff
call fcn.140026410
mov dword [rbx], reloc.WLDAP32.dll_Ordinal_22
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.140025a40
mov r11d, dword [rbx]
cmp r11d, 0x32
jg 0x1400061d4
je 0x1400061be
sub r11d, 0x14
je 0x1400061f2
dec r11d
je 0x1400061c9
dec r11d
je 0x1400061c9
sub r11d, 0xe
je 0x1400061c9
cmp r11d, 5
jne 0x140006208
mov edi, 1
mov dword [rsp + 0x58], edi
jmp 0x14000620c
mov edi, 4
mov dword [rsp + 0x58], edi
jmp 0x14000620c
cmp r11d, 0x33
je 0x1400061fd
cmp r11d, 0x51
je 0x1400061be
cmp r11d, 0x36314c41
je 0x1400061fd
cmp r11d, 0x36315220
jne 0x140006208
mov edi, 3
mov dword [rsp + 0x58], edi
jmp 0x14000620c
mov edi, 2
mov dword [rsp + 0x58], edi
jmp 0x14000620c
mov edi, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.1400253f0
movzx r11d, al
cmp edi, r11d
je 0x1400062aa
mov esi, 0x80004005
mov rdi, qword [rsp + 0x88]
cmp qword [rsp + 0x50], 0
je 0x14000624f
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
xor r8d, r8d
call fcn.140026290
test rdi, rdi
je 0x14000625c
mov rcx, rdi
call fcn.1401133a0
mov eax, esi
mov rbx, qword [rsp + 0x210]
mov rbp, qword [rsp + 0x208]
mov rsi, qword [rsp + 0x200]
movdqa xmm6, xmmword [rsp + 0x1e0]
movdqa xmm7, xmmword [rsp + 0x1d0]
movdqa xmm8, xmmword [rsp + 0x1c0]
mov rdi, qword [rsp + 0x1f8]
mov r12, qword [rsp + 0x1f0]
add rsp, 0x218
ret
mov eax, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov dword [rbx + 0x18], eax
mov eax, dword [rsp + 0x68]
mov dword [rbx + 0x20], 1
mov dword [rbx + 0x1c], eax
call fcn.1400253c0
cmp dword [rbx + 0x4c], esi
mov dword [rbx + 0x3c], eax
mov dword [rbx + 0x40], esi
je 0x14000622d
imul eax, dword [rsp + 0x68]
mov ecx, eax
call fcn.1401130c4
test rax, rax
mov qword [rbx + 8], rax
je 0x140006616
mov ecx, dword [rsp + 0x68]
mov dword [rbx + 0x44], 1
shl rcx, 3
call fcn.1401130c4
test rax, rax
mov rdi, rax
mov qword [rsp + 0x88], rax
je 0x14000661e
cmp dword [rsp + 0x68], esi
mov edx, esi
jbe 0x14000634c
mov r8, rax
nop
mov eax, edx
inc edx
add r8, 8
imul eax, dword [rbx + 0x3c]
mov ecx, eax
add rcx, qword [rbx + 8]
mov qword [r8 - 8], rcx
cmp edx, dword [rsp + 0x68]
jb 0x140006330
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call fcn.140026010
cmp dword [rbx], 0x29
jne 0x140006235
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov r8d, 8
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x6c], esi
call fcn.140025390
test eax, eax
je 0x14000639c
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x6c]
lea r8, [rsp + 0x78]
call fcn.1400255e0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov r8d, reloc.WS2_32.dll_recv
call fcn.140025390
test eax, eax
je 0x1400063d6
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x98]
mov qword [rsp + 0x20], rsi
call fcn.140025640
mov rax, qword [rsp + 0x50]
movlpd xmm2, qword [0x140119ee8]
movss xmm3, dword [rax + 0x25c]
cvtss2sd xmm0, xmm3
comisd xmm0, xmm2
jbe 0x140006473
movss xmm1, dword [rax + 0x260]
cvtss2sd xmm0, xmm1
comisd xmm0, xmm2
jbe 0x140006473
movlpd xmm7, qword [0x140119ee0]
movlpd xmm6, qword [0x140119ed8]
movlpd xmm8, qword [0x140119ed0]
mulss xmm1, xmm3
mov ebp, esi
lea r12, [rsp + 0xc0]
cvtss2sd xmm0, xmm1
divsd xmm7, xmm0
nop
nop
nop
cvtsi2sd xmm0, ebp
movsd xmm1, xmm7
divsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
inc ebp
inc r12
cmp ebp, 0x100
mulsd xmm0, xmm6
addsd xmm0, xmm8
cvttsd2si rax, xmm0
mov byte [r12 - 1], al
jl 0x140006440
jmp 0x140006494
mov ecx, esi
mov rax, rsi
nop
nop
mov byte [rsp + rax + 0xc0], cl
inc rax
inc ecx
cmp rax, 0x100
jl 0x140006480
mov ecx, 0x400
call fcn.1401130c4
test rax, rax
mov qword [rbx + 0x10], rax
je 0x14000661e
cmp dword [rsp + 0x70], esi
mov dword [rbx + 0x48], 1
mov r8d, esi
mov r9, rsi
jle 0x14000653c
mov r10, rsi
mov rax, qword [rsp + 0x78]
mov rdx, qword [rbx + 0x10]
inc r8d
movzx ecx, byte [r10 + rax]
inc r9
add r10, 3
movzx eax, byte [rsp + rcx + 0xc0]
mov byte [rdx + r9*4 - 4], al
mov rax, qword [rsp + 0x78]
mov rdx, qword [rbx + 0x10]
movzx ecx, byte [r10 + rax - 2]
movzx eax, byte [rsp + rcx + 0xc0]
mov byte [rdx + r9*4 - 3], al
mov rax, qword [rsp + 0x78]
mov rdx, qword [rbx + 0x10]
movzx ecx, byte [r10 + rax - 1]
movzx eax, byte [rsp + rcx + 0xc0]
mov byte [rdx + r9*4 - 2], al
mov rax, qword [rsp + 0x98]
mov rdx, qword [rbx + 0x10]
movzx ecx, byte [r9 + rax - 1]
mov byte [rdx + r9*4 - 1], cl
cmp r8d, dword [rsp + 0x70]
jl 0x1400064c1
cmp r8d, dword [rsp + 0x6c]
movsxd rax, r8d
jge 0x1400065c1
lea r9, [rax*4]
lea r10, [rax + rax*2]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rbx + 0x10]
inc r8d
movzx ecx, byte [r10 + rax]
add r9, 4
add r10, 3
movzx eax, byte [rsp + rcx + 0xc0]
mov byte [r9 + rdx - 4], al
mov rax, qword [rsp + 0x78]
mov rdx, qword [rbx + 0x10]
movzx ecx, byte [r10 + rax - 2]
movzx eax, byte [rsp + rcx + 0xc0]
mov byte [r9 + rdx - 3], al
mov rax, qword [rsp + 0x78]
mov rdx, qword [rbx + 0x10]
movzx ecx, byte [r10 + rax - 1]
movzx eax, byte [rsp + rcx + 0xc0]
mov byte [r9 + rdx - 2], al
mov rax, qword [rbx + 0x10]
mov byte [r9 + rax - 1], 0xff
cmp r8d, dword [rsp + 0x6c]
jl 0x140006552
movsxd rcx, r8d
cmp rcx, 0x100
jge 0x140006235
shl rcx, 2
nop
nop
nop
mov rax, qword [rbx + 0x10]
add rcx, 4
cmp rcx, 0x400
mov byte [rcx + rax - 4], 0xff
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax - 3], 0xff
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax - 2], 0xff
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax - 1], 0xff
jl 0x1400065e0
jmp 0x140006235
mov rdi, qword [rsp + 0x88]
mov esi, 0x8007000e
jmp 0x140006235