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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
movzx ebp, byte [rdx]
cmp ebp, 0xb5
mov rdi, rcx
mov r13, rdx
mov qword [rsp + 0x58], 0
mov esi, r8d
mov ebx, r9d
mov r12d, r9d
je 0x140373240
cmp ebp, 0xae
jne 0x140373259
nop
mov r13, qword [r13 + 0x10]
movzx ebp, byte [r13]
cmp ebp, 0xae
je 0x140373240
cmp ebp, 0xb5
je 0x140373240
cmp ebp, 0xb0
jne 0x140373266
movzx ebp, byte [r13 + 2]
cmp ebp, 0x24
je 0x1403734d2
cmp ebp, 0xad
je 0x1403732b8
cmp ebp, 0x9b
jg 0x14037364d
cmp ebp, 0x74
jle 0x14037354c
lea r12, [0x1404697a8]
mov r14d, 1
lea eax, [rbp - 0x75]
cmp eax, 0x26
ja case.0x1403732b3.118
lea rdx, [0x14046b084]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov r13, qword [r13 + 0x10]
mov r14, 0xffffffffffffffff
lea r12, [0x14046ae2e]
movzx ebp, byte [r13]
mov eax, ebp
and eax, 0xfffffffd
cmp al, 0x99
je 0x140373299
mov rax, qword [rsp + 0x118]
movzx esi, sil
movzx r9d, bl
mov rdx, r13
mov r8d, esi
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.140373200
mov rbp, qword [rsp + 0x58]
test eax, eax
mov r12d, eax
jne 0x140373410
test rbp, rbp
je 0x140373358
mov rcx, rbp
call fcn.1403403d0
movzx eax, word [rbp + 0x14]
test al, 8
je 0x140373819
movsd xmm0, qword [rbp]
xorpd xmm0, xmmword [0x1404757d0]
movsd qword [rbp], xmm0
mov rcx, rbp
movsx edx, bl
mov r8d, esi
call fcn.140231a40
mov rbp, qword [rsp + 0x58]
nop dword [rax + rax]
mov rax, qword [rsp + 0x110]
mov qword [rax], rbp
mov eax, r12d
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call fcn.1403739e0
test rax, rax
mov rcx, rax
mov qword [rsp + 0x58], rax
je 0x140373572
test byte [r13 + 5], 8
je 0x140373553
movsxd rdx, dword [r13 + 8]
imul rdx, r14
test word [rax + 0x14], 0x9000
jne 0x1403737da
mov r8d, 4
mov qword [rax], rdx
mov word [rax + 0x14], r8w
and ebp, 0xfffffffd
cmp ebp, 0x99
jne 0x1403733dc
cmp bl, 0x41
je 0x14037383c
movsx edx, bl
mov r8d, 1
call fcn.140231a40
mov rbp, qword [rsp + 0x58]
movzx eax, word [rbp + 0x14]
test al, 0x2c
je 0x1403735b0
and eax, 0xfffffffd
cmp sil, 1
mov word [rbp + 0x14], ax
je 0x140373410
mov byte [rbp + 0x16], sil
nop dword [rax]
xor r12d, r12d
jmp 0x140373358
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call fcn.1403739e0
test rax, rax
mov qword [rsp + 0x58], rax
je 0x140373572
mov rsi, qword [r13 + 8]
xor r12d, r12d
add rsi, 2
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rcx, rdi
mov rdx, rsi
lea rdi, [0x1403135b0]
and eax, 0x3fffffff
lea ebx, [rax - 1]
mov r8d, ebx
call fcn.14030c320
mov edx, ebx
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
shr edx, 0x1f
mov qword [rsp + 0x20], rdi
lea r8d, [rdx + rbx]
mov rdx, rax
sar r8d, 1
movsxd r8, r8d
call fcn.1403406d0
mov rbp, qword [rsp + 0x58]
jmp 0x140373358
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call fcn.1403739e0
test rax, rax
mov rbp, rax
mov qword [rsp + 0x58], rax
je 0x140373572
test word [rax + 0x14], 0x9000
jne 0x1403735e8
mov ecx, 1
xor r12d, r12d
mov word [rax + 0x14], cx
jmp 0x140373358
mov rcx, qword [r13 + 8]
xor edx, edx
movzx esi, sil
call fcn.1402d1740
mov rdx, qword [r13 + 0x10]
mov rcx, rdi
mov r8d, esi
movzx ebp, al
mov rax, qword [rsp + 0x118]
mov r9d, ebp
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
call fcn.140373200
mov r12d, eax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax]
test rcx, rcx
je 0x140373363
mov r8d, esi
mov edx, ebp
call fcn.14033f9d0
mov rax, qword [rsp + 0x110]
movsx edx, bl
mov r8d, esi
mov rcx, qword [rax]
call fcn.140231a40
jmp 0x140373363
xor ebp, ebp
jmp 0x140373410
mov r9, qword [r13 + 8]
lea rdx, str._s_s
mov r8, r12
mov rcx, rdi
call fcn.140312bc0
test rax, rax
jne 0x1403737a1
cmp qword [rsp + 0x118], 0
je 0x1403737f6
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov eax, dword [rax + 0x30]
test eax, eax
jne 0x14037359d
cmp byte [rdi + 0x67], 0
je 0x140373851
mov r12d, 7
jmp 0x140373363
xor r12d, r12d
cmp sil, 1
je 0x140373358
test al, 2
je 0x140373408
cmp byte [rbp + 0x16], sil
movzx edx, sil
je 0x140373410
mov rcx, rbp
call fcn.140340d30
mov rbp, qword [rsp + 0x58]
mov r12d, eax
jmp 0x140373358
mov rcx, rax
xor r12d, r12d
call fcn.140374720
mov rbp, qword [rsp + 0x58]
jmp 0x140373358
cmp ebp, 0xaa
jne 0x14037354c
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
call fcn.1403739e0
test rax, rax
mov rbp, rax
mov qword [rsp + 0x58], rax
je 0x140373410
mov edx, 4
mov word [rax + 0x14], dx
mov rax, qword [r13 + 8]
cmp byte [rax + 4], 0
sete al
movzx eax, al
mov qword [rbp], rax
jmp 0x140373410
cmp ebp, 0xac
jne case.0x1403732b3.118
cmp qword [rsp + 0x118], 0
je case.0x1403732b3.118
mov rdx, qword [r13 + 8]
xor r14d, r14d
mov r13, qword [r13 + 0x20]
test r13, r13
je 0x140373674
mov r14d, dword [r13]
movzx eax, sil
mov dword [rsp + 0x20], 0
mov r8d, r14d
mov rcx, rdi
mov r9d, eax
mov dword [rsp + 0x30], eax
call fcn.1402f0d00
mov r9, rax
mov eax, dword [rax + 4]
test ah, 0x28
je 0x1403737e9
test al, 0x20
jne 0x1403737e9
test r13, r13
je 0x140373872
movsxd r8, r14d
mov rcx, rdi
mov qword [rsp + 0x48], r9
lea r15, [r8*8]
mov qword [rsp + 0x40], r8
mov rdx, r15
call fcn.1402e36b0
test rax, rax
mov rbp, rax
je 0x1403739ae
add r15, rax
add r13, 8
movzx eax, r12b
mov r8, qword [rsp + 0x40]
test r14d, r14d
mov r9, qword [rsp + 0x48]
mov dword [rsp + 0x3c], eax
jle 0x14037386f
mov eax, ebx
mov qword [rsp + 0x40], r9
mov rbx, r13
mov r12, r8
mov r13, rbp
mov esi, eax
jmp 0x140373758
mov r9d, dword [rsp + 0x3c]
mov qword [rsp + 0x20], r13
mov rcx, rdi
mov qword [rsp + 0x28], 0
mov r8d, dword [rsp + 0x30]
call fcn.140373200
cmp qword [r13], 0
je 0x1403739cb
test eax, eax
jne 0x140373959
add r13, 8
add rbx, 0x20
cmp r15, r13
je 0x140373868
mov rdx, qword [rbx]
test rdx, rdx
jne 0x140373714
cmp qword [r13], 0
jne 0x140373747
mov r8, r12
mov r13, rbp
xor r12d, r12d
xor ebp, ebp
lea rsi, [r13 + r8*8]
mov rbx, r13
nop word [rax + rax]
mov rcx, qword [rbx]
add rbx, 8
call fcn.140330a00
cmp rbx, rsi
jne 0x140373780
mov rdx, r13
mov rcx, rdi
call fcn.1402e3440
jmp 0x140373358
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1403733c8
lea rdi, [0x1403135b0]
mov r9d, 1
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
mov rdx, rax
call fcn.1403406d0
mov rcx, qword [rsp + 0x58]
jmp 0x1403733c8
call fcn.140376360
mov rcx, qword [rsp + 0x58]
jmp 0x1403733c8
mov rbp, qword [rsp + 0x58]
xor r12d, r12d
jmp 0x140373358
cmp byte [rdi + 0x67], 0
jne 0x14037380a
cmp byte [rdi + 0x68], 0
jne 0x14037380a
mov rcx, rdi
call fcn.140313600
mov rcx, qword [rsp + 0x58]
call fcn.140330a00
jmp 0x14037359d
movabs rcx, 0x8000000000000000
mov rdx, qword [rbp]
cmp rdx, rcx
je 0x140373978
neg rdx
mov qword [rbp], rdx
jmp 0x140373340
mov r8d, 1
mov edx, 0x43
call fcn.140231a40
jmp 0x1403733ea
cmp byte [rdi + 0x68], 0
jne 0x14037359d
mov rcx, rdi
call fcn.140313600
jmp 0x14037359d
mov r9, qword [rsp + 0x40]
mov ebx, esi
mov r13, rbp
mov rdx, qword [rsp + 0x118]
mov rcx, rdi
mov qword [rsp + 0x30], r9
call fcn.1403739e0
test rax, rax
mov rbp, rax
je 0x1403739a6
mov r9, qword [rsp + 0x30]
movq xmm0, rax
mov r8, r13
mov edx, r14d
movzx eax, byte [rdi + 0x64]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
movq xmm1, r9
mov qword [rsp + 0x80], 0
punpcklqdq xmm0, xmm1
mov byte [rsp + 0x88], al
mov qword [rsp + 0x90], 0
movaps xmmword [rsp + 0x60], xmm0
call qword [r9 + 0x18]
mov r12d, dword [rsp + 0x84]
test r12d, r12d
je 0x140373993
mov rcx, rbp
call fcn.140330ac0
lea rdx, [0x14046a1c6]
mov r8, rax
mov rax, qword [rsp + 0x118]
mov rcx, qword [rax]
call fcn.1402e8400
mov rax, qword [rsp + 0x118]
xor ebp, ebp
mov rax, qword [rax]
mov dword [rax + 0x18], r12d
test r13, r13
je 0x140373358
test r14d, r14d
movsxd r8, r14d
jg 0x140373772
jmp 0x140373791
mov r8, r12
mov r12d, eax
mov rax, qword [rsp + 0x118]
mov r13, rbp
xor ebp, ebp
mov rax, qword [rax]
mov dword [rax + 0x18], r12d
jmp 0x140373772
mov rdi, qword [0x1404755c8]
and ax, 0xf240
or eax, 8
mov word [rbp + 0x14], ax
mov qword [rbp], rdi
jmp 0x140373340
movsx edx, bl
mov r8d, 1
mov rcx, rbp
call fcn.140231a40
jmp 0x14037393f
mov r12d, 7
jmp 0x14037392e
mov rax, qword [rsp + 0x118]
mov r12d, 7
mov rax, qword [rax]
mov dword [rax + 0x18], 7
jmp 0x140373358
test eax, eax
mov r8, r12
mov r12d, eax
je 0x14037376a
jmp 0x14037395f