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

Disassembly:
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x90
mov rdi, rcx
test rcx, rcx
jne 0x140088aa8
lea rax, [0x14032b894]
mov r9d, 0x13d55
lea r8, str.misuse
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea ecx, [rdi + 0x15]
call fcn.14002cc50
lea eax, [rdi + 0x15]
add rsp, 0x90
pop rdi
ret
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x88], rbx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140088ac3
call qword [0x1403645a0]
mov rdx, qword [rdi]
test rdx, rdx
je 0x140088add
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x140088add
call qword [0x1403645a0]
mov rdx, qword [rdi]
mov ebx, dword [rdi + 0x30]
test ebx, ebx
je 0x140088af0
lea eax, [rbx - 5]
cmp eax, 1
ja 0x1400891e8
mov rcx, qword [rdi + 0x28]
mov r8, qword [rdi + 8]
mov qword [rsp + 0x80], rbp
xor ebp, ebp
mov qword [rsp + 0x78], rsi
mov r9, qword [rcx + 8]
mov rax, qword [r8 + 8]
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r13
mov r12, qword [r9]
mov r13, qword [rax]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x58], r15
mov dword [rsp + 0xb8], ebp
test rdx, rdx
je 0x140088b46
cmp byte [r9 + 0x24], 2
jne 0x140088b46
lea ebx, [rbp + 5]
jmp 0x140088b7b
mov ebx, ebp
test rcx, rcx
je 0x140088b52
cmp byte [rcx + 0x10], bl
jne 0x140088b7b
cmp byte [rcx + 0x11], bl
jne 0x140088b5c
cmp byte [rcx + 0x10], bl
jne 0x140088b6c
xor r8d, r8d
xor edx, edx
call fcn.14012b100
mov rcx, qword [rdi + 0x28]
mov ebx, eax
mov r8, qword [rdi + 8]
mov dword [rsp + 0xb8], 1
cmp dword [rdi + 0x14], ebp
jne 0x140088c07
test ebx, ebx
jne 0x140088c82
mov r14, qword [r8 + 8]
mov rax, qword [rcx + 8]
mov esi, dword [r14 + 0x34]
sub esi, dword [r14 + 0x38]
mov ecx, dword [rax + 0x34]
test esi, esi
mov byte [r14 + 0x26], bpl
cmovle esi, ebp
test byte [r14 + 0x28], 2
jne 0x140088c0b
lea eax, [rcx - 0x200]
cmp eax, 0xfe00
ja 0x140088be2
lea eax, [rcx - 1]
test ecx, eax
jne 0x140088be2
cmp esi, 0x20
jle 0x140088bd6
cmp ecx, 0x200
mov eax, 0x400
cmove ecx, eax
mov dword [r14 + 0x34], ecx
mov rcx, r14
call fcn.14012a820
mov rcx, qword [r14]
lea rdx, [r14 + 0x34]
mov r8d, esi
call fcn.14011fbe0
mov edx, dword [r14 + 0x34]
movzx ecx, si
sub edx, ecx
mov dword [r14 + 0x38], edx
cmp eax, 7
jne 0x140088c0b
mov ebx, eax
jmp 0x140088c82
test ebx, ebx
jne 0x140088c82
cmp dword [rdi + 0x14], ebp
jne 0x140088c82
mov r9, qword [rdi + 8]
lea r8, [rdi + 0x10]
cmp byte [r9 + 0x11], bpl
jne 0x140088c68
cmp byte [r9 + 0x10], 2
jb 0x140088c68
mov rdx, qword [r9 + 8]
test r8, r8
je 0x140088c3e
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax + 0x50]
mov eax, dword [rcx + 0x28]
bswap eax
mov dword [r8], eax
mov rax, qword [r9]
mov rcx, qword [rdx]
mov r8d, dword [rax + 0x2d0]
cmp r8d, dword [rcx + 0x80]
jle 0x140088c64
cmp byte [rcx + 0xa], bpl
je 0x140088c64
mov edx, r8d
call fcn.140122f60
jmp 0x140088c75
mov ebx, ebp
jmp 0x140088c77
mov edx, 2
mov rcx, r9
call fcn.14012b100
mov ebx, eax
test ebx, ebx
jne 0x140088c82
mov dword [rdi + 0x14], 1
mov rax, qword [rdi + 0x28]
mov r15, qword [rax + 8]
mov rax, qword [rdi + 8]
mov ecx, dword [r15 + 0x34]
mov rax, qword [rax + 8]
mov dword [rsp + 0xa0], ecx
mov edx, dword [rax + 0x34]
mov rax, qword [rax]
mov dword [rsp + 0xb0], edx
movzx eax, byte [rax + 9]
mov byte [rsp + 0xa8], al
test ebx, ebx
jne 0x140088cd3
cmp al, 5
je 0x140088cc9
cmp byte [r13 + 0x10], bpl
jne 0x140088cc9
cmp byte [r13 + 0x14], bpl
je 0x140088cd3
cmp ecx, edx
mov eax, 8
cmovne ebx, eax
mov r15d, dword [r15 + 0x40]
lea rsi, [rdi + 0x18]
mov r14d, ebp
nop
cmp r14d, 0x7fffffff
jge 0x140088dc0
mov ebp, dword [rdi + 0x18]
lea rsi, [rdi + 0x18]
cmp ebp, r15d
ja 0x140088dc0
test ebx, ebx
jne 0x140088e03
mov rax, qword [rdi + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x1403fdb5c]
div dword [rcx + 0x34]
inc eax
cmp ebp, eax
je 0x140088db6
lea r9d, [rbx + 2]
mov edx, ebp
lea r8, [rsp + 0x30]
mov rcx, r12
call qword [r12 + 0x110]
mov ebx, eax
test eax, eax
jne 0x140088db6
mov r8, qword [rsp + 0x30]
xor r9d, r9d
mov edx, ebp
mov rcx, rdi
mov r8, qword [r8 + 8]
call fcn.140136480
mov r10, qword [rsp + 0x30]
mov ebx, eax
test r10, r10
je 0x140088db6
test byte [r10 + 0x34], 0x20
je 0x140088dae
mov r8, qword [r10 + 0x28]
dec dword [r8 + 0x98]
mov rax, qword [r8 + 0xa8]
mov qword [r10 + 0x20], rax
mov rcx, qword [r8 + 0x48]
mov qword [r8 + 0xa8], r10
mov edx, dword [r10 + 0x30]
dec edx
imul rdx, qword [r8 + 0xc8]
mov r9, qword [rcx]
mov r8, qword [r10 + 8]
call qword [r9 + 0x90]
inc dword [rsi]
inc r14d
jmp 0x140088ce0
mov rcx, r10
call fcn.14011a5c0
inc dword [rsi]
inc r14d
jmp 0x140088ce0
test ebx, ebx
jne 0x140088e03
mov eax, r15d
mov dword [rdi + 0x38], r15d
sub eax, dword [rsi]
inc eax
mov dword [rdi + 0x34], eax
cmp dword [rsi], r15d
ja 0x140088e0c
cmp dword [rdi + 0x3c], ebx
jne 0x140089168
mov rax, qword [rdi + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [rdi + 0x40], rax
mov qword [rdx + 0x70], rdi
mov dword [rdi + 0x3c], 1
jmp 0x140089168
cmp ebx, 0x65
jne 0x140089168
test r15d, r15d
jne 0x140088e3b
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov dword [rax + 0x40], r15d
mov rcx, qword [rcx + 8]
call fcn.14012b010
mov ebx, eax
mov r15d, 1
test eax, eax
je 0x140088e3b
cmp eax, 0x65
jne 0x140089168
mov rax, qword [rdi + 8]
mov esi, dword [rdi + 0x10]
inc esi
mov rcx, qword [rax + 8]
mov rcx, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x50]
mov rcx, qword [rcx + 0x70]
call fcn.1401227a0
mov ebx, eax
test eax, eax
jne 0x140089168
bswap esi
mov dword [rbp + 0x28], esi
mov rcx, qword [rdi]
test rcx, rcx
je 0x140088e75
call fcn.140167840
cmp byte [rsp + 0xa8], 5
jne 0x140088e97
mov rcx, qword [rdi + 8]
mov edx, 2
call fcn.140136110
mov ebx, eax
test eax, eax
jne 0x140089168
movsxd r10, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xb0]
cmp r10d, ecx
jge 0x140089130
mov r14, qword [r13 + 0x48]
mov eax, ecx
mov ebp, dword [r13 + 0x20]
cdq
idiv r10d
mov r12, r10
mov ecx, eax
dec eax
add eax, r15d
movsxd r15, r15d
cdq
idiv ecx
mov rcx, qword [rdi + 8]
xor edx, edx
mov r9d, eax
mov eax, dword [0x1403fdb5c]
mov r8, qword [rcx + 8]
lea esi, [r9 - 1]
div dword [r8 + 0x34]
inc eax
cmp r9d, eax
cmovne esi, r9d
imul r15, r10
mov qword [rsp + 0x40], r15
nop word [rax + rax]
cmp esi, ebp
ja 0x140088fae
mov rax, qword [rdi + 8]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x1403fdb5c]
div dword [rcx + 0x34]
inc eax
cmp esi, eax
je 0x140088f9f
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, esi
mov rcx, r13
call qword [r13 + 0x110]
mov ebx, eax
test eax, eax
jne 0x140088f9f
mov rcx, qword [rsp + 0x30]
call fcn.1401227a0
mov r10, qword [rsp + 0x30]
mov ebx, eax
test r10, r10
je 0x140088f9f
test byte [r10 + 0x34], 0x20
je 0x140088f97
mov r8, qword [r10 + 0x28]
dec dword [r8 + 0x98]
mov rax, qword [r8 + 0xa8]
mov qword [r10 + 0x20], rax
mov rcx, qword [r8 + 0x48]
mov qword [r8 + 0xa8], r10
mov edx, dword [r10 + 0x30]
dec edx
imul rdx, qword [r8 + 0xc8]
mov r9, qword [rcx]
mov r8, qword [r10 + 8]
call qword [r9 + 0x90]
jmp 0x140088f9f
mov rcx, r10
call fcn.14011a5c0
inc esi
test ebx, ebx
je 0x140088f00
jmp 0x140089168
test ebx, ebx
jne 0x140088fc2
xor edx, edx
lea r8d, [rbx + 1]
mov rcx, r13
call fcn.140122a30
mov ebx, eax
mov eax, dword [rsp + 0xb0]
add eax, dword [0x1403fdb5c]
movsxd rbp, eax
mov eax, dword [rsp + 0xa0]
cmp rbp, r15
cmovge rbp, r15
add eax, dword [0x1403fdb5c]
movsxd rsi, eax
test ebx, ebx
jne 0x140089168
mov r15, qword [rsp + 0x38]
cmp rsi, rbp
jge 0x1400890bf
mov rax, rsi
mov qword [rsp + 0xb0], 0
cqo
lea r8, [rsp + 0xb0]
idiv r12
xor r9d, r9d
mov rcx, r15
lea edx, [rax + 1]
call qword [r15 + 0x110]
mov ebx, eax
test eax, eax
jne 0x140089054
mov rax, qword [rsp + 0xb0]
mov r9, rsi
mov r10, qword [r14]
mov rcx, r14
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rax + 8]
call qword [r10 + 0x18]
mov ebx, eax
mov r8, qword [rsp + 0xb0]
test r8, r8
je 0x1400890af
test byte [r8 + 0x34], 0x20
je 0x1400890a7
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
imul rdx, qword [r10 + 0xc8]
mov r9, qword [rcx]
call qword [r9 + 0x90]
jmp 0x1400890af
mov rcx, r8
call fcn.14011a5c0
add rsi, r12
test ebx, ebx
je 0x140088ff6
jmp 0x140089168
mov rax, qword [r14]
lea rdx, [rsp + 0xa0]
mov rcx, r14
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x1400890f0
mov rdx, qword [rsp + 0x40]
cmp qword [rsp + 0xa0], rdx
jle 0x1400890f0
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x140089168
mov rcx, qword [r13 + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x140089113
xor r8d, r8d
lea edx, [rbx + 0x15]
call qword [rax + 0x50]
cmp eax, 0xc
cmovne ebx, eax
test ebx, ebx
jne 0x140089168
xor ebx, ebx
cmp byte [r13 + 0xb], bl
jne 0x14008914d
movzx edx, byte [r13 + 0xe]
mov rcx, qword [r13 + 0x48]
test edx, edx
je 0x14008914d
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14008914b
mov eax, r10d
xor r8d, r8d
cdq
idiv ecx
xor edx, edx
mov rcx, r13
imul eax, r15d
mov dword [r13 + 0x20], eax
call fcn.140122a30
mov ebx, eax
test ebx, ebx
jne 0x140089168
mov rcx, qword [rdi + 8]
xor edx, edx
call fcn.14012c0c0
mov ebx, eax
mov eax, 0x65
test ebx, ebx
cmove ebx, eax
cmp dword [rsp + 0xb8], 0
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
je 0x1400891d2
mov rcx, qword [rdi + 0x28]
cmp byte [rcx + 0x10], 2
jne 0x1400891c7
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x21], 0
je 0x1400891ab
call fcn.14012bd90
test eax, eax
jne 0x1400891c7
cmp byte [rsi + 0x23], 0
je 0x1400891ba
mov rdx, qword [rsi]
mov eax, dword [rsi + 0x40]
mov dword [rdx + 0x20], eax
mov rcx, qword [rsi]
xor r8d, r8d
xor edx, edx
call fcn.140122a30
mov rcx, qword [rdi + 0x28]
xor edx, edx
call fcn.14012c0c0
mov rsi, qword [rsp + 0x78]
cmp ebx, 0xc0a
mov eax, 7
cmove ebx, eax
mov dword [rdi + 0x30], ebx
mov rax, qword [rdi]
test rax, rax
je 0x1400891ff
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400891ff
call qword [0x1403645b0]
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140089212
call qword [0x1403645b0]
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x90
pop rdi
ret