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

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
push rbx
push rsi
push r13
push r15
sub rsp, 0x48
mov esi, r8d
mov r13d, edx
mov r15, rcx
test rcx, rcx
je 0x14014ac30
cmp qword [rcx + 0x80], 0
je 0x14014ac30
mov rbx, qword [rcx + 0x78]
test rbx, rbx
je 0x14014ac30
mov qword [rax + 0x18], rbp
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r14
mov rax, qword [rbx + 0xf0]
test rax, rax
je 0x14014a4bd
test byte [rax + 8], 1
je 0x14014a4bd
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x78]
mov r8, qword [rax + 0x98]
test rdx, rdx
je 0x14014a4aa
mov rcx, r8
call qword [r8 + reloc.WS2_32.dll_recv]
mov rax, qword [rbx + 0xf0]
xor ebp, ebp
mov qword [rbx + 0x78], rbp
and dword [rax + 8], 0xfffffffe
jmp 0x14014a4c3
xor ebp, ebp
mov qword [rbx + 0x78], rbp
mov dword [rbx + 0x18], ebp
lea r12, [rbx + 0x98]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm0
mov qword [r12 + 0x20], rax
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x68], rax
mov dword [rbx + 0x70], ebp
mov byte [rbx + 0x82], al
mov qword [rbx + 0x90], rax
mov dword [rbx + 0xc0], ebp
mov qword [rbx + 0xc8], rbp
mov qword [rbx + 0xd0], rbp
mov dword [rbx + 0xd8], ebp
test dword [rcx + 8], 0x10000
jne 0x14014a52e
mov qword [rbx + 0xe8], rbp
jmp 0x14014a565
mov rax, qword [rbx + 0xf0]
test byte [rax + 8], 2
je 0x14014a565
mov rdi, qword [rbx + 0xe8]
mov rax, qword [rcx + 0x98]
mov rdx, qword [rdi]
test rdx, rdx
je 0x14014a557
mov rcx, rax
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi], rbp
mov rax, qword [rbx + 0xf0]
and dword [rax + 8], 0xfffffffd
mov qword [rbx + 0x5c], 0
mov qword [rbx + 0x50], 0
mov dword [rbx + 0x58], ebp
mov qword [rbx + 0xdc], 0
mov rdi, qword [r15 + 0x90]
mov rax, qword [rdi + 8]
mov rdx, qword [rax + 0x130]
mov rax, qword [r15 + 0x80]
mov qword [rsp + 0x70], rdx
cmp word [rax + 0x18], 0
je 0x14014a5af
cmp word [rax + 0x1a], 0
jne 0x14014a5b2
or esi, 1
mov ecx, esi
or ecx, 0x801
bt esi, 0xa
cmovae ecx, esi
test cl, 1
je 0x14014a5cc
and ecx, 0xfffffffb
or ecx, 0xa
mov r14d, ecx
and r14d, 0xfffffffb
bt ecx, 0x16
cmovae r14d, ecx
test rdx, rdx
je 0x14014a610
test r14d, 0x8002
jne 0x14014a610
mov eax, dword [r15 + 8]
and eax, 0x2001
cmp eax, 1
jne 0x14014a610
bt r14d, 0xb
jb 0x14014a669
mov rax, qword [r15 + 0xd0]
cmp dword [rax + 8], 0
jne 0x14014a664
cmp dword [rax], 0
jne 0x14014a669
mov rax, qword [rdi + 0x18]
mov r9d, r14d
mov rdx, qword [r15 + 0x80]
mov r8d, r13d
mov rcx, rbx
call qword [rax + pe_nt_image_headers64]
mov r13d, eax
test eax, eax
jne 0x14014ac0b
cmp dword [rbx + 0x60], 0x6f75746c
jne 0x14014a7cf
test r12, r12
je 0x14014a8e7
movsx r9d, word [r12 + 2]
movsx rax, word [r12]
test r9d, r9d
jne 0x14014a7e3
test ax, ax
jmp 0x14014a82d
cmp dword [rax], 0
jne 0x14014a610
test r14b, 0x20
jne 0x14014a71d
mov rax, qword [rdi]
test dword [rax], 0x400
je 0x14014a71d
mov r8, qword [rax + 0x30]
mov rcx, rbp
test r8, r8
je 0x14014a69e
lea rdx, str.font_format
mov rcx, rdi
call r8
mov rcx, rax
lea rdx, str.Type_1
call fcn.14021efa4
test rax, rax
je 0x14014a6b9
cmp dword [rdi + 0x38], 1
jne 0x14014a6b9
mov cl, 1
jmp 0x14014a6bb
xor cl, cl
mov eax, r14d
and eax, 0xf0000
cmp eax, 0x10000
jne 0x14014a6d9
mov rax, qword [rdi]
test dword [rax], 0x800
jne 0x14014a6d9
test cl, cl
je 0x14014a71d
test byte [r15 + 8], 8
je 0x14014a610
cmp dword [r15 + 0x440], 0
je 0x14014a610
cmp word [r15 + 0x18a], 0
jne 0x14014a610
cmp dword [r15 + 0x3b0], 0
jne 0x14014a610
cmp dword [r15 + 0x3c0], 0
jne 0x14014a610
bt r14d, 0x18
jb 0x14014a75f
test dword [r15 + 8], 0x10000
je 0x14014a75f
mov rax, qword [rdi + 0x18]
mov r9d, r14d
mov rdx, qword [r15 + 0x80]
bts r9d, 0x17
mov r8d, r13d
mov rcx, rbx
call qword [rax + pe_nt_image_headers64]
mov r13d, eax
test eax, eax
jne 0x14014a75a
cmp dword [rbx + 0x60], 0x53564720
je 0x14014a7cf
mov r13d, dword [rsp + 0x78]
test byte [r15 + 8], 2
je 0x14014a798
test r14b, 8
jne 0x14014a798
mov rax, qword [rdi + 0x18]
mov r9d, r14d
mov rdx, qword [r15 + 0x80]
bts r9d, 0xe
mov r8d, r13d
mov rcx, rbx
call qword [rax + pe_nt_image_headers64]
mov r13d, eax
test eax, eax
jne 0x14014a798
cmp dword [rbx + 0x60], 0x62697473
je 0x14014a7cf
mov rsi, qword [r15 + 0xd0]
mov rdx, rbx
mov rcx, qword [rsp + 0x70]
mov r9d, dword [rsp + 0x78]
mov dword [rsp + 0x20], r14d
mov edi, dword [rsi + 0x18]
mov dword [rsi + 0x18], ebp
mov rax, qword [rcx]
mov r8, qword [r15 + 0x80]
mov r10, qword [rax + 0x18]
call qword [r10 + Ordinal_27]
mov r13d, eax
mov dword [rsi + 0x18], edi
test r14b, 0x10
je 0x14014a8f2
mov eax, dword [rbx + 0x4c]
mov ecx, ebp
jmp 0x14014a8f7
jle 0x14014a8e7
test ax, ax
jle 0x14014a8e7
mov r10, rax
mov r8d, 0xffffffff
mov rax, qword [r12 + 0x18]
mov rdx, rbp
movsx ecx, word [rax]
cmp ecx, r8d
jle 0x14014a8e7
cmp ecx, r9d
jge 0x14014a8e7
inc rdx
add rax, 2
mov r8d, ecx
cmp rdx, r10
jl 0x14014a803
lea eax, [r9 - 1]
cmp ecx, eax
jne 0x14014a8e7
mov r13d, ebp
test r14b, 2
jne 0x14014a7cf
mov ecx, dword [rbx + 0x38]
mov eax, r14d
mov esi, dword [rbx + 0x44]
mov r10d, ecx
mov edx, dword [rbx + 0x3c]
and r10d, 0xffffffc0
mov r11d, dword [rbx + 0x30]
mov r8d, esi
and r8d, 0xffffffc0
mov dword [rsp + 0x88], ecx
mov dword [rbx + 0x44], r8d
mov r9d, dword [rbx + 0x48]
lea ecx, [rdx + 0x3f]
mov edi, dword [rbx + 0x34]
and ecx, 0xffffffc0
mov dword [rbx + 0x38], r10d
mov dword [rsp + 0x70], r9d
and r9d, 0xffffffc0
shr eax, 4
mov dword [rbx + 0x3c], ecx
mov dword [rbx + 0x48], r9d
test al, 1
je 0x14014a8aa
mov ecx, dword [rsp + 0x70]
lea eax, [r11 + 0x3f]
add ecx, 0x3f
add eax, esi
add ecx, edi
and eax, 0xffffffc0
and ecx, 0xffffffc0
sub ecx, r9d
sub eax, r8d
jmp 0x14014a8c4
mov eax, dword [rsp + 0x88]
sub edx, edi
add eax, 0x3f
and edx, 0xffffffc0
add eax, r11d
sub ecx, edx
and eax, 0xffffffc0
sub eax, r10d
mov dword [rbx + 0x30], eax
mov dword [rbx + 0x34], ecx
mov eax, dword [rbx + 0x40]
add eax, 0x20
and eax, 0xffffffc0
mov dword [rbx + 0x40], eax
mov eax, dword [rbx + 0x4c]
add eax, 0x20
and eax, 0xffffffc0
mov dword [rbx + 0x4c], eax
jmp 0x14014a7cf
mov r13d, reloc.WS2_32.dll_sendto
jmp 0x14014ac0b
mov ecx, dword [rbx + 0x40]
mov eax, ebp
mov dword [rbx + 0x58], ecx
mov dword [rbx + 0x5c], eax
bt r14d, 0xd
jb 0x14014a9c4
test byte [r15 + 8], 1
je 0x14014a9c4
movsxd rdx, dword [rbx + 0x50]
mov r11, qword [r15 + 0x80]
mov r9d, edx
sar r9d, 0x1f
mov r8, rdx
neg r8
and r9d, 0xfffffffe
inc r9d
movsxd r10, dword [r11 + 0x1c]
test edx, edx
mov ecx, r9d
mov rax, r10
cmovns r8, rdx
movsxd rdx, dword [rbx + 0x54]
neg rax
test r10d, r10d
cmovns rax, r10
neg ecx
imul r8, rax
add r8, 0x20
shr r8, 6
mov eax, r8d
test r10d, r10d
cmovns ecx, r9d
neg eax
test ecx, ecx
mov r9d, edx
cmovns eax, r8d
sar r9d, 0x1f
mov dword [rbx + 0x50], eax
and r9d, 0xfffffffe
movsxd r10, dword [r11 + 0x20]
inc r9d
mov r8, r10
mov rax, rdx
neg r8
mov ecx, r9d
test r10d, r10d
cmovns r8, r10
neg rax
test edx, edx
cmovns rax, rdx
neg ecx
imul r8, rax
add r8, 0x20
shr r8, 6
test r10d, r10d
mov eax, r8d
cmovns ecx, r9d
neg eax
test ecx, ecx
cmovns eax, r8d
mov dword [rbx + 0x54], eax
bt r14d, 0xb
jb 0x14014ab88
mov rdi, qword [r15 + 0xd0]
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14014ab88
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x90]
mov r8, qword [rcx + 8]
mov r10, qword [r8 + 0x128]
test r10, r10
je 0x14014aa07
mov eax, dword [rbx + 0x60]
cmp dword [r10 + 0x20], eax
je 0x14014aa3c
mov rax, qword [r8 + 0x118]
mov r10, rbp
mov edx, dword [rbx + 0x60]
test rax, rax
je 0x14014aa37
nop dword [rax]
mov rcx, qword [rax + 0x10]
cmp dword [rcx + 0x20], edx
je 0x14014aa34
mov rax, qword [rax + 8]
test rax, rax
jne 0x14014aa20
jmp 0x14014aa37
mov r10, rcx
test r10, r10
je 0x14014aa58
mov rax, qword [r10 + 0x18]
lea r9, [rdi + 0x10]
mov r8, rdi
mov rdx, rbx
mov rcx, r10
call qword [rax + 0x48]
mov r13d, eax
jmp 0x14014ab7c
cmp dword [rbx + 0x60], 0x6f75746c
jne 0x14014ab7c
test r9b, 1
je 0x14014ab3d
test r12, r12
je 0x14014ab3d
mov r10, qword [r12 + 8]
test r10, r10
je 0x14014ab3d
movsx rax, word [r12 + 2]
lea r11, [r10 + rax*8]
cmp r10, r11
jae 0x14014ab3d
nop dword [rax]
test r10, r10
je 0x14014ab30
movsxd rax, dword [r10 + 4]
movsxd rcx, dword [r10]
movsxd rdx, dword [rdi + 4]
movsxd r8, dword [rdi]
movsxd r9, dword [rdi + 8]
imul rdx, rax
imul r8, rcx
imul r9, rcx
movsxd rcx, dword [rdi + 0xc]
imul rcx, rax
mov rax, rdx
shr rax, 0x3f
sub rdx, rax
mov rax, r8
shr rax, 0x3f
add rdx, 0x8000
sub r8, rax
sar rdx, 0x10
mov rax, rcx
add r8, 0x8000
shr rax, 0x3f
sub rcx, rax
sar r8, 0x10
mov rax, r9
add rcx, 0x8000
shr rax, 0x3f
add edx, r8d
sub r9, rax
sar rcx, 0x10
add r9, 0x8000
mov dword [r10], edx
sar r9, 0x10
add ecx, r9d
mov dword [r10 + 4], ecx
add r10, 8
cmp r10, r11
jb 0x14014aaa0
test byte [rdi + 0x18], 2
je 0x14014ab7c
mov edx, dword [rdi + 0x14]
mov r10d, dword [rdi + 0x10]
test r12, r12
je 0x14014ab7c
mov r9, qword [r12 + 8]
cmp bp, word [r12 + 2]
jge 0x14014ab7c
nop dword [rax]
add dword [r9], r10d
inc bp
add dword [r9 + 4], edx
lea r9, [r9 + 8]
movsx r8d, word [r12 + 2]
movzx eax, bp
cmp eax, r8d
jl 0x14014ab60
mov rdx, rdi
lea rcx, [rbx + 0x58]
call fcn.14014afd0
mov eax, dword [rsp + 0x78]
mov dword [rbx + 0x18], eax
mov rax, qword [rbx + 0xf0]
mov dword [rax + 0x30], r14d
test r13d, r13d
jne 0x14014ac0b
test r14b, 1
jne 0x14014ac0b
mov eax, dword [rbx + 0x60]
cmp eax, 0x62697473
je 0x14014ac0b
cmp eax, 0x636f6d70
je 0x14014ac0b
mov edx, r14d
sar edx, 0x10
and edx, 0xf
jne 0x14014abce
bt r14d, 0xc
mov eax, 2
cmovb edx, eax
test r14b, 4
je 0x14014ac00
mov rax, qword [rbx + 8]
test rax, rax
je 0x14014abf8
mov rax, qword [rax + 0x90]
mov r8d, edx
mov rdx, rbx
mov rcx, qword [rax + 8]
call fcn.14014e4f0
mov r13d, eax
jmp 0x14014ac0b
mov r13d, 6
jmp 0x14014ac0b
xor r8d, r8d
mov rcx, rbx
call fcn.14014e010
mov r14, qword [rsp + 0x30]
mov eax, r13d
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x80]
add rsp, 0x48
pop r15
pop r13
pop rsi
pop rbx
ret
mov eax, reloc.WLDAP32.dll_Ordinal_35
add rsp, 0x48
pop r15
pop r13
pop rsi
pop rbx
ret