Function at 0x140033010
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, 0x68
test byte [rdx + 0x8a], 1
mov rdi, rcx
mov rbx, rdx
mov ebp, r8d
mov r12d, r9d
jne 0x1400330a8
cmp r8d, 2
jne 0x140033053
mov byte [rcx + 0x1a1], 1
or byte [rdx + 0x8a], 1
cmp word [rdx + 0x88], 0
jne 0x1400330a8
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x140033069
movzx eax, byte [rax + 0x13]
shr al, 1
and eax, 3
cmp al, 1
ja 0x1400330a8
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400330c0
mov r9, qword [rbx + 8]
mov rcx, rdi
mov r8d, dword [rbx + 0x80]
call qword [rdi + 0x438]
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x80], 0xffffffff
call fcn.140088000
mov qword [rbx + 0x10], 0
nop dword [rax]
xor eax, eax
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test byte [rbx + 0x8c], 3
jne 0x1400331c0
cmp ebp, 4
jg 0x140033460
cmp ebp, 1
je 0x140033460
mov rax, qword [rdi + 0x4b8]
test rax, rax
je 0x1400331c0
mov rdx, qword [rdi + 0x28]
mov r8d, r12d
mov rcx, rdi
mov r9, qword [rbx + 8]
call rax
test rax, rax
mov rsi, rax
je 0x1400331c0
mov r9d, 1
mov r8d, 2
mov rcx, rdi
lea rdx, [0x1400b5200]
call fcn.14002bd40
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rdx, rsi
mov r9d, 1
mov rcx, rdi
mov byte [rsi + rax], 0xa
mov r8, rax
xor esi, esi
call fcn.14002bd40
mov rdx, qword [rax + 0x18]
mov qword [rax + 0x28], rdx
movzx eax, byte [rbx + 0x8c]
and eax, 0xfffffffc
or eax, 1
mov byte [rbx + 0x8c], al
mov byte [rdi + 0x1a1], 1
or byte [rbx + 0x8a], 1
nop dword [rax]
movzx eax, byte [rbx + 0x8c]
and eax, 3
cmp qword [rbx + 0x10], 0
je 0x1400334a0
cmp al, 1
je 0x1400331ae
mov dword [rsp + 0x20], esi
mov r8, qword [rbx + 8]
cmp ebp, 6
mov rcx, rdi
setne r9b
xor edx, edx
movzx r9d, r9b
call fcn.14002b420
mov eax, 1
jmp 0x1400330aa
or byte [rbx + 0x8c], 3
test byte [rbx + 0x8a], 4
jne 0x1400331e6
mov r8d, r12d
mov rdx, rbx
mov rcx, rdi
call fcn.140031f10
test al, al
je 0x1400330a8
mov rdx, qword [0x1401f3530]
test rdx, rdx
je 0x1400332a5
cmp ebp, 2
je 0x140033260
cmp byte [rdx + 8], 0
je 0x1400332a5
mov rax, qword [rbx + 0x60]
xor r8d, r8d
add rdx, 0x10
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x48], r8w
lea rcx, [rsp + 0x30]
mov r9d, 0x20
mov qword [rsp + 0x30], rax
mov r8, qword [rdx - 0x10]
lea rax, [0x140031fe0]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_utility_l1_1_0.dll_bsearch
test rax, rax
je 0x1400332a5
mov byte [rdi + 0x1a1], 1
or byte [rbx + 0x8a], 1
jmp 0x1400330a8
mov rax, qword [rbx + 0x60]
add rdx, 0x10
mov qword [rsp + 0x50], rbx
mov r9d, 0x20
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov r8, qword [rdx - 0x10]
mov eax, 0x100
mov word [rsp + 0x48], ax
lea rax, [0x140031fe0]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_utility_l1_1_0.dll_bsearch
test rax, rax
jne 0x1400330a8
cmp byte [rdi + 0x1a1], 0
je 0x1400332c0
mov rsi, qword [rdi + 0x118]
test rsi, rsi
jne 0x1400333a1
nop
mov rax, qword [rdi]
test rax, rax
je 0x140033490
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x140033490
movzx r12d, byte [rdx + 0x14]
movzx eax, byte [rax + 0x69]
cmp r12b, al
cmovb r12d, eax
xor edx, edx
movzx esi, r12b
test esi, esi
setne dl
cmp dword [rdi + 0x540], edx
movzx eax, word [rbx + 0x88]
jle 0x140033318
test ax, ax
jne 0x140033318
mov rdx, qword [rbx + 8]
cmp byte [rdx], 0
jne 0x140033500
nop dword [rax]
and byte [rbx + 0x8a], 0xfb
add eax, 1
xor r9d, r9d
mov word [rbx + 0x88], ax
cmp byte [rdi + 0x4ff], 0
je 0x140033345
movzx r9d, byte [rdi + 0x575]
xor r9d, 1
movzx r9d, r9b
mov rdx, qword [rbx + 0x28]
mov rcx, rdi
mov r8, qword [rbx + 0x60]
call fcn.14002bd40
mov byte [rax + 0x69], r12b
mov rdx, qword [rbx + 0x30]
mov qword [rax + 0x50], rbx
mov qword [rax + 0x28], rdx
mov byte [rdi + 0x1b8], 1
mov qword [rdi + 0x1a8], 0
jmp 0x140033178
mov ecx, dword [rsi + 0x84]
test ecx, ecx
jne 0x140033394
mov rax, qword [rbx + 0x70]
cmp qword [rsi + 0x70], rax
je 0x1400333d0
mov rsi, qword [rsi + 0x20]
test rsi, rsi
je 0x1400332c0
cmp rbx, rsi
je 0x140033394
cmp ebp, 2
je 0x140033380
test byte [rsi + 0x8a], 1
jne 0x140033380
mov rsi, qword [rsi + 0x20]
test rsi, rsi
je 0x1400332c0
cmp rbx, rsi
jne 0x1400333ab
jmp 0x140033394
mov r8, qword [rbx + 0x60]
cmp qword [rsi + 0x60], r8
jne 0x140033394
movzx eax, byte [rsi + 0x8a]
mov r13, rsi
mov r14, qword [rsi + 0x28]
shr al, 2
and eax, 1
test r14, r14
je 0x140033600
test al, al
je 0x140033570
mov rdx, qword [rbx + 0x28]
mov rcx, qword [r13 + 0x28]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
je 0x140033525
test r14, r14
je 0x140033394
test byte [rsi + 0x8a], 4
jne 0x140033394
mov rcx, qword [r13 + 0x30]
mov qword [r13 + 8], 0
call fcn.140088000
mov rcx, qword [r13]
call fcn.140088000
mov rcx, qword [r13 + 8]
call fcn.140088000
mov rcx, r13
call fcn.140088000
jmp 0x140033394
or byte [rbx + 0x8c], 3
test byte [rbx + 0x8a], 4
je 0x1400331d0
mov rdx, qword [0x1401f3530]
test rdx, rdx
jne 0x1400331fb
jmp 0x1400332a5
xor r12d, r12d
xor edx, edx
xor esi, esi
jmp 0x1400332f4
cmp ebp, 2
jg 0x14003318d
mov r9, qword [rdi + 0x28]
mov edx, dword [r9 + 0x38]
cmp edx, 0x6fffffff
je 0x14003318d
sub edx, 1
cmp al, 1
mov dword [r9 + 0x38], edx
jne 0x140033191
mov eax, dword [r9 + 0xc]
xor r8d, r8d
mov edx, dword [r9 + 0x3c]
sub eax, 1
cdqe
shl rax, 5
add rax, qword [r9]
sub edx, dword [rax]
movzx ecx, byte [rax + 0xc]
mov eax, dword [rax + 0x18]
shr edx, cl
mov rcx, r9
lea edx, [rdx + rax - 1]
call fcn.14003df30
jmp 0x1400331ae
cmp qword [rdi + 0x120], rbx
je 0x140033610
mov rcx, qword [rdi + 0x330]
call fcn.140045dc0
movzx eax, word [rbx + 0x88]
jmp 0x140033318
test r14, r14
je 0x1400330a8
test byte [rsi + 0x8a], 4
jne 0x1400330a8
mov rcx, qword [r13 + 0x30]
xor edx, edx
mov qword [r13 + 8], rdx
call fcn.140088000
mov rcx, qword [r13]
call fcn.140088000
mov rcx, qword [r13 + 8]
call fcn.140088000
mov rcx, r13
call fcn.140088000
jmp 0x1400330a8
mov r14, qword [rsi]
mov edx, 0x90
mov ecx, 1
mov r15, qword [rsi + 0x40]
call fcn.140065820
mov dword [rax + 0x80], 0xffffffff
mov r13, rax
mov rcx, r14
mov qword [rax + 0x40], r15
call fcn.140065920
test byte [r13 + 0x8a], 4
movq xmm0, rax
movhps xmm0, qword [rsi + 8]
movups xmmword [r13], xmm0
jne 0x1400335c9
mov r8d, r12d
mov rdx, r13
mov rcx, rdi
call fcn.140031f10
test al, al
je 0x1400335e8
mov r8, qword [r13 + 0x60]
mov rax, qword [rbx + 0x60]
mov r14, qword [rsi + 0x28]
cmp rax, r8
jne 0x140033414
jmp 0x1400333ff
cmp qword [rsi + 0x28], 0
jne 0x14003341d
jmp 0x140033394
test al, al
je 0x1400335b7
jmp 0x1400333ff
cmp byte [rdi + 0x547], 0
jne 0x140033318
jmp 0x14003350d