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

Disassembly:
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd8
movzx eax, word [rsp + 0x140]
xor esi, esi
mov qword [rsp + 0x38], rsi
movzx r10d, r9w
mov r15, r8
mov r8, rdx
mov r9, rcx
mov r11d, esi
mov edi, esi
test ax, ax
je 0x140325190
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x60], 0x40
jne 0x140325b2e
movzx r10d, word [rsp + 0x138]
movzx eax, word [rsp + 0x140]
movzx ebp, word [rdx]
mov word [rsp + 0x62], bp
cmp ebp, 0x3f
ja 0x140325b2e
mov r14d, esi
mov dword [rsp + 0x50], ebp
mov ecx, ebp
mov qword [rsp + 0x90], rsi
mov edx, 0x803
mov dword [rsp + 0x64], esi
mov ebx, 1
mov r12b, 1
shl rbx, cl
mov r13d, ebp
dec rbx
mov dword [rsp + 0x30], r12d
test dx, r10w
mov qword [rsp + 0x78], rbx
mov rcx, rsi
setne r14b
mov qword [rsp + 0x70], rcx
add r14w, 0x182
xor edx, edx
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x80], rdx
nop dword [rax + rax]
cmp rdi, rbx
jae 0x140325ad7
movzx eax, ax
cmp esi, eax
jg 0x140325afa
test esi, esi
jle 0x140325221
or rcx, qword [r11 + 8]
mov qword [rsp + 0x70], rcx
cmp esi, eax
jge 0x140325240
bt r10w, 0xb
mov rax, qword [r15 + 0x18]
mov rsi, qword [rax + rdx*8]
mov qword [rsp + 0x58], rsi
jb 0x140325aa4
jmp 0x14032524d
mov rsi, qword [rsp + 0x148]
mov qword [rsp + 0x58], rsi
mov edx, dword [rsi + 0x38]
bt edx, 0xa
jb 0x140325ae0
movzx eax, r10w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x60], ax
je 0x140325273
xor eax, eax
mov word [rsi + 0x1e], ax
movzx eax, byte [rsi + 0x10]
imul rcx, rax, 0x68
mov rax, qword [r9 + 8]
xor r9d, r9d
mov ebp, r9d
mov r10d, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x40], r10d
test r13d, r13d
je 0x1403253a8
mov r12, qword [rsp + 0x120]
lea r14, [r8 + 8]
mov r15d, r9d
nop word [rax + rax]
mov eax, ebp
bt rdi, rax
jb 0x140325379
mov rbx, qword [r14]
test rbx, rbx
je 0x140325379
nop dword [rax + rax]
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x1403252f8
bt eax, 0x13
jae 0x1403252ea
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1403252ee
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1403252d0
jmp 0x140325379
movzx eax, byte [rbx]
add al, 0x59
test al, 0xfd
jne 0x140325379
cmp dword [rbx + 0x2c], r10d
jne 0x140325379
movzx eax, word [rsp + 0x48]
lea rcx, [r12 + 0x80]
mov r9, qword [rsp + 0x70]
xor edx, edx
movsx r8d, word [rbx + 0x30]
not r9
mov qword [rsp + 0x28], rdx
mov edx, r10d
mov dword [rsp + 0x20], eax
call fcn.14030f910
mov rdi, rax
test rax, rax
je 0x14032536f
movzx r9d, word [rax + 0x14]
cmp r9w, 1
jne 0x1403253df
movzx edx, word [rsi + 0x3c]
xor eax, eax
mov ecx, eax
test edx, edx
je 0x1403253db
mov r8, qword [rsi + 0x48]
movsxd rax, ecx
cmp rdi, qword [r8 + rax*8]
je 0x1403253db
inc ecx
cmp ecx, edx
jl 0x140325360
mov rdi, qword [rsp + 0x38]
mov r10d, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
inc ebp
inc r15
add r14, 0x20
cmp ebp, r13d
jl 0x1403252b0
mov r12d, dword [rsp + 0x30]
xor r9d, r9d
mov edx, dword [rsi + 0x38]
mov r8, qword [rsp + 0x128]
mov r14d, dword [rsp + 0x48]
bt edx, 0xc
jb 0x140325906
bt edx, 8
jae 0x1403254b3
mov ebp, dword [rsp + 0x30]
mov r13, r9
mov qword [rsp + 0x88], r9
mov eax, 1
mov word [rsp + 0x4c], r9w
jmp 0x1403254fb
cmp ecx, edx
jge 0x14032536f
test r9b, 0x82
je 0x140325482
cmp word [rbx + 0x30], 0
jl 0x140325482
mov rbx, qword [r12]
mov rdx, qword [r14]
mov rcx, rbx
call fcn.1402c88d0
mov rsi, rax
test rax, rax
jne 0x140325412
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [rdi]
test dword [rax + 4], 0x400
je 0x140325428
mov rdi, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
jmp 0x140325430
mov rdi, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test dword [rdx + 4], 0x200
jne 0x140325457
test rdi, rdi
je 0x140325447
test dword [rdi + 4], 0x200
jne 0x140325454
mov rcx, rbx
call fcn.1402c88d0
test rax, rax
jne 0x140325468
mov rdx, rdi
mov rcx, rbx
call fcn.1402c88d0
test rax, rax
je 0x14032536f
mov r8, qword [rsi]
mov r9, qword [rax]
sub r9, r8
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x140325495
test ecx, ecx
jne 0x1403254ae
mov rdi, qword [rsp + 0x38]
bts rdi, r15
mov qword [rsp + 0x38], rdi
jmp 0x140325374
lea r10, [0x1405267e0]
movzx edx, byte [rax + r10]
movzx ecx, byte [rcx + r10]
cmp ecx, edx
jne 0x14032536f
inc r8
jmp 0x140325471
mov r13, qword [rsi + 0x20]
mov qword [rsp + 0x88], r13
test r13, r13
je 0x140325b2e
test byte [r13 + 0x64], 4
jne 0x140325b2e
cmp byte [r13 + 0x62], 0
movzx eax, word [r13 + 0x5e]
mov word [rsp + 0x4c], ax
movzx eax, word [r13 + 0x60]
je 0x1403254f4
bt edx, 0xf
jb 0x1403254f4
mov bpl, 1
jmp 0x1403254f7
xor bpl, bpl
mov dword [rsp + 0x30], ebp
xor cl, cl
movzx eax, ax
xor r11b, r11b
mov byte [rsp + 0x35], cl
mov byte [rsp + 0x34], cl
mov r15d, r9d
mov dword [rsp + 0x44], r11d
mov dword [rsp + 0x68], eax
test eax, eax
je 0x1403258fc
nop
movzx r10d, word [rsi + 0x18]
mov bl, 1
cmp r15d, r10d
jge 0x14032559a
movzx eax, word [rsi + 0x3e]
cmp r15d, eax
jl 0x14032559a
mov r9, qword [rsi + 0x48]
movsxd rax, r15d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test r14w, ax
je 0x14032556e
mov ecx, 0x180
mov r9d, 0
test cx, ax
movzx eax, bpl
mov ecx, r9d
cmove ecx, eax
movzx ebp, cl
mov dword [rsp + 0x30], ebp
jmp 0x1403258ce
test bl, al
je 0x140325597
mov r8, qword [rcx]
lea edx, [r15 + 1]
cmp edx, r10d
jge 0x140325597
nop
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x140325595
inc edx
cmp edx, r10d
jl 0x140325580
jmp 0x140325597
xor bl, bl
xor r9d, r9d
test r13, r13
je 0x1403255c7
mov rax, qword [r13 + 8]
movsxd rcx, r15d
movsx r14d, word [rax + rcx*2]
mov rax, qword [r13 + 0x38]
movzx r12d, byte [rcx + rax]
mov rax, qword [r13 + 0x18]
and r12b, 1
movsx ecx, word [rax + 0x34]
cmp r14d, ecx
jne 0x1403255d0
jmp 0x1403255ca
xor r12b, r12b
mov r14d, 0xffffffff
test bpl, bpl
je 0x14032560c
test r14d, r14d
js 0x1403255fc
cmp r15d, r10d
jl 0x14032560c
movsxd rax, r14d
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 8]
test byte [rcx + rdx*8 + 8], 0xf
jne 0x14032560c
mov byte [rsp + 0x30], 0
jmp 0x14032560c
cmp r14d, 0xfffffffe
movzx ebp, bpl
cmove ebp, r9d
mov dword [rsp + 0x30], ebp
mov ebp, r9d
test bl, bl
je 0x1403257bd
nop word [rax + rax]
cmp ebp, dword [rsp + 0x50]
jge 0x1403257b3
mov eax, ebp
bt rdi, rax
jb 0x1403257a9
movsxd rsi, ebp
shl rsi, 5
add rsi, qword [rsp + 0x128]
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x1403257a9
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x14032567a
bt eax, 0x13
jae 0x14032566c
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 8]
jmp 0x140325670
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x140325652
jmp 0x1403257a9
test byte [rsp + 0x138], 0xc0
mov ecx, r9d
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx edi, cl
cmp r14d, 0xffffffff
jl 0x1403256c2
movzx eax, byte [rdx]
cmp al, 0xa7
je 0x1403256a6
cmp al, 0xa9
jne 0x1403257a4
mov eax, dword [rsp + 0x40]
cmp dword [rdx + 0x2c], eax
jne 0x1403257a4
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jne 0x1403257a4
jmp 0x140325737
mov rax, qword [r13 + 0x50]
movsxd rcx, r15d
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x140325704
nop word [rax + rax]
mov eax, dword [r8 + 4]
test eax, 0x82000
je 0x140325704
bt eax, 0x13
jae 0x1403256fb
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
jmp 0x1403256ff
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x1403256e0
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x140325727
bt eax, 0x13
jae 0x14032571e
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x140325722
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x140325704
mov r9d, dword [rsp + 0x40]
xor ecx, ecx
call fcn.1402c8ab0
test eax, eax
jne 0x1403257a1
cmp r14d, 0xffffffff
je 0x1403257fd
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsi + 8]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1402c88d0
test rax, rax
jne 0x140325764
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov r8, qword [rax]
mov rax, qword [r13 + 0x40]
lea r13, [0x1405267e0]
movsxd rcx, r15d
mov r9, qword [rax + rcx*8]
sub r9, r8
nop dword [rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x1403257ea
test edx, edx
jne 0x1403257f8
mov r13, qword [rsp + 0x88]
movzx ebx, dil
test edx, edx
je 0x1403257fd
xor r9d, r9d
mov rdi, qword [rsp + 0x38]
inc ebp
test bl, bl
jne 0x140325620
mov r11d, dword [rsp + 0x44]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x128]
test r15d, r15d
je 0x1403257d8
movzx eax, word [rsp + 0x4c]
cmp r15d, eax
jge 0x1403258de
mov rdi, qword [rsp + 0x38]
xor r12b, r12b
mov dword [rsp + 0x30], r12d
jmp 0x1403258e8
movzx ecx, byte [rax + r13]
movzx edx, byte [rdx + r13]
sub edx, ecx
jne 0x140325791
inc r8
jmp 0x140325780
cmp word [rsp + 0x60], 0
mov rsi, qword [rsp + 0x58]
je 0x140325812
lea eax, [r15 + 1]
mov word [rsi + 0x1e], ax
test byte [rsp + 0x138], 0x40
mov r8, qword [rsp + 0x128]
jne 0x140325877
movsxd rax, ebp
shl rax, 5
movzx ecx, byte [rax + r8 + 0x18]
and cl, 1
cmp byte [rsp + 0x35], 0
je 0x14032584f
xor r12b, byte [rsp + 0x34]
cmp r12b, cl
je 0x140325877
mov r11d, dword [rsp + 0x44]
jmp 0x1403257c5
movzx edx, r12b
xor dl, cl
mov byte [rsp + 0x34], dl
je 0x140325872
mov rdx, qword [rsp + 0x150]
movsxd rax, dword [rsp + 0x64]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x35], 1
movsxd rcx, ebp
mov rax, rcx
shl rax, 5
test byte [rax + r8 + 0x18], 2
je 0x140325899
movzx eax, word [rsi + 0x18]
cmp r15d, eax
jne 0x140325845
or dword [rsi + 0x38], 0x80000
mov r11d, dword [rsp + 0x44]
cmp r14d, 0xffffffff
mov rdi, qword [rsp + 0x38]
mov eax, 1
mov ebp, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x48]
movzx r11d, r11b
cmove r11d, eax
bts rdi, rcx
mov qword [rsp + 0x38], rdi
xor r9d, r9d
mov dword [rsp + 0x44], r11d
inc r15d
cmp r15d, dword [rsp + 0x68]
jl 0x140325520
jmp 0x1403258e3
mov rdi, qword [rsp + 0x38]
mov r12d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
test r11b, r11b
je 0x140325906
mov r12b, 1
mov dword [rsp + 0x30], r12d
jmp 0x14032590f
mov r12d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
test r12b, r12b
je 0x140325a7c
mov r14, qword [rsp + 0x90]
xor r10d, r10d
or r14, qword [rsi + 8]
mov esi, r10d
mov qword [rsp + 0x90], r14
test r13d, r13d
je 0x140325a7c
mov r12, qword [rsp + 0x120]
nop word [rax + rax]
mov eax, esi
bt rdi, rax
jb 0x140325a64
mov eax, esi
shl rax, 5
mov ebp, esi
mov rdi, qword [rax + r8 + 8]
lea rax, [r12 + 0x268]
test rdi, rdi
je 0x1403259ba
cmp byte [rdi], 0xa7
jne 0x140325a39
test byte [rdi + 4], 0x20
jne 0x140325a39
mov r8d, dword [rdi + 0x2c]
cmp dword [rax + 8], r8d
jne 0x14032598a
mov ebx, 1
jmp 0x1403259bd
movsxd r9, dword [rax + 4]
mov r11d, 1
mov edx, r11d
mov ecx, r11d
cmp r11, r9
jge 0x1403259ba
add rax, 0xc
cmp dword [rax], r8d
je 0x140325a2f
inc edx
inc rcx
add rax, 4
cmp rcx, r9
jl 0x1403259a3
mov rbx, r10
test rbx, rbx
jne 0x140325a14
mov dword [rsp + 0xc0], r10d
mov eax, 1
mov word [rsp + 0xbc], ax
lea rax, [fcn.14025b4a0]
mov qword [rsp + 0xa0], rax
lea rax, [0x1402f1140]
mov qword [rsp + 0xa8], rax
test rdi, rdi
je 0x140325a14
mov rdx, rdi
lea rcx, [rsp + 0x98]
call fcn.140321250
cmp word [rsp + 0xbc], bx
je 0x140325a5c
mov rdi, qword [rsp + 0x38]
mov rax, r14
not rax
test rbx, rax
jne 0x140325a61
bts rdi, rbp
mov qword [rsp + 0x38], rdi
jmp 0x140325a61
mov ecx, edx
mov rbx, r11
shl rbx, cl
jmp 0x1403259bd
test dword [rdi + 4], 0x810000
jne 0x1403259ba
mov rdx, rdi
mov rcx, rax
call fcn.14030f6f0
mov rbx, rax
xor r10d, r10d
jmp 0x1403259bd
mov rdi, qword [rsp + 0x38]
xor r10d, r10d
mov r8, qword [rsp + 0x128]
inc esi
cmp esi, r13d
jl 0x140325940
mov r12d, dword [rsp + 0x30]
mov r9, qword [rsp + 0x120]
movzx r10d, word [rsp + 0x138]
mov r14d, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov r15, qword [rsp + 0x130]
mov esi, dword [rsp + 0x64]
inc qword [rsp + 0x80]
inc esi
mov r11, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x80]
movzx eax, word [rsp + 0x140]
mov dword [rsp + 0x64], esi
test r12b, r12b
jne 0x140325200
cmp rdi, rbx
jne 0x140325afa
movzx eax, byte [rsp + 0x62]
jmp 0x140325b30
cmp byte [rsi + 0x20], 0
je 0x140325afa
mov eax, 0x280
and r10w, ax
mov eax, 0x80
cmp r10w, ax
jne 0x140325ad9
test r12b, r12b
jne 0x140325b49
lea ecx, [r13 - 1]
test ecx, ecx
jle 0x140325b2e
cmp ecx, 0x40
jge 0x140325b19
mov edx, 1
shl rdx, cl
dec rdx
jmp 0x140325b1d
xor eax, eax
mov edx, eax
mov rax, rdx
and rax, rdi
cmp rax, rdx
je 0x140325b44
dec ecx
test ecx, ecx
jg 0x140325b07
xor al, al
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx eax, cl
jmp 0x140325b30
mov al, 0xff
jmp 0x140325b30