Function at 0x918e40
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, 0xc8
xor r15d, r15d
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov dword [rsp + 0x120], r8d
mov qword [rsp + 0x128], r9
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
nop dword [rax]
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xa8], 0
mov r14, qword [rsp + 0x118]
mov dword [rax + 0x24], 0
mov eax, dword [rsp + 0x38]
test eax, eax
mov ebx, eax
jle 0x919afe
movzx eax, byte [r14]
lea edx, [rax - 9]
cmp dl, 4
jbe 0x9191d0
cmp al, 0x20
je 0x9191d0
lea rsi, [0x00e9c6a0]
xor eax, eax
test al, 0xfe
jne 0x918f40
movzx ebp, byte [rsi + 8]
cmp ebx, ebp
jl 0x918f40
mov rdx, qword [rsi]
movzx edi, bpl
mov rcx, r14
mov r8, rdi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x918f40
movzx r12d, byte [rsi + 0xa]
cmp r12b, 1
je 0x919300
mov eax, 0xa
movzx edx, byte [r14 + rdi]
cmp dl, 0x29
ja 0x918f40
movabs rdi, 0x30500003e01
bt rdi, rdx
jb 0x9191e2
nop word cs:[rax + rax]
lea rax, str.docsize
add rsi, 0x10
cmp rsi, rax
je 0x918f68
movzx eax, byte [rsi + 9]
test al, 0xfe
je 0x918ee6
lea rax, str.docsize
add rsi, 0x10
cmp rsi, rax
jne 0x918f50
movzx eax, byte [r14]
cmp al, 0x22
je 0x919220
cmp al, 0x28
je 0x919383
cmp al, 0x29
mov rax, qword [rsp + 0x110]
je 0x9199d0
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0x1c]
test eax, eax
jle 0x9192d0
mov rdi, qword [rsp + 0x110]
lea esi, [rax - 1]
xor ebp, ebp
mov rdi, qword [rdi + 0x10]
jmp 0x918fd0
lea rax, [rbp + 1]
cmp rbp, rsi
je 0x9192d0
mov rbp, rax
mov r13, qword [rdi + rbp*8]
mov rcx, r13
call sub.msvcrt.dll_strlen
cmp ebx, eax
mov r12, rax
jle 0x918fc0
cdqe
cmp byte [r14 + rax], 0x3a
jne 0x918fc0
mov r8d, r12d
mov rdx, r14
mov rcx, r13
call fcn.008bf9c0
test eax, eax
jne 0x918fc0
sub r14, qword [rsp + 0x118]
mov dword [rsp + 0x3c], ebp
mov esi, dword [rsp + 0x38]
lea r14d, [r14 + r12 + 1]
movsxd rbx, r14d
add rbx, qword [rsp + 0x118]
sub esi, r14d
mov rax, qword [rsp + 0x110]
test esi, esi
mov rcx, qword [rax]
mov rbp, qword [rcx]
jle 0x919a30
movzx eax, byte [rbx]
lea edx, [rax - 0x28]
cmp dl, 1
jbe 0x919a30
cmp al, 0x22
je 0x919a30
lea r9d, [rsi - 1]
mov eax, 1
add r9, 1
jmp 0x919077
movzx edx, byte [rbx + rax]
add rax, 1
lea r8d, [rdx - 0x28]
cmp r8b, 1
jbe 0x91907f
cmp dl, 0x22
je 0x91907f
cmp r9, rax
mov r13d, eax
jne 0x919060
mov rax, qword [rsp + 0x110]
mov r9d, r13d
mov r8, rbx
xor edi, edi
mov edx, dword [rax + 8]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.008baf40
test eax, eax
mov r12d, eax
jne 0x91913d
lea rax, [rsp + 0xa4]
mov dword [rsp + 0x98], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
lea rdx, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x9c], 0
lea r9, [rsp + 0x9c]
mov dword [rsp + 0xa0], 0
lea r8, [rsp + 0x98]
mov dword [rsp + 0xa4], 0
call qword [rbp + 0x28]
test eax, eax
je 0x9198e0
test r13d, r13d
je 0x9198d0
cmp eax, 0x65
jne 0x9198d0
mov rcx, qword [rsp + 0xb0]
call qword [rbp + 0x20]
lea eax, [r14 + r13]
mov qword [rsp + 0xa8], rdi
mov dword [rsp + 0x3c], eax
test r12d, r12d
jne 0x919538
mov rdi, qword [rsp + 0xa8]
test rdi, rdi
je 0x9192e4
mov r12d, dword [rdi]
cmp r12d, 5
je 0x91917b
cmp qword [rdi + 0x10], 0
je 0x919675
cmp dword [rsp + 0x70], 1
jne 0x919750
test r15, r15
jne 0x9196d0
cmp qword [rsp + 0x68], 0
mov rax, qword [rsp + 0xa8]
je 0x919660
mov qword [r15 + 0x18], rax
mov dword [rsp + 0x70], 0
mov qword [rax + 8], r15
mov r15, rax
movsxd r14, dword [rsp + 0x3c]
sub dword [rsp + 0x38], r14d
add qword [rsp + 0x118], r14
jmp 0x918e90
add r14, 1
sub ebx, 1
jne 0x918ec1
jmp 0x9199f0
mov ecx, 0x40
mov r13d, eax
call fcn.008f8d00
test rax, rax
mov rdi, rax
je 0x919744
sub r14, qword [rsp + 0x118]
mov dword [rax], r12d
mov dword [rax + 4], r13d
mov qword [rsp + 0xa8], rax
lea eax, [rbp + r14]
mov dword [rsp + 0x3c], eax
jmp 0x91916a
cmp ebx, 1
jle 0x919a73
cmp byte [r14 + 1], 0x22
je 0x9193c1
lea rdx, [r14 + 2]
mov esi, 1
jmp 0x919250
add rdx, 1
cmp byte [rdx - 1], 0x22
je 0x9193d0
mov esi, eax
lea eax, [rsi + 1]
cmp ebx, eax
jne 0x919240
mov rax, r14
sub rax, qword [rsp + 0x118]
lea r13d, [rbx + rax + 1]
sub dword [rsp + 0x38], r13d
mov r12d, 1
mov eax, dword [rsp + 0x120]
mov rdi, qword [rsp + 0x130]
sub eax, dword [rsp + 0x38]
mov dword [rdi], eax
mov rcx, qword [rsp + 0x68]
call fcn.00918cd0
xor ecx, ecx
call fcn.00918cd0
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x68]
mov qword [rax], rdi
mov eax, r12d
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [rsp + 0x118]
xor r14d, r14d
mov esi, dword [rsp + 0x38]
jmp 0x919021
movsxd r14, dword [rsp + 0x3c]
sub dword [rsp + 0x38], r14d
add qword [rsp + 0x118], r14
jmp 0x918e90
cmp byte [r14 + 4], 0x2f
jne 0x918f13
movzx ecx, byte [r14 + 5]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x918f13
movzx edx, byte [r14 + rdi + 1]
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x919af3
lea r9, [r14 + rdi]
movsx eax, dl
mov ecx, 1
sub eax, 0x30
cdqe
jmp 0x919361
lea r8, [rax + rax*4]
movsx eax, dl
add rcx, 1
sub eax, 0x30
cdqe
lea rax, [rax + r8*2]
cmp rax, 0x7fffffff
ja 0x918f13
movzx edx, byte [r9 + rcx + 1]
mov r10d, ecx
lea r8d, [rdx - 0x30]
cmp r8b, 9
jbe 0x919341
add r10d, 1
add ebp, r10d
movsxd rdi, ebp
jmp 0x918f18
mov rax, qword [rsp + 0x110]
mov dword [rsp + 0xb8], 0
mov rdi, qword [rsp + 0x110]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x3c], eax
add eax, 1
cmp eax, 0x3e8
mov dword [rdi + 0x30], eax
jle 0x919880
mov r12d, 1
jmp 0x919272
xor esi, esi
mov eax, 1
nop dword [rax + rax]
mov rdx, r14
sub rdx, qword [rsp + 0x118]
lea eax, [rax + rdx + 1]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x110]
lea r8, [r14 + 1]
mov r9d, esi
mov qword [rsp + 0x78], r8
mov rcx, qword [rax]
mov rax, qword [rcx]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x110]
mov edx, dword [rax + 8]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.008baf40
test eax, eax
mov r12d, eax
jne 0x9197a0
lea rax, [rsp + 0x9c]
xor r13d, r13d
xor edi, edi
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xa0]
lea rbp, [rsp + 0xa4]
mov dword [rsp + 0x74], esi
mov r14, rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x88], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rbp
movsxd rbx, r13d
mov dword [rsp + 0x98], 0
mov r9, qword [rsp + 0x50]
mov dword [rsp + 0x9c], 0
mov r8, qword [rsp + 0x48]
mov dword [rsp + 0xa0], 0
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r14
mov rcx, qword [rsp + 0xb0]
mov dword [rsp + 0xa4], 0
call qword [rax + 0x28]
test eax, eax
mov r15d, eax
je 0x919551
mov ebp, eax
mov rax, qword [rsp + 0x40]
movsxd rsi, r12d
mov r12d, ebp
mov r15, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xb0]
call qword [rax + 0x20]
cmp r12d, 0x65
mov qword [rsp + 0xb0], 0
je 0x9197b9
test r12d, r12d
mov qword [rsp + 0xa8], rdi
je 0x919156
mov r13d, dword [rsp + 0x3c]
sub dword [rsp + 0x38], r13d
cmp r12d, 0x65
jne 0x919272
jmp 0x9199f0
lea rsi, [r13 + r13*4]
mov rcx, rdi
shl rsi, 3
lea rdx, [rsi + 0xc0]
call fcn.008ff520
test rax, rax
mov rdi, rax
je 0x919710
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
add edx, r12d
movsxd rdx, edx
call fcn.008ff520
test rax, rax
mov rdx, rax
mov qword [rsp + 0x60], rax
je 0x919710
lea rax, [rdi + rsi + 0x98]
movsxd rcx, r12d
mov qword [rax], 0
add rcx, rdx
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov rdx, qword [rsp + 0xb8]
movsxd r8, dword [rsp + 0x98]
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x98]
lea rdx, [rbx + rbx*4]
add r12d, eax
mov dword [rdi + rdx*8 + 0xa0], eax
xor edx, edx
movsxd rax, dword [rsp + 0xa0]
cmp eax, dword [rsp + 0x74]
jge 0x91961a
mov rcx, qword [rsp + 0x78]
xor edx, edx
cmp byte [rcx + rax], 0x2a
sete dl
lea rax, [rbx + rbx*4]
mov dword [rdi + rax*8 + 0xa4], edx
movsxd rax, dword [rsp + 0x9c]
test eax, eax
jle 0x919644
mov rcx, qword [rsp + 0x80]
xor r15d, r15d
cmp byte [rcx + rax], 0x5e
sete r15b
lea rax, [rbx + rbx*4]
add r13, 1
mov dword [rdi + rax*8 + 0xa8], r15d
jmp 0x919492
mov r15, rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0
jmp 0x9191b6
mov eax, dword [rsp + 0x70]
test eax, eax
jne 0x919aa0
test r15, r15
je 0x919692
cmp r12d, 1
jne 0x919692
cmp dword [r15], 5
jne 0x9196e4
mov rdx, qword [rsp + 0xa8]
jmp 0x9196a9
mov ecx, dword [rdx]
cmp dword [rax], ecx
jg 0x919700
mov r15, rax
mov rax, qword [r15 + 8]
test rax, rax
jne 0x9196a0
mov qword [rsp + 0x68], rdx
mov qword [rdx + 0x10], r15
mov dword [rsp + 0x70], 1
mov qword [r15 + 8], rdx
mov r15, rdx
jmp 0x9191b6
cmp r12d, 5
je 0x91918f
cmp dword [r15], 1
jne 0x91918f
mov rcx, qword [rsp + 0xa8]
mov r12d, 1
call fcn.00918cd0
jmp 0x919287
mov qword [rax + 0x18], rdx
mov qword [rdx + 8], rax
jmp 0x9196b7
mov rcx, qword [rsp + 0xb0]
mov r15, rdi
mov r13d, dword [rsp + 0x3c]
test rcx, rcx
je 0x91972d
mov rax, qword [rsp + 0x40]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.008be220
mov rcx, r15
call fcn.008be220
sub dword [rsp + 0x38], r13d
mov r12d, 7
jmp 0x919272
mov ecx, 0x40
call fcn.008f8d00
test rax, rax
je 0x919adb
mov dword [rax], 3
jmp 0x91977c
cmp dword [rdx], 3
jg 0x9199c0
mov r15, rdx
mov rdx, qword [r15 + 8]
test rdx, rdx
jne 0x919770
mov qword [rsp + 0x68], rax
mov qword [rax + 0x10], r15
mov qword [r15 + 8], rax
mov r15, rax
jmp 0x91918f
mov qword [rsp + 0x60], 0
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp r12d, 0x65
jne 0x919527
movsxd rax, ebx
mov rcx, rdi
lea rbp, [rax + rax*4]
shl rbp, 3
lea rdx, [rsi + rbp + 0xc0]
call fcn.008ff520
test rax, rax
mov rdi, rax
je 0x919710
xor edx, edx
mov rcx, rax
mov r8d, 0x98
lea r12, [rax + 0x40]
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x110]
mov rcx, r12
mov qword [rdi + 0x20], r12
mov dword [rdi], 5
lea rbp, [r12 + rbp + 0x58]
mov eax, dword [rax + 0x20]
mov dword [rdi + 0x90], ebx
mov dword [rdi + 0x94], eax
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x919847
mov r8, rsi
mov rdx, rax
mov rsi, rax
mov rcx, rbp
call sub.msvcrt.dll_memcpy
mov rcx, rsi
call fcn.008be220
mov rcx, qword [rdi + 0x20]
mov ebx, dword [rcx + 0x50]
test ebx, ebx
jle 0x919acb
lea edx, [rbx - 1]
lea rdx, [rdx + rdx*4]
lea rax, [rcx + 0x58]
lea rcx, [rcx + rdx*8 + 0x80]
movsxd rdx, dword [rax + 8]
mov qword [rax], rbp
add rax, 0x28
add rbp, rdx
cmp rcx, rax
jne 0x919862
xor r12d, r12d
jmp 0x919527
mov rcx, qword [rsp + 0x110]
lea rax, [rsp + 0xb8]
lea rdx, [r14 + 1]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa8]
lea r8d, [rbx - 1]
call fcn.00918e40
sub r14, qword [rsp + 0x118]
mov r12d, eax
mov eax, dword [rsp + 0xb8]
lea eax, [rax + r14 + 1]
mov dword [rsp + 0x3c], eax
jmp 0x91914d
mov r12d, eax
xor edi, edi
jmp 0x919132
movsxd rcx, dword [rsp + 0x98]
add rcx, 0xc0
call fcn.008f8d00
test rax, rax
mov rdi, rax
je 0x919a60
mov dword [rax], 5
lea rax, [rax + 0x40]
mov qword [rdi + 0x20], rax
mov eax, dword [rsp + 0x3c]
lea rcx, [rdi + 0xc0]
mov dword [rdi + 0x90], 1
mov dword [rdi + 0x94], eax
movsxd r8, dword [rsp + 0x98]
mov qword [rdi + 0x98], rcx
mov rdx, qword [rsp + 0xb8]
mov dword [rdi + 0xa0], r8d
call sub.msvcrt.dll_memcpy
mov r13d, dword [rsp + 0xa0]
cmp r13d, esi
jl 0x919a38
mov rax, qword [rsp + 0x110]
mov r12d, dword [rax + 0x18]
test r12d, r12d
je 0x919132
mov eax, dword [rsp + 0x9c]
test eax, eax
jle 0x9199b5
movsxd rdx, eax
sub eax, 1
cmp byte [rbx + rdx - 1], 0x5e
cdqe
je 0x91999e
jmp 0x9199b5
sub rax, 1
cmp byte [rbx + rax], 0x5e
jne 0x919abc
mov dword [rdi + 0xa8], 1
test eax, eax
mov edx, eax
jg 0x919990
mov dword [rsp + 0x9c], eax
xor r12d, r12d
jmp 0x919132
mov qword [rdx + 0x18], rax
mov qword [rax + 8], rdx
jmp 0x91978a
sub dword [rax + 0x30], 1
mov rax, r14
sub rax, qword [rsp + 0x118]
add eax, 1
sub dword [rsp + 0x38], eax
nop word cs:[rax + rax]
mov eax, dword [rsp + 0x120]
sub eax, dword [rsp + 0x38]
cmp qword [rsp + 0x68], 0
mov rdi, qword [rsp + 0x130]
je 0x919ab2
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x919ab2
mov dword [rdi], eax
mov r12d, 1
jmp 0x919287
xor r13d, r13d
jmp 0x91907f
movsxd rax, r13d
cmp byte [rbx + rax], 0x2a
jne 0x91995d
mov dword [rdi + 0xa4], 1
add r13d, 1
mov dword [rsp + 0xa0], r13d
jmp 0x91995d
mov r13d, dword [rsp + 0xa0]
mov r12d, 7
jmp 0x919132
mov rax, r14
sub rax, qword [rsp + 0x118]
cmp ebx, 1
lea r13d, [rax + 2]
mov dword [rsp + 0x3c], r13d
je 0x919267
xor esi, esi
jmp 0x9193e3
mov rcx, rdi
call fcn.00918cd0
mov r12d, dword [rsp + 0x70]
jmp 0x919287
mov dword [rdi], eax
xor r12d, r12d
jmp 0x9192a1
mov dword [rsp + 0x9c], edx
xor r12d, r12d
jmp 0x919132
mov qword [rsp + 0xa8], rdi
mov r12d, dword [rdi]
jmp 0x91916a
mov rcx, qword [rsp + 0xa8]
mov r12d, 7
call fcn.00918cd0
jmp 0x919287
mov r10d, 1
jmp 0x919378
je 0x9199f0
mov r14, qword [rsp + 0x118]
mov ebx, dword [rsp + 0x38]
jmp 0x918ed9