Function at 0x140256390
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 0x140256400
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x60], 0x40
jne 0x140256d9e
movzx r10d, word [rsp + 0x138]
movzx eax, word [rsp + 0x140]
movzx ebp, word [rdx]
mov word [rsp + 0x62], bp
cmp ebp, 0x3f
ja 0x140256d9e
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 0x140256d47
movzx eax, ax
cmp esi, eax
jg 0x140256d6a
test esi, esi
jle 0x140256491
or rcx, qword [r11 + 8]
mov qword [rsp + 0x70], rcx
cmp esi, eax
jge 0x1402564b0
bt r10w, 0xb
mov rax, qword [r15 + 0x18]
mov rsi, qword [rax + rdx*8]
mov qword [rsp + 0x58], rsi
jb 0x140256d14
jmp 0x1402564bd
mov rsi, qword [rsp + 0x148]
mov qword [rsp + 0x58], rsi
mov edx, dword [rsi + 0x38]
bt edx, 0xa
jb 0x140256d50
movzx eax, r10w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x60], ax
je 0x1402564e3
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 0x14025660e
mov r12, qword [rsp + 0x120]
lea r14, [r8 + 8]
mov r15d, r9d
nop word [rax + rax]
mov eax, ebp
bt rdi, rax
jb 0x1402565df
mov rbx, qword [r14]
test rbx, rbx
je 0x1402565df
nop dword [rax + rax]
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x140256565
bt eax, 0x13
jae 0x14025655a
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x14025655e
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140256540
jmp 0x1402565df
movzx eax, byte [rbx]
add al, 0x59
test al, 0xfd
jne 0x1402565df
cmp dword [rbx + 0x2c], r10d
jne 0x1402565df
movzx eax, word [rsp + 0x48]
lea rcx, [r12 + 0x70]
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.140241430
mov rdi, rax
test rax, rax
je 0x1402565d5
movzx r9d, word [rax + 0x14]
cmp r9w, 1
jne 0x140256645
movzx edx, word [rsi + 0x3c]
xor eax, eax
mov ecx, eax
test edx, edx
je 0x140256641
mov r8, qword [rsi + 0x48]
movsxd rax, ecx
cmp rdi, qword [r8 + rax*8]
je 0x140256641
inc ecx
cmp ecx, edx
jl 0x1402565c6
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 0x140256520
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 0x140256b76
bt edx, 8
jae 0x140256722
mov ebp, dword [rsp + 0x30]
mov r13, r9
mov qword [rsp + 0x88], r9
mov eax, 1
mov word [rsp + 0x4c], r9w
jmp 0x14025676a
cmp ecx, edx
jge 0x1402565d5
test r9b, 0x82
je 0x1402566f1
cmp word [rbx + 0x30], 0
jl 0x1402566f1
mov rbx, qword [r12]
mov rdx, qword [r14]
mov rcx, rbx
call fcn.1402009e0
mov rsi, rax
test rax, rax
jne 0x140256678
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [rdi]
test dword [rax + 4], 0x400
je 0x14025668e
mov rdi, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
jmp 0x140256696
mov rdi, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test dword [rdx + 4], 0x200
jne 0x1402566bd
test rdi, rdi
je 0x1402566ad
test dword [rdi + 4], 0x200
jne 0x1402566ba
mov rcx, rbx
call fcn.1402009e0
test rax, rax
jne 0x1402566ce
mov rdx, rdi
mov rcx, rbx
call fcn.1402009e0
test rax, rax
je 0x1402565d5
mov r8, qword [rsi]
mov r9, qword [rax]
sub r9, r8
nop word [rax + rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x140256704
test ecx, ecx
jne 0x14025671d
mov rdi, qword [rsp + 0x38]
bts rdi, r15
mov qword [rsp + 0x38], rdi
jmp 0x1402565da
lea r10, [0x14028d7e0]
movzx edx, byte [rax + r10]
movzx ecx, byte [rcx + r10]
cmp ecx, edx
jne 0x1402565d5
inc r8
jmp 0x1402566e0
mov r13, qword [rsi + 0x20]
mov qword [rsp + 0x88], r13
test r13, r13
je 0x140256d9e
test byte [r13 + 0x64], 4
jne 0x140256d9e
cmp byte [r13 + 0x62], 0
movzx eax, word [r13 + 0x5e]
mov word [rsp + 0x4c], ax
movzx eax, word [r13 + 0x60]
je 0x140256763
bt edx, 0xf
jb 0x140256763
mov bpl, 1
jmp 0x140256766
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 0x140256b6c
nop
movzx r10d, word [rsi + 0x18]
mov bl, 1
cmp r15d, r10d
jge 0x14025680a
movzx eax, word [rsi + 0x3e]
cmp r15d, eax
jl 0x14025680a
mov r9, qword [rsi + 0x48]
movsxd rax, r15d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test r14w, ax
je 0x1402567de
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 0x140256b3e
test bl, al
je 0x140256807
mov r8, qword [rcx]
lea edx, [r15 + 1]
cmp edx, r10d
jge 0x140256807
nop
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x140256805
inc edx
cmp edx, r10d
jl 0x1402567f0
jmp 0x140256807
xor bl, bl
xor r9d, r9d
test r13, r13
je 0x140256837
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 0x140256840
jmp 0x14025683a
xor r12b, r12b
mov r14d, 0xffffffff
test bpl, bpl
je 0x14025687c
test r14d, r14d
js 0x14025686c
cmp r15d, r10d
jl 0x14025687c
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 0x14025687c
mov byte [rsp + 0x30], 0
jmp 0x14025687c
cmp r14d, 0xfffffffe
movzx ebp, bpl
cmove ebp, r9d
mov dword [rsp + 0x30], ebp
mov ebp, r9d
test bl, bl
je 0x140256a2d
nop word [rax + rax]
cmp ebp, dword [rsp + 0x50]
jge 0x140256a23
mov eax, ebp
bt rdi, rax
jb 0x140256a19
movsxd rsi, ebp
shl rsi, 5
add rsi, qword [rsp + 0x128]
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140256a19
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1402568ea
bt eax, 0x13
jae 0x1402568dc
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 8]
jmp 0x1402568e0
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1402568c2
jmp 0x140256a19
test byte [rsp + 0x138], 0xc0
mov ecx, r9d
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx edi, cl
cmp r14d, 0xffffffff
jl 0x140256932
movzx eax, byte [rdx]
cmp al, 0xa7
je 0x140256916
cmp al, 0xa9
jne 0x140256a14
mov eax, dword [rsp + 0x40]
cmp dword [rdx + 0x2c], eax
jne 0x140256a14
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jne 0x140256a14
jmp 0x1402569a7
mov rax, qword [r13 + 0x50]
movsxd rcx, r15d
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x140256974
nop word [rax + rax]
mov eax, dword [r8 + 4]
test eax, 0x82000
je 0x140256974
bt eax, 0x13
jae 0x14025696b
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
jmp 0x14025696f
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x140256950
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x140256997
bt eax, 0x13
jae 0x14025698e
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x140256992
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x140256974
mov r9d, dword [rsp + 0x40]
xor ecx, ecx
call fcn.140200bf0
test eax, eax
jne 0x140256a11
cmp r14d, 0xffffffff
je 0x140256a6d
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsi + 8]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1402009e0
test rax, rax
jne 0x1402569d4
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov r8, qword [rax]
mov rax, qword [r13 + 0x40]
lea r13, [0x14028d7e0]
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 0x140256a5a
test edx, edx
jne 0x140256a68
mov r13, qword [rsp + 0x88]
movzx ebx, dil
test edx, edx
je 0x140256a6d
xor r9d, r9d
mov rdi, qword [rsp + 0x38]
inc ebp
test bl, bl
jne 0x140256890
mov r11d, dword [rsp + 0x44]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x128]
test r15d, r15d
je 0x140256a48
movzx eax, word [rsp + 0x4c]
cmp r15d, eax
jge 0x140256b4e
mov rdi, qword [rsp + 0x38]
xor r12b, r12b
mov dword [rsp + 0x30], r12d
jmp 0x140256b58
movzx ecx, byte [rax + r13]
movzx edx, byte [rdx + r13]
sub edx, ecx
jne 0x140256a01
inc r8
jmp 0x1402569f0
cmp word [rsp + 0x60], 0
mov rsi, qword [rsp + 0x58]
je 0x140256a82
lea eax, [r15 + 1]
mov word [rsi + 0x1e], ax
test byte [rsp + 0x138], 0x40
mov r8, qword [rsp + 0x128]
jne 0x140256ae7
movsxd rax, ebp
shl rax, 5
movzx ecx, byte [rax + r8 + 0x18]
and cl, 1
cmp byte [rsp + 0x35], 0
je 0x140256abf
xor r12b, byte [rsp + 0x34]
cmp r12b, cl
je 0x140256ae7
mov r11d, dword [rsp + 0x44]
jmp 0x140256a35
movzx edx, r12b
xor dl, cl
mov byte [rsp + 0x34], dl
je 0x140256ae2
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 0x140256b09
movzx eax, word [rsi + 0x18]
cmp r15d, eax
jne 0x140256ab5
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 0x140256790
jmp 0x140256b53
mov rdi, qword [rsp + 0x38]
mov r12d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
test r11b, r11b
je 0x140256b76
mov r12b, 1
mov dword [rsp + 0x30], r12d
jmp 0x140256b7f
mov r12d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
test r12b, r12b
je 0x140256cec
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 0x140256cec
mov r12, qword [rsp + 0x120]
nop word [rax + rax]
mov eax, esi
bt rdi, rax
jb 0x140256cd4
mov eax, esi
shl rax, 5
mov ebp, esi
mov rdi, qword [rax + r8 + 8]
lea rax, [r12 + 0x258]
test rdi, rdi
je 0x140256c2a
cmp byte [rdi], 0xa7
jne 0x140256ca9
test byte [rdi + 4], 0x20
jne 0x140256ca9
mov r8d, dword [rdi + 0x2c]
cmp dword [rax + 8], r8d
jne 0x140256bfa
mov ebx, 1
jmp 0x140256c2d
movsxd r9, dword [rax + 4]
mov r11d, 1
mov edx, r11d
mov ecx, r11d
cmp r11, r9
jge 0x140256c2a
add rax, 0xc
cmp dword [rax], r8d
je 0x140256c9f
inc edx
inc rcx
add rax, 4
cmp rcx, r9
jl 0x140256c13
mov rbx, r10
test rbx, rbx
jne 0x140256c84
mov dword [rsp + 0xc0], r10d
mov eax, 1
mov word [rsp + 0xbc], ax
lea rax, [fcn.1401c67f0]
mov qword [rsp + 0xa0], rax
lea rax, [0x140222570]
mov qword [rsp + 0xa8], rax
test rdi, rdi
je 0x140256c84
mov rdx, rdi
lea rcx, [rsp + 0x98]
call fcn.140252430
cmp word [rsp + 0xbc], bx
je 0x140256ccc
mov rdi, qword [rsp + 0x38]
mov rax, r14
not rax
test rbx, rax
jne 0x140256cd1
bts rdi, rbp
mov qword [rsp + 0x38], rdi
jmp 0x140256cd1
mov ecx, edx
mov rbx, r11
shl rbx, cl
jmp 0x140256c2d
test dword [rdi + 4], 0x810000
jne 0x140256c2a
mov rdx, rdi
mov rcx, rax
call fcn.140241210
mov rbx, rax
xor r10d, r10d
jmp 0x140256c2d
mov rdi, qword [rsp + 0x38]
xor r10d, r10d
mov r8, qword [rsp + 0x128]
inc esi
cmp esi, r13d
jl 0x140256bb0
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 0x140256470
cmp rdi, rbx
jne 0x140256d6a
movzx eax, byte [rsp + 0x62]
jmp 0x140256da0
cmp byte [rsi + 0x20], 0
je 0x140256d6a
mov eax, 0x280
and r10w, ax
mov eax, 0x80
cmp r10w, ax
jne 0x140256d49
test r12b, r12b
jne 0x140256db9
lea ecx, [r13 - 1]
test ecx, ecx
jle 0x140256d9e
cmp ecx, 0x40
jge 0x140256d89
mov edx, 1
shl rdx, cl
dec rdx
jmp 0x140256d8d
xor eax, eax
mov edx, eax
mov rax, rdx
and rax, rdi
cmp rax, rdx
je 0x140256db4
dec ecx
test ecx, ecx
jg 0x140256d77
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 0x140256da0
mov al, 0xff
jmp 0x140256da0