Function at 0x140256aa0
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 0x140256b10
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x60], 0x40
jne 0x1402574ae
movzx r10d, word [rsp + 0x138]
movzx eax, word [rsp + 0x140]
movzx ebp, word [rdx]
mov word [rsp + 0x62], bp
cmp ebp, 0x3f
ja 0x1402574ae
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 0x140257457
movzx eax, ax
cmp esi, eax
jg 0x14025747a
test esi, esi
jle 0x140256ba1
or rcx, qword [r11 + 8]
mov qword [rsp + 0x70], rcx
cmp esi, eax
jge 0x140256bc0
bt r10w, 0xb
mov rax, qword [r15 + 0x18]
mov rsi, qword [rax + rdx*8]
mov qword [rsp + 0x58], rsi
jb 0x140257424
jmp 0x140256bcd
mov rsi, qword [rsp + 0x148]
mov qword [rsp + 0x58], rsi
mov edx, dword [rsi + 0x38]
bt edx, 0xa
jb 0x140257460
movzx eax, r10w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x60], ax
je 0x140256bf3
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 0x140256d1e
mov r12, qword [rsp + 0x120]
lea r14, [r8 + 8]
mov r15d, r9d
nop word [rax + rax]
mov eax, ebp
bt rdi, rax
jb 0x140256cef
mov rbx, qword [r14]
test rbx, rbx
je 0x140256cef
nop dword [rax + rax]
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x140256c75
bt eax, 0x13
jae 0x140256c6a
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x140256c6e
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140256c50
jmp 0x140256cef
movzx eax, byte [rbx]
add al, 0x59
test al, 0xfd
jne 0x140256cef
cmp dword [rbx + 0x2c], r10d
jne 0x140256cef
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.140241b40
mov rdi, rax
test rax, rax
je 0x140256ce5
movzx r9d, word [rax + 0x14]
cmp r9w, 1
jne 0x140256d55
movzx edx, word [rsi + 0x3c]
xor eax, eax
mov ecx, eax
test edx, edx
je 0x140256d51
mov r8, qword [rsi + 0x48]
movsxd rax, ecx
cmp rdi, qword [r8 + rax*8]
je 0x140256d51
inc ecx
cmp ecx, edx
jl 0x140256cd6
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 0x140256c30
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 0x140257286
bt edx, 8
jae 0x140256e32
mov ebp, dword [rsp + 0x30]
mov r13, r9
mov qword [rsp + 0x88], r9
mov eax, 1
mov word [rsp + 0x4c], r9w
jmp 0x140256e7a
cmp ecx, edx
jge 0x140256ce5
test r9b, 0x82
je 0x140256e01
cmp word [rbx + 0x30], 0
jl 0x140256e01
mov rbx, qword [r12]
mov rdx, qword [r14]
mov rcx, rbx
call fcn.1402010f0
mov rsi, rax
test rax, rax
jne 0x140256d88
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [rdi]
test dword [rax + 4], 0x400
je 0x140256d9e
mov rdi, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
jmp 0x140256da6
mov rdi, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test dword [rdx + 4], 0x200
jne 0x140256dcd
test rdi, rdi
je 0x140256dbd
test dword [rdi + 4], 0x200
jne 0x140256dca
mov rcx, rbx
call fcn.1402010f0
test rax, rax
jne 0x140256dde
mov rdx, rdi
mov rcx, rbx
call fcn.1402010f0
test rax, rax
je 0x140256ce5
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 0x140256e14
test ecx, ecx
jne 0x140256e2d
mov rdi, qword [rsp + 0x38]
bts rdi, r15
mov qword [rsp + 0x38], rdi
jmp 0x140256cea
lea r10, [0x14028d7e0]
movzx edx, byte [rax + r10]
movzx ecx, byte [rcx + r10]
cmp ecx, edx
jne 0x140256ce5
inc r8
jmp 0x140256df0
mov r13, qword [rsi + 0x20]
mov qword [rsp + 0x88], r13
test r13, r13
je 0x1402574ae
test byte [r13 + 0x64], 4
jne 0x1402574ae
cmp byte [r13 + 0x62], 0
movzx eax, word [r13 + 0x5e]
mov word [rsp + 0x4c], ax
movzx eax, word [r13 + 0x60]
je 0x140256e73
bt edx, 0xf
jb 0x140256e73
mov bpl, 1
jmp 0x140256e76
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 0x14025727c
nop
movzx r10d, word [rsi + 0x18]
mov bl, 1
cmp r15d, r10d
jge 0x140256f1a
movzx eax, word [rsi + 0x3e]
cmp r15d, eax
jl 0x140256f1a
mov r9, qword [rsi + 0x48]
movsxd rax, r15d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test r14w, ax
je 0x140256eee
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 0x14025724e
test bl, al
je 0x140256f17
mov r8, qword [rcx]
lea edx, [r15 + 1]
cmp edx, r10d
jge 0x140256f17
nop
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x140256f15
inc edx
cmp edx, r10d
jl 0x140256f00
jmp 0x140256f17
xor bl, bl
xor r9d, r9d
test r13, r13
je 0x140256f47
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 0x140256f50
jmp 0x140256f4a
xor r12b, r12b
mov r14d, 0xffffffff
test bpl, bpl
je 0x140256f8c
test r14d, r14d
js 0x140256f7c
cmp r15d, r10d
jl 0x140256f8c
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 0x140256f8c
mov byte [rsp + 0x30], 0
jmp 0x140256f8c
cmp r14d, 0xfffffffe
movzx ebp, bpl
cmove ebp, r9d
mov dword [rsp + 0x30], ebp
mov ebp, r9d
test bl, bl
je 0x14025713d
nop word [rax + rax]
cmp ebp, dword [rsp + 0x50]
jge 0x140257133
mov eax, ebp
bt rdi, rax
jb 0x140257129
movsxd rsi, ebp
shl rsi, 5
add rsi, qword [rsp + 0x128]
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140257129
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x140256ffa
bt eax, 0x13
jae 0x140256fec
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 8]
jmp 0x140256ff0
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x140256fd2
jmp 0x140257129
test byte [rsp + 0x138], 0xc0
mov ecx, r9d
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx edi, cl
cmp r14d, 0xffffffff
jl 0x140257042
movzx eax, byte [rdx]
cmp al, 0xa7
je 0x140257026
cmp al, 0xa9
jne 0x140257124
mov eax, dword [rsp + 0x40]
cmp dword [rdx + 0x2c], eax
jne 0x140257124
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jne 0x140257124
jmp 0x1402570b7
mov rax, qword [r13 + 0x50]
movsxd rcx, r15d
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x140257084
nop word [rax + rax]
mov eax, dword [r8 + 4]
test eax, 0x82000
je 0x140257084
bt eax, 0x13
jae 0x14025707b
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
jmp 0x14025707f
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x140257060
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1402570a7
bt eax, 0x13
jae 0x14025709e
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x1402570a2
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x140257084
mov r9d, dword [rsp + 0x40]
xor ecx, ecx
call fcn.140201300
test eax, eax
jne 0x140257121
cmp r14d, 0xffffffff
je 0x14025717d
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsi + 8]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1402010f0
test rax, rax
jne 0x1402570e4
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 0x14025716a
test edx, edx
jne 0x140257178
mov r13, qword [rsp + 0x88]
movzx ebx, dil
test edx, edx
je 0x14025717d
xor r9d, r9d
mov rdi, qword [rsp + 0x38]
inc ebp
test bl, bl
jne 0x140256fa0
mov r11d, dword [rsp + 0x44]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x128]
test r15d, r15d
je 0x140257158
movzx eax, word [rsp + 0x4c]
cmp r15d, eax
jge 0x14025725e
mov rdi, qword [rsp + 0x38]
xor r12b, r12b
mov dword [rsp + 0x30], r12d
jmp 0x140257268
movzx ecx, byte [rax + r13]
movzx edx, byte [rdx + r13]
sub edx, ecx
jne 0x140257111
inc r8
jmp 0x140257100
cmp word [rsp + 0x60], 0
mov rsi, qword [rsp + 0x58]
je 0x140257192
lea eax, [r15 + 1]
mov word [rsi + 0x1e], ax
test byte [rsp + 0x138], 0x40
mov r8, qword [rsp + 0x128]
jne 0x1402571f7
movsxd rax, ebp
shl rax, 5
movzx ecx, byte [rax + r8 + 0x18]
and cl, 1
cmp byte [rsp + 0x35], 0
je 0x1402571cf
xor r12b, byte [rsp + 0x34]
cmp r12b, cl
je 0x1402571f7
mov r11d, dword [rsp + 0x44]
jmp 0x140257145
movzx edx, r12b
xor dl, cl
mov byte [rsp + 0x34], dl
je 0x1402571f2
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 0x140257219
movzx eax, word [rsi + 0x18]
cmp r15d, eax
jne 0x1402571c5
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 0x140256ea0
jmp 0x140257263
mov rdi, qword [rsp + 0x38]
mov r12d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
test r11b, r11b
je 0x140257286
mov r12b, 1
mov dword [rsp + 0x30], r12d
jmp 0x14025728f
mov r12d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
test r12b, r12b
je 0x1402573fc
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 0x1402573fc
mov r12, qword [rsp + 0x120]
nop word [rax + rax]
mov eax, esi
bt rdi, rax
jb 0x1402573e4
mov eax, esi
shl rax, 5
mov ebp, esi
mov rdi, qword [rax + r8 + 8]
lea rax, [r12 + 0x258]
test rdi, rdi
je 0x14025733a
cmp byte [rdi], 0xa7
jne 0x1402573b9
test byte [rdi + 4], 0x20
jne 0x1402573b9
mov r8d, dword [rdi + 0x2c]
cmp dword [rax + 8], r8d
jne 0x14025730a
mov ebx, 1
jmp 0x14025733d
movsxd r9, dword [rax + 4]
mov r11d, 1
mov edx, r11d
mov ecx, r11d
cmp r11, r9
jge 0x14025733a
add rax, 0xc
cmp dword [rax], r8d
je 0x1402573af
inc edx
inc rcx
add rax, 4
cmp rcx, r9
jl 0x140257323
mov rbx, r10
test rbx, rbx
jne 0x140257394
mov dword [rsp + 0xc0], r10d
mov eax, 1
mov word [rsp + 0xbc], ax
lea rax, [fcn.1401c6f00]
mov qword [rsp + 0xa0], rax
lea rax, [0x140222c80]
mov qword [rsp + 0xa8], rax
test rdi, rdi
je 0x140257394
mov rdx, rdi
lea rcx, [rsp + 0x98]
call fcn.140252b40
cmp word [rsp + 0xbc], bx
je 0x1402573dc
mov rdi, qword [rsp + 0x38]
mov rax, r14
not rax
test rbx, rax
jne 0x1402573e1
bts rdi, rbp
mov qword [rsp + 0x38], rdi
jmp 0x1402573e1
mov ecx, edx
mov rbx, r11
shl rbx, cl
jmp 0x14025733d
test dword [rdi + 4], 0x810000
jne 0x14025733a
mov rdx, rdi
mov rcx, rax
call fcn.140241920
mov rbx, rax
xor r10d, r10d
jmp 0x14025733d
mov rdi, qword [rsp + 0x38]
xor r10d, r10d
mov r8, qword [rsp + 0x128]
inc esi
cmp esi, r13d
jl 0x1402572c0
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 0x140256b80
cmp rdi, rbx
jne 0x14025747a
movzx eax, byte [rsp + 0x62]
jmp 0x1402574b0
cmp byte [rsi + 0x20], 0
je 0x14025747a
mov eax, 0x280
and r10w, ax
mov eax, 0x80
cmp r10w, ax
jne 0x140257459
test r12b, r12b
jne 0x1402574c9
lea ecx, [r13 - 1]
test ecx, ecx
jle 0x1402574ae
cmp ecx, 0x40
jge 0x140257499
mov edx, 1
shl rdx, cl
dec rdx
jmp 0x14025749d
xor eax, eax
mov edx, eax
mov rax, rdx
and rax, rdi
cmp rax, rdx
je 0x1402574c4
dec ecx
test ecx, ecx
jg 0x140257487
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 0x1402574b0
mov al, 0xff
jmp 0x1402574b0