Function at 0x18001f540
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x960]
sub rsp, 0xa60
mov rax, qword [0x1800a8088]
xor rax, rsp
mov qword [rbp + 0x950], rax
mov eax, r8d
mov qword [rbp - 0x38], rcx
xor edi, edi
mov qword [rbp - 0x78], r9
mov r8, rcx
mov dword [rbp - 0x70], eax
imul ecx, eax, 0x4ba
mov rsi, r9
mov r9, qword [rbp + 0x9c0]
mov r15, rdx
mov qword [rbp - 0x58], rdx
lea r11d, [rdi + 0x6c]
mov qword [rbp - 0x50], r9
mov ebx, eax
mov dword [rsp + 0x70], ecx
cmp eax, ecx
ja 0x180020549
mov eax, dword [rsp + 0x58]
lea ecx, [rdi + 0x28]
mov r12, qword [rbp - 0x80]
lea r11d, [rdi + 0x74]
mov r13, qword [rbp - 0x40]
lea r10d, [rdi + 0x75]
mov r14d, dword [rbp + 0x6a0]
lea r8d, [rdi + 0x65]
mov dword [rbp - 0x60], eax
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x68], rax
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x40], al
mov edx, 0x72
cmp ebx, 0xd381
ja 0x1800200c9
je 0x180020099
mov eax, ebx
sub eax, 0xcf
je 0x18002003b
sub eax, 0x26
je 0x18002002c
sub eax, 8
je 0x18001ffff
sub eax, 0x693e
je 0x18001fff0
cmp eax, 0x378
jne 0x180020331
mov ecx, 0x107
cmp ecx, 0x107
je 0x18001f685
cmp ecx, 0x45dc
je 0x18001fc7e
cmp ecx, 0xcf86
jne 0x18001fc83
cmp qword [r12 + 0x28], 0
je 0x180020316
mov eax, VarR8FromI2
nop dword [rax + rax]
cmp eax, 0x4b
je 0x18001fe8b
dec eax
cmp eax, 0x4a
ja 0x18001f670
jmp 0x18001fc83
cmp qword [r12 + 0x18], 0
je 0x18001f6e6
cmp r12, rsi
je 0x18001f6e6
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
mov r8d, 0xe5
mov byte [rsp + 0x48], 0x2c
call fcn.1800237a0
cmp eax, 1
je 0x18001f6d4
mov eax, 0x84
nop word [rax + rax]
cmp eax, 0x84
je 0x18002035c
dec eax
cmp eax, 0x83
ja 0x18001f6c0
mov r10d, 0x75
lea r8d, [r10 - 0x10]
lea r11d, [r10 - 1]
lea edx, [r10 - 3]
movsxd rax, dword [r12]
cmp eax, 6
ja case.default.0x18001f705
lea r9, [0x180000000]
mov ecx, dword [r9 + rax*4 + 0x2099c]
add rcx, r9
jmp rcx
mov esi, reloc.OLEAUT32.dll_VarUI2FromUI1
nop dword [rax]
mov eax, esi
sub eax, reloc.OLEAUT32.dll_VarUI2FromUI1
je 0x18001faf8
sub eax, 0x34
je 0x18001fab4
sub eax, 0x34
je 0x18001f77b
cmp eax, 0x34
jne 0x18001fb84
cmp byte [rsp + 0x52], 0
je 0x18001fc69
mov r15, qword [rbp]
mov ebx, 0x6c
nop dword [rax + rax]
mov eax, ebx
sub eax, 0x6c
je 0x18001fc3b
sub eax, 1
je 0x18001fc29
cmp eax, 1
jne 0x18001fc56
mov rcx, r13
call qword [sym.imp.dbghelp.dll_SymCleanup]
jmp 0x18001fc56
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x18001f85f
cmp dword [rax], 2
jne 0x18001fb84
cmp qword [r12 + 0x28], 0
je 0x18001f7c2
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
mov r8d, 0xe5
mov byte [rsp + 0x48], 0x3a
call fcn.1800237a0
cmp eax, 1
jne 0x1800204dd
jmp 0x18001fb84
mov ebx, 0xa3
cmp ebx, 0xa3
je 0x18001f842
cmp ebx, 0x5924
je 0x18001f80e
cmp ebx, 0xb1a5
jne 0x18001f848
mov rax, qword [rsp + 0x78]
mov rcx, qword [rbp + 0x950]
xor rcx, rsp
call fcn.1800618d0
mov rbx, qword [rsp + 0xab0]
add rsp, 0xa60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
lea r9, [rsp + 0x68]
xor ecx, ecx
lea r8d, [rdx + 0x2c]
call fcn.180003f40
xor edx, edx
mov qword [rbp - 0x58], rdi
mov r8d, 0x40000
mov ecx, r14d
mov r15, rdi
call qword [sym.imp.WINMM.dll_mmioInstallIOProcW]
mov dword [rsp + 0x78], 8
jmp 0x18001f848
mov r14d, 0x32595559
add ebx, 0x5881
cmp ebx, 0x10983
jbe 0x18001f7c7
jmp 0x18001fb84
cmp qword [r12 + 0x28], 0
je 0x18001fa0e
mov ebx, 0xa7
lea edi, [rbx - 0x39]
lea r15d, [rbx - 0x40]
nop word [rax + rax]
cmp ebx, 0xa7
je 0x18001f98c
cmp ebx, 0x6e3f
je 0x18001f970
cmp ebx, 0xdbd7
je 0x18001f929
cmp ebx, 0x1496f
je 0x18001f8d4
cmp ebx, 0x1b707
jne 0x18001f9f1
mov r8, qword [sym.imp.WININET.dll_InternetConfirmZoneCrossingW]
lea rdx, [rbp + 0x6e8]
lea rcx, [rbp + 0x10]
call fcn.180001120
jmp 0x18001f9f1
mov word [rbp + 0x701], di
lea rdx, [0x180097760]
mov r8d, 1
mov word [rbp + 0x702], r15w
lea rcx, [rbp + 0x6e8]
call fcn.18006c780
lea rdx, [0x180099888]
lea rcx, [rbp + 0x6e8]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, reloc.oledlg.dll_OleUIPromptUserA
lea rcx, [rbp + 0x706]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x18001f9f1
lea rdx, str.oneC
mov word [rbp + 0x6f7], VarDateFromCy
lea rcx, [rbp + 0x6e8]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [str.ossi]
mov edx, 0x72
mov word [rbp + 0x6fc], dx
mov dword [rbp + 0x6fd], eax
movzx eax, byte [0x180099ad8]
mov byte [rbp + 0x701], al
jmp 0x18001f9f1
mov eax, dword [str.nfirm]
mov dword [rbp + 0x6f2], eax
movzx eax, word [0x180099ac8]
mov word [rbp + 0x6f6], ax
jmp 0x18001f9f1
lea rax, [rbp + 0x6e8]
mov byte [rbp + 0x6e8], 0
dec rax
nop dword [rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x18001f9a0
movzx ecx, word [0x180099adc]
lea rdx, str.netCo
mov word [rax], cx
lea rcx, [rbp + 0x6e8]
movzx eax, word [0x180099ae0]
mov word [rbp + 0x6e9], ax
movzx eax, word [0x180096d20]
mov word [rbp + 0x6eb], ax
movzx eax, byte [0x180096d22]
mov byte [rbp + 0x6ed], al
call qword [sym.imp.KERNEL32.dll_lstrcatA]
add ebx, 0x6d98
cmp ebx, 0x223f8
jbe 0x18001f880
mov r15, qword [rbp - 0x58]
xor edi, edi
jmp 0x18001f79a
mov ebx, 0x95
mov eax, ebx
sub eax, 0x95
je 0x18001fa7c
cmp eax, 0x15
jne 0x18001faa0
mov rbx, qword [rbp - 0x48]
lea esi, [rax + 0x34]
lea r14d, [rax + 0x54]
mov edi, 0x28
lea r12d, [rax + 0x59]
mov eax, edi
sub eax, 0x28
je 0x180020494
sub eax, 1
je 0x18002046b
sub eax, 1
je 0x180020455
sub eax, 1
je 0x18002040e
cmp eax, 1
jne 0x1800204a3
mov r8, rbx
lea rdx, [rbp + 0x6b8]
lea rcx, [rbp + 0x10]
call fcn.180001120
jmp 0x1800204a3
xor edx, edx
lea r9, [rsp + 0x68]
xor ecx, ecx
lea r8d, [rdx + 0x2c]
call fcn.180003f40
mov rax, qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
mov r15, rdi
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x58], rdi
add ebx, 0x15
cmp ebx, 0xbf
jb 0x18001fa13
jmp 0x18001fb84
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.dbghelp.dll_SymInitialize]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
mov r8d, 0xe5
mov byte [rsp + 0x48], 0x22
mov ebx, eax
call fcn.1800237a0
cmp eax, 1
jne 0x1800204dd
test ebx, ebx
jne 0x18001fb84
mov byte [rsp + 0x52], bl
jmp 0x18001fb84
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
mov r8d, 0xe5
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x48], 0x22
call fcn.1800237a0
cmp eax, 1
jne 0x1800204dd
mov r9, qword [r12 + 8]
mov r13, 0xffffffffffffffff
mov qword [rbp - 0x40], r13
mov rax, r13
inc rax
cmp byte [r9 + rax], 0
jne 0x18001fb33
mov qword [rbp - 8], rax
lea rdx, [rbp - 8]
mov rax, qword [rsp + 0x68]
xor r8d, r8d
mov ecx, 0x8c
mov qword [rsp + 0x20], rax
call fcn.1800523d0
cmp eax, 1
je 0x18001fb84
mov eax, 0x9e
nop word [rax + rax]
cmp eax, 0x9e
je 0x1800204bb
dec eax
cmp eax, 0x9d
ja 0x18001fb70
add esi, 0x34
cmp esi, 0x1d0
jb 0x18001f710
mov rsi, qword [rbp - 0x78]
mov ebx, SafeArrayLock
nop dword [rax]
cmp ebx, 0xd
jbe case.0x18001f705.2
mov eax, ebx
sub eax, 0xe
je 0x18001fc69
sub eax, 1
je 0x18001fcbc
sub eax, 1
je 0x180020316
sub eax, 1
je 0x18001fc9a
cmp eax, 1
jne 0x18001fcea
mov r9, qword [r12 + 8]
mov byte [rsp + 0x51], al
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x18001fbf0
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x20]
mov rax, qword [rsp + 0x68]
xor r8d, r8d
mov ecx, 0x8c
mov qword [rsp + 0x20], rax
call fcn.1800523d0
cmp eax, 1
jne 0x1800204dd
dec ebx
jmp 0x18001fba0
lea r8, [rbp + 0x10]
mov rdx, r15
mov rcx, r13
call qword [sym.imp.dbghelp.dll_SymGetModuleInfo64]
jmp 0x18001fc56
xor edx, edx
lea rcx, [rbp + 0x14]
mov r8d, 0x68c
mov r15, rdi
call fcn.180063960
mov dword [rbp + 0x10], 0x690
inc ebx
cmp ebx, 0x6f
jb 0x18001f750
mov qword [rbp], r15
mov r15, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x78]
mov edx, 0x72
lea r11d, [rdx + 2]
lea r8d, [rdx - 0xd]
lea r10d, [rdx + 3]
mov ecx, 0x45dc
add ecx, 0x44d5
cmp ecx, 0x11354
jbe 0x18001f637
jmp 0x180020316
xor edx, edx
mov qword [rbp - 0x30], 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rdx - 1]
call qword [sym.imp.dbghelp.dll_SymInitialize]
mov dword [rsp + 0x58], eax
dec ebx
jmp 0x18001fba0
cmp dword [rsp + 0x58], 0
mov ecx, edi
movzx eax, byte [rsp + 0x51]
cmovne ecx, eax
mov byte [rsp + 0x51], cl
cmp cl, 0
je 0x18001fcea
mov rcx, qword [rbp - 0x30]
xor edx, edx
call qword [sym.imp.dbghelp.dll_SymUnloadModule64]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.dbghelp.dll_SymCleanup]
dec ebx
jmp 0x18001fba0
mov ebx, VarR8FromI2
mov eax, ebx
sub eax, 0x4a
je 0x18001fd4b
sub eax, 0x39
je 0x18001fd16
sub eax, 0x39
je 0x180020316
cmp eax, 0x39
je 0x18001fc69
jmp 0x18001fd6a
mov rax, qword [rsp + 0x68]
lea r9, [rbp + 0x6a0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x80], 4
mov ecx, 0x8c
call fcn.1800523d0
cmp eax, 1
jne 0x1800204dd
jmp 0x18001fd6a
mov word [rbp + 0x6a0], r11w
mov word [rbp + 0x6a1], dx
mov word [rbp + 0x6a2], r10w
mov word [rbp + 0x6a3], r8w
add ebx, 0x39
cmp ebx, 0x12e
jae case.0x18001f705.5
mov edx, 0x72
lea r11d, [rdx + 2]
lea r8d, [rdx - 0xd]
lea r10d, [rdx + 3]
jmp 0x18001fcf6
mov ecx, 0x11f
mov eax, ecx
sub eax, 0x11f
je 0x18001fe01
sub eax, 1
je 0x18001fde7
cmp eax, 1
jne 0x18001fe19
mov eax, 0x65
mov qword [rbp - 0x80], 5
mov word [rbp + 0x6b4], ax
lea r9, [rbp + 0x6b0]
mov rax, qword [rsp + 0x68]
lea rdx, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov ecx, 0x8c
call fcn.1800523d0
cmp eax, 1
jne 0x1800204dd
jmp 0x180020316
mov eax, 0x6c
mov word [rbp + 0x6b2], ax
mov eax, 0x73
mov word [rbp + 0x6b3], ax
jmp 0x18001fe19
mov eax, 0x66
mov word [rbp + 0x6b0], ax
mov eax, 0x61
mov word [rbp + 0x6b1], ax
inc ecx
cmp ecx, 0x122
jb 0x18001fd90
mov ecx, 0x24
nop dword [rax]
cmp ecx, 0x4a40
ja case.default.0x18001f705
cmp ecx, 0x24
je 0x18001fe61
cmp ecx, 0x18e4
je 0x18001ff6c
cmp ecx, 0x31a4
je 0x18001fc6d
add ecx, 0x18c0
jmp 0x18001fe30
movzx eax, word [0x180099b1a]
add ecx, 0x18c0
mov word [rbp + 0x6a9], ax
movzx eax, byte [0x180099b1c]
mov byte [rbp + 0x6ab], al
mov byte [rbp + 0x6a8], 0x6e
jmp 0x18001fe30
mov r12, qword [r12 + 0x28]
mov ebx, reloc.OLEAUT32.dll_VarBoolFromStr
mov qword [rbp - 0x80], r12
lea edi, [rbx - 0x72]
lea r8d, [rbx - 9]
lea r10d, [rbx - 0x1b]
lea r13d, [rbx - 0x39]
lea r12d, [rbx - 0xc]
nop dword [rax]
cmp ebx, 0x7c
je 0x18001ff2c
cmp ebx, 0x4544
je 0x18001ff0b
cmp ebx, 0x8a0c
jne 0x18001ff3e
mov r8, qword [sym.imp.OLEAUT32.dll_VarBstrCmp]
lea rdx, [rbp + 0x6d8]
mov dword [rbp + 0x6e1], 0x252074
lea rcx, [rbp + 0x750]
mov word [rbp + 0x6e4], r12w
mov word [rbp + 0x6e5], di
call fcn.180001120
mov edx, 0x72
lea r8d, [rdx + 1]
lea r10d, [rdx - 0x11]
lea r11d, [rdx + 2]
jmp 0x18001ff3e
mov word [rbp + 0x6dd], r11w
mov word [rbp + 0x6de], dx
mov word [rbp + 0x6df], r13w
mov word [rbp + 0x6e0], r10w
jmp 0x18001ff3e
mov dword [rbp + 0x6d8], 0x42726156
mov word [rbp + 0x6dc], r8w
add ebx, 0x44c8
cmp ebx, 0xce58
jbe 0x18001feb0
mov r15, qword [rbp - 0x58]
xor edi, edi
mov r12, qword [rbp - 0x80]
mov ebx, VarUI2FromUI1
mov r13, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x78]
jmp 0x18002031b
mov rax, qword [rsp + 0x68]
lea r9, [rbp + 0x6a8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov byte [rbp + 0x6ac], 0
mov ecx, 0x8c
mov qword [rbp - 0x80], 4
call fcn.1800523d0
cmp eax, 1
jne 0x1800204dd
jmp 0x180020316
mov byte [rsp + 0x48], VarBoolFromStr
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
mov r8d, 0xe5
call fcn.1800237a0
cmp eax, 1
jne 0x1800204dd
mov rax, qword [r12 + 0x28]
test rax, rax
je 0x180020316
mov r12, rax
mov ebx, VarUI2FromUI1
jmp 0x18002031b
mov byte [rsp + 0x48], VarDateFromCy
jmp 0x18001ffb0
mov dword [rbp + 0x712], 0x4e0079
jmp 0x180020331
lea r9, [rbp - 0x80]
mov qword [rbp - 0x80], 8
xor r8d, r8d
xor edx, edx
mov ecx, 0xec
mov r12, rsi
call fcn.180034c30
mov qword [rsp + 0x68], rax
mov ebx, VarUI2FromUI1
jmp 0x18002031b
mov dword [rbp + 0x710], VarR8FromI2
jmp 0x180020331
mov edx, 0x10016
mov r8d, 2
cmp dword [r9], edx
mov rcx, rsi
cmovl edx, dword [r9]
neg edx
call fcn.180067298
cmp eax, 0xffffffff
jne 0x18002006a
call fcn.18006be3c
cmp dword [rax], 0x1b
jne 0x1800204ea
mov rcx, rsi
call fcn.180065fa4
mov ecx, 0x10016
mov dword [rbp - 0x60], eax
call fcn.18006cfe0
mov qword [rbp - 0x68], rax
test rax, rax
je 0x180020515
mov rcx, rsi
call fcn.180066998
jmp 0x18002031b
mov eax, dword [0x180099a60]
mov dword [rbp + 0x716], eax
movzx eax, word [0x180099a64]
mov word [rbp + 0x71a], ax
movabs rax, 0x74006e00690072
mov qword [rbp + 0x71c], rax
jmp 0x180020331
cmp ebx, 0xda69
je 0x180020192
cmp ebx, 0x13cc7
je 0x180020183
cmp ebx, 0x1a60d
je 0x18002013f
cmp ebx, 0x20f53
jne 0x180020331
mov r8d, 1
mov dword [rbp + 0x742], 0x6c0064
lea rdx, [0x180099a2e]
mov word [rbp + 0x746], di
lea rcx, [rbp + 0x730]
call fcn.180065fac
mov r9, qword [rbp - 0x50]
mov ecx, 0x28
mov dl, 1
mov byte [rsp + 0x40], dl
lea r11d, [rcx + 0x4c]
lea r8d, [rcx + 0x3d]
lea r10d, [rcx + 0x4d]
jmp 0x180020336
mov r8d, 5
mov word [rbp + 0x728], di
lea rdx, [0x180099b92]
mov word [rbp + 0x730], di
lea rcx, [rbp + 0x730]
call fcn.180065fac
movabs rax, 0x2e003200330079
mov word [rbp + 0x742], di
mov qword [rbp + 0x73a], rax
jmp 0x18002031b
mov dword [rbp + 0x724], 0x720065
jmp 0x180020331
movsxd rax, dword [r12]
cmp eax, 6
ja case.default.0x1800201ac
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x209b8]
add rcx, rdx
jmp rcx
mov byte [rsp + 0x48], 0x7d
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
mov r8d, 0xe5
call fcn.1800237a0
cmp eax, 1
jne 0x1800204dd
jmp case.0x1800201ac.0
mov byte [rsp + 0x48], 0x5d
jmp 0x1800201b3
mov ebx, VarR4FromDec
nop word [rax + rax]
cmp ebx, 0xd5
je 0x1800202af
cmp ebx, 0x36ea
je 0x18002029c
cmp ebx, 0x6cff
je 0x180020287
cmp ebx, 0xa314
je 0x180020244
cmp ebx, 0xd929
jne 0x1800202d4
xor edx, edx
lea r9, [rsp + 0x68]
xor ecx, ecx
lea r8d, [rdx + 0x2c]
call fcn.180003f40
mov eax, 0xa
mov dword [rsp + 0x78], eax
jmp 0x18001f7df
cmp byte [rsp + 0x50], 0
je 0x1800202d4
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rdi
lea rdx, [rbp + 0x6b8]
lea rcx, [rbp + 0x6e8]
call qword [sym.imp.OLEAUT32.dll_OleTranslateColor]
mov dword [rsp + 0x60], eax
cmp eax, 0
je 0x18002027b
mov byte [rsp + 0x50], 0
jmp 0x1800202d4
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1800202d4
movzx eax, byte [rsp + 0x50]
mov ecx, edi
cmp dword [rsp + 0x60], 0
cmove ecx, eax
mov byte [rsp + 0x50], cl
jmp 0x1800202d4
lea rcx, [rbp + 0x6b8]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [rsp + 0x60], eax
jmp 0x1800202d4
xorps xmm0, xmm0
mov byte [rsp + 0x50], 1
xor eax, eax
movups xmmword [rbp + 0x6e8], xmm0
mov dword [rbp + 0x6e8], ecx
movups xmmword [rbp + 0x6f8], xmm0
mov qword [rbp + 0x708], rax
add ebx, 0x3615
mov ecx, 0x28
cmp ebx, 0x10e69
jbe 0x1800201f0
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x18002051f
cmp r12, rsi
je 0x18002051f
mov r12, qword [r12 + 0x10]
test r12, r12
je 0x180020313
mov ebx, VarUI2FromUI1
jmp 0x18002031b
mov r12, rax
mov ebx, 0x6db3
mov r9, qword [rbp - 0x50]
mov r10d, 0x75
lea r8d, [r10 - 0x10]
lea r11d, [r10 - 1]
lea ecx, [r10 - 0x4d]
movzx edx, byte [rsp + 0x40]
imul eax, dword [rbp - 0x70], 0x6e
add ebx, eax
cmp ebx, dword [rsp + 0x70]
jbe 0x18001f5e6
mov r10, qword [rbp - 0x68]
mov r11d, 0x6c
mov eax, dword [rbp - 0x70]
mov r8, qword [rbp - 0x38]
jmp 0x180020561
mov ebx, 0xc4
cmp ebx, 0xc4
je 0x18002038a
cmp ebx, 0x6bf4
jne 0x1800203ef
mov r8, qword [sym.imp.ole32.dll_CoMarshalHresult]
lea rdx, [rbp + 0x6b8]
lea rcx, [rbp + 0x10]
call fcn.180001120
jmp 0x1800203ef
movzx eax, word [0x180099ab0]
lea rdx, reloc.oledlg.dll_OleUIPromptUserA
movsd xmm0, qword [str.CoMarshal]
lea rcx, [rbp + 0x6cb]
mov word [rbp + 0x6c0], ax
mov eax, dword [str.Hresul]
mov dword [rbp + 0x6c1], eax
movzx eax, word [0x180099ab8]
mov word [rbp + 0x6c5], ax
mov eax, dword [str.t__p]
mov dword [rbp + 0x6c7], eax
movzx eax, byte [0x180099ac0]
mov byte [rbp + 0x6cb], al
movsd qword [rbp + 0x6b8], xmm0
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
add ebx, 0x6b30
cmp ebx, 0xd660
jbe 0x180020361
mov dword [rsp + 0x78], 6
jmp 0x18001f7df
mov word [rbp + 0x6c5], r14w
lea rdx, str.izeUr
mov r8d, 5
mov dword [rbp + 0x6c6], 0x6c6163
lea rcx, [rbp + 0x6b8]
call fcn.18006c780
mov eax, dword [str.l__p_n]
mov dword [rbp + 0x6ce], eax
movzx eax, word [reloc.oledlg.dll_OleUIPromptUserA]
mov word [rbp + 0x6d2], ax
jmp 0x1800204a3
lea rdx, [0x18009690c]
lea rcx, [rbp + 0x6c4]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1800204a3
lea rdx, str.netCan
mov dword [rbp + 0x6ba], 0x726574
lea rcx, [rbp + 0x6b8]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov word [rbp + 0x6c3], 0x6f
jmp 0x1800204a3
mov word [rbp + 0x6b8], si
mov word [rbp + 0x6b9], r12w
inc edi
cmp edi, 0x2d
jb 0x18001fa35
mov dword [rsp + 0x78], 8
jmp 0x18001f7df
xor edx, edx
lea rcx, [rbp + 0x14]
mov r8d, 0xac
call fcn.180063960
lea rcx, [rbp + 0x10]
mov dword [rbp + 0x10], VarDecMul
call qword [sym.imp.oledlg.dll_OleUIInsertObjectA]
mov dword [rsp + 0x78], 6
jmp 0x18001f7df
mov dword [rsp + 0x58], 4
mov r8, qword [rbp - 0x38]
lea rdx, [rsp + 0x58]
mov r9d, 0x11f
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call fcn.18003fe30
mov rax, rdi
jmp 0x18001f7e4
mov dword [rsp + 0x58], SafeArrayLock
jmp 0x1800204f2
mov rcx, qword [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov edx, 0xb4
call fcn.180051180
mov qword [r15], rax
mov dword [rsp + 0x78], 1
jmp 0x18001f7df
mov r10, qword [rbp - 0x48]
movzx edx, byte [rsp + 0x48]
mov ecx, dword [rsp + 0x58]
mov qword [rbp - 0x68], r10
mov byte [rsp + 0x40], dl
mov dword [rbp - 0x60], ecx
lea r13d, [rax + 0x23c]
mov dword [rbp + 0x6a0], r13d
cmp eax, r13d
jae 0x18001f7df
mov esi, dword [rbp + 0x6a0]
mov r14, qword [rbp - 0x48]
mov r12, qword [rbp - 0x48]
mov ebx, dword [rbp + 0x6a0]
mov qword [rbp - 0x40], rsi
cmp eax, 0x1f9
ja case.0x1800205d1.217
je 0x18001f7df
add eax, 0xffffff31
cmp eax, 0xf6
ja case.0x1800205d1.217
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x20a00]
mov ecx, dword [rcx + rax*4 + 0x209d4]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
test dl, dl
je case.0x1800205d1.217
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.WINSPOOL.DRV_EndPagePrinter]
mov rcx, qword [rbp - 0x28]
mov dword [rsp + 0x58], eax
call qword [sym.imp.WINSPOOL.DRV_ClosePrinter]
movzx edx, byte [rsp + 0x40]
jmp case.0x1800205d1.217
mov eax, r10d
mov dword [rsp + 0x70], 4
sub eax, r14d
lea r9, [0x180099bac]
add eax, 0xffffffee
lea rcx, [rsp + 0x70]
add eax, esi
mov r8d, 0x101
mov dword [rsp + 0x60], eax
mov rdx, r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.180023c60
mov r14, rax
test rax, rax
je 0x180020790
mov eax, dword [r15]
lea r9, [rbp - 0x18]
mov rcx, qword [rbp - 0x68]
lea r8, [rbp + 0x6b0]
mov qword [rsp + 0x38], rcx
lea rdx, [rbp + 0x6a8]
mov dword [rbp + 0x6a8], eax
lea rcx, [rbp - 0x30]
mov eax, dword [rbp - 0x60]
inc r14
mov qword [rsp + 0x30], rcx
mov r13, r12
mov rcx, qword [rbp - 0x78]
mov dword [rbp + 0x6b0], eax
lea rax, [r14 - 1]
mov dword [rsp + 0x28], 0x2f
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x30], esi
call fcn.180043ff0
mov rsi, rax
test rax, rax
je 0x18002073e
test r12, r12
je 0x180020715
test ebx, ebx
jg 0x1800206cf
mov rcx, qword [rbp - 0x78]
lea r9, [rbp - 0x18]
mov r8, r12
mov dword [rsp + 0x20], 0xd8
xor edx, edx
call fcn.1800182a0
mov rbx, rax
mov rcx, qword [rbp - 0x78]
lea r9, [rbp - 0x18]
mov r8, rsi
mov dword [rsp + 0x20], 0xd8
xor edx, edx
call fcn.1800182a0
mov r15, rax
cmp ebx, eax
jge 0x1800206f5
mov r12, rsi
jmp 0x1800206f8
mov r13, rsi
mov rdx, r13
mov ecx, 0xf9
call fcn.180022830
cmp ebx, r15d
cmovge r15d, ebx
mov ebx, r15d
mov r15, qword [rbp - 0x58]
jmp 0x18002073e
test byte [r15], 4
mov r12, rsi
je 0x18002073c
mov rcx, qword [rbp - 0x78]
lea r9, [rbp - 0x18]
mov r8, rsi
mov dword [rsp + 0x20], 0xd8
xor edx, edx
call fcn.1800182a0
mov ebx, eax
jmp 0x18002073e
mov ebx, edi
mov eax, dword [rbp - 0x68]
lea r9, [0x180099bac]
mov rsi, qword [rbp - 0x40]
lea rcx, [rsp + 0x70]
sub eax, r14d
mov dword [rsp + 0x70], 4
add eax, 0xffffffee
mov r8d, 0x101
add eax, esi
mov rdx, r14
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.180023c60
mov r14, rax
test rax, rax
jne 0x180020644
mov r13d, dword [rbp + 0x6a0]
mov rcx, qword [rbp - 0x68]
call fcn.18006c3d8
movzx edx, byte [rsp + 0x40]
jmp case.0x1800205d1.217
mov rax, qword [r15]
lea r8, [rbp - 0x48]
mov rcx, qword [rbp - 0x78]
mov edx, 0x11d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r9
xor r9d, r9d
mov qword [rbp - 0x48], rax
call fcn.180054ed0
mov rcx, qword [rbp - 0x50]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rdi
lea r8d, [r9 + 0x20]
call fcn.18002e750
movzx eax, byte [rsp + 0x40]
mov ecx, edi
cmp dword [rsp + 0x58], 0
cmovne ecx, eax
movzx edx, cl
mov byte [rsp + 0x40], cl
jmp case.0x1800205d1.217
mov r8d, 0x12b
lea rdx, [rbp + 0x730]
mov rcx, r11
call fcn.18001c8f0
movzx edx, byte [rsp + 0x40]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], 0xffffffffffffffff
jmp case.0x1800205d1.217
mov byte [rsp + 0x78], 1
jmp case.0x1800205d1.217
mov r9, qword [rbp - 0x78]
mov edx, 1
mov r8d, 0x10016
mov rcx, r10
call fcn.18006cb98
movzx edx, byte [rsp + 0x40]
mov rsi, rax
mov qword [rbp - 0x40], rax
jmp case.0x1800205d1.217
mov rcx, qword [rbp - 0x78]
call fcn.180066040
test eax, eax
jne 0x180020919
mov r14, qword [rbp - 0x68]
lea r8, [rsp + 0x70]
mov r9d, 0x112
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x70], SafeArrayLock
lea rcx, [rbp - 0x18]
mov r12, rdi
lea ebx, [rax - 1]
call fcn.18002d330
movzx edx, byte [rsp + 0x40]
jmp case.0x1800205d1.217
cmp qword [r8 + 0x18], 0x10
mov rdx, r8
mov r15, qword [r8 + 0x10]
jb 0x1800208b0
mov rdx, qword [r8]
mov rcx, qword [rbp - 0x78]
mov r8d, r15d
call qword [rbp - 0x20]
cmp eax, r15d
jne 0x180020951
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x710]
call qword [sym.imp.WINSPOOL.DRV_OpenPrinterW]
movzx edx, byte [rsp + 0x40]
mov dword [rsp + 0x58], eax
jmp case.0x1800205d1.217
test ebx, ebx
js 0x18002095b
mov r10d, dword [rbp - 0x70]
add r10d, 0x34
mov dword [rbp - 0x70], r10d
cmp r10d, r13d
jae 0x18001f7df
mov r15, qword [rbp - 0x58]
mov r11d, 0x6c
mov r10, qword [rbp - 0x68]
mov eax, dword [rbp - 0x70]
mov r8, qword [rbp - 0x38]
mov r9, qword [rbp - 0x50]
jmp 0x180020590
mov r8, qword [rbp - 0x38]
lea rdx, [rbp + 0x6a0]
mov r9d, 0x11f
mov dword [rbp + 0x6a0], 5
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18003fe30
mov rcx, qword [rbp - 0x68]
call fcn.18006c3d8
mov rax, rdi
jmp 0x18001f7e4
mov byte [rsp + 0x78], 0
jmp 0x18001f7df
lea rax, [rbp - 0x18]
mov dword [rbp + 0x6a0], edi
mov r9d, 0x11f
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x6a0]
xor ecx, ecx
call fcn.18003fe30
mov rdx, r12
mov ecx, 0xf9
call fcn.180022830
mov rax, rdi
jmp 0x18001f7e4
mov rax, r12
jmp 0x18001f7e4