Function at 0x1800086c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
lea edi, [r8 - 0xc]
mov r15, rcx
lea rcx, [0x180000000]
mov r14d, r8d
mov rsi, rdx
cmp r8d, edi
jbe 0x1800088be
mov edx, 0x3a
lea ebx, [r8 - 0x59]
mov r8d, dword [rbp + 0x77]
mov r9d, 0x412d
mov r13d, 0x20
mov dword [rbp + 0x77], r8d
lea r11d, [rdx + 0xd]
lea r12d, [rdx + 0x35]
lea r10d, [rdx + 9]
cmp ebx, r13d
ja case.default.0x180008744
movzx eax, byte [rcx + rbx + 0x90fc]
mov ecx, dword [rcx + rax*4 + 0x90c8]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
lea rdx, str.lose
lea rcx, [rbp - 0x2c]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x55
mov word [rbp - 1], ax
mov dword [rbp], 0x726573
mov r8d, dword [rbp + 0x77]
mov edx, 0x3a
mov r9d, 0x412d
lea r10d, [rdx + 9]
lea r11d, [rdx + 0xd]
jmp case.0x180008744.12
mov eax, VarR4FromCy
mov word [rbp + 0x7f], r11w
mov word [rbp + 0x80], ax
mov eax, 0x54
mov word [rbp + 0x81], ax
jmp case.0x180008744.12
mov word [rbp + 3], r9w
jmp case.0x180008744.12
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 0x4b]
call fcn.180028490
jmp 0x180008767
mov word [rbp - 0x24], r12w
mov dword [rbp - 0x23], 0x3a7473
jmp case.0x180008744.12
mov r8d, 2
lea rdx, [0x18008f820]
lea rcx, [rbp - 0x11]
call fcn.1800650e0
lea rdx, str.HTTP
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [str._1.1]
mov dword [rbp - 0xc], eax
movzx eax, byte [0x18008f830]
mov byte [rbp - 8], al
mov eax, 0x48
mov word [rbp - 0x25], ax
jmp 0x180008767
mov ecx, 0x6e
mov dword [rbp + 0x16], 0x6e6f69
mov word [rbp + 0x11], cx
mov dword [rbp + 0x12], 0x7463656e
jmp case.0x180008744.12
cmp dword [r15], 1
jle 0x180008948
mov r8d, dword [rbp + 0x77]
mov dword [rbp + 0x77], r8d
jmp case.0x180008744.12
mov word [rbp + 0x10], r12w
jmp case.0x180008744.12
mov eax, VarCyFromDate
mov word [rbp + 0x19], dx
mov word [rbp - 0x2d], ax
mov word [rbp + 0x1a], r13w
jmp case.0x180008744.12
mov word [rbp - 0x20], r13w
mov word [rbp + 0xf], r10w
lea rcx, [0x180000000]
dec ebx
lea eax, [rbx + 0x59]
cmp eax, edi
ja 0x180008722
jmp 0x1800088c6
cmp qword [0x1800a0a80], 0
je 0x1800088b8
cmp qword [0x1800a0a78], 0
je 0x1800088b8
mov byte [rbp + 0x77], 1
mov eax, dword [rbp + 0x77]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov byte [rbp + 0x77], 0
jmp 0x18000889a
mov r8d, dword [rbp + 0x77]
mov dword [rbp + 0x77], r8d
lea eax, [r14 + 0x510]
mov dword [rbp - 0x31], eax
cmp r14d, eax
jae 0x18000889a
mov r12d, dword [rbp + 0x77]
lea rdi, [0x18008f858]
mov r13, qword [rbp + 0x7f]
mov edx, 0x203a
mov r9d, 0x6567
mov r10d, 0x74
nop word [rax + rax]
cmp r14d, 0x1a5
ja 0x180008c88
je 0x180008aad
lea eax, [r14 - 0x61]
cmp eax, 0xf0
ja case.0x18000893b.103
movzx eax, byte [rcx + rax + 0x913c]
mov ecx, dword [rcx + rax*4 + 0x9120]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
cmp qword [rbp - 0x19], 0
jne case.0x18000893b.103
mov eax, 4
jmp 0x18000889d
mov eax, 0x55555556
imul r8d
mov r12d, edx
shr r12d, 0x1f
add r12d, edx
lea ecx, [r12 + r12*2]
cmp r8d, ecx
jne 0x180008948
movsxd rax, r12d
lea rcx, [rax + rax*2]
call fcn.18006717c
mov r13, rax
jmp 0x180008c43
mov dword [rbp + 5], 0x6e6567
mov word [rbp + 8], r10w
jmp case.0x18000893b.103
lea rdx, [0x18008f834]
lea rcx, str.test.rgb
call fcn.18006106c
mov qword [rbp - 0x19], rax
jmp 0x180008c43
mov byte [rbp + 0xb], 0
lea rax, [rbp + 0x7f]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800089c0
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180008a09
lea rax, [rcx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x1800089f0
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, rdi
mov rcx, rbx
lea rdx, [rbp + 0x7f]
call fcn.18005d880
mov byte [rbx + rdi], 0
jmp 0x180008a1d
lea r9, [rbp + 0x7f]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, rsi
call fcn.180052b90
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x180008a46
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180008a3e
mov rax, qword [rsi]
mov word [rax + rcx], 0x20
jmp 0x180008a51
mov r9b, 0x20
mov rcx, rsi
call fcn.180052a30
cmp qword [r15 + 0x38], 0x10
lea rax, [r15 + 0x20]
jb 0x180008a5f
mov rax, qword [rax]
cmp byte [rax], 0x2f
je 0x180008c3c
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x180008a94
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180008a89
mov rax, qword [rsi]
mov word [rax + rcx], 0x2f
jmp 0x180008c3c
mov r9b, 0x2f
mov rcx, rsi
call fcn.180052a30
jmp 0x180008c3c
mov word [rbp + 9], dx
jmp case.0x18000893b.103
cmp qword [r15 + 0x38], 0x10
lea r9, [r15 + 0x20]
jb 0x180008abc
mov r9, qword [r15 + 0x20]
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x10]
mov rax, rcx
mov rdi, qword [r15 + 0x30]
sub rax, rdx
cmp rdi, rax
ja 0x180008aff
lea rax, [rdx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rcx, 0x10
jb 0x180008ae7
mov rax, qword [rsi]
lea rbx, [rax + rdx]
mov r8, rdi
mov rcx, rbx
mov rdx, r9
call fcn.18005d880
mov byte [rdi + rbx], 0
jmp 0x180008b0f
mov rdx, rdi
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call fcn.180052b90
lea rax, [rbp - 0x11]
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180008b20
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180008b69
lea rax, [rcx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180008b50
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, rdi
mov rcx, rbx
lea rdx, [rbp - 0x11]
call fcn.18005d880
mov byte [rdi + rbx], 0
jmp 0x180008b7d
lea r9, [rbp - 0x11]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, rsi
call fcn.180052b90
cmp qword [reloc.OLEAUT32.dll_SafeArrayDestroy], 0x10
lea r9, [0x18009ced0]
mov rcx, qword [rsi + 0x18]
cmovae r9, qword [0x18009ced0]
mov rax, rcx
mov rdx, qword [rsi + 0x10]
mov rdi, qword [0x18009cee0]
sub rax, rdx
cmp rdi, rax
ja 0x180008bda
lea rax, [rdx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rcx, 0x10
jb 0x180008bc2
mov rax, qword [rsi]
lea rbx, [rax + rdx]
mov r8, rdi
mov rcx, rbx
mov rdx, r9
call fcn.18005d880
mov byte [rdi + rbx], 0
jmp 0x180008bea
mov rdx, rdi
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call fcn.180052b90
lea rax, [rbp - 0x25]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x180008bf5
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180008c72
lea rax, [rcx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180008c25
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, rdi
mov rcx, rbx
lea rdx, [rbp - 0x25]
call fcn.18005d880
mov byte [rdi + rbx], 0
lea rdi, [0x18008f858]
mov r8d, dword [rbp + 0x77]
mov r10d, 0x74
mov r9d, 0x6567
mov edx, 0x203a
add r14d, 0x6c
cmp r14d, dword [rbp - 0x31]
jae 0x18000889a
lea rcx, [0x180000000]
jmp 0x180008900
lea r9, [rbp - 0x25]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, rsi
call fcn.180052b90
jmp 0x180008c3c
mov eax, r14d
sub eax, 0x1bd
je 0x180008fc0
sub eax, 0x54
je 0x180008faa
sub eax, 0x18
je 0x1800090a3
sub eax, 0x54
je 0x180008df6
cmp eax, 0x6c
jne case.0x18000893b.103
cmp qword [r15 + 0x58], 0x10
lea r9, [r15 + 0x40]
jb 0x180008cc5
mov r9, qword [r15 + 0x40]
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x10]
mov rax, rcx
mov rdi, qword [r15 + 0x50]
sub rax, rdx
cmp rdi, rax
ja 0x180008d08
lea rax, [rdx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rcx, 0x10
jb 0x180008cf0
mov rax, qword [rsi]
lea rbx, [rax + rdx]
mov r8, rdi
mov rcx, rbx
mov rdx, r9
call fcn.18005d880
mov byte [rdi + rbx], 0
jmp 0x180008d18
mov rdx, rdi
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call fcn.180052b90
cmp qword [reloc.OLEAUT32.dll_SafeArrayDestroy], 0x10
lea r9, [0x18009ced0]
mov rdi, qword [0x18009cee0]
cmovae r9, qword [0x18009ced0]
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x10]
mov rax, rcx
sub rax, rdx
cmp rdi, rax
ja 0x180008d75
lea rax, [rdx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rcx, 0x10
jb 0x180008d5d
mov rax, qword [rsi]
lea rbx, [rax + rdx]
mov r8, rdi
mov rcx, rbx
mov rdx, r9
call fcn.18005d880
mov byte [rdi + rbx], 0
jmp 0x180008d85
mov rdx, rdi
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call fcn.180052b90
cmp qword [reloc.OLEAUT32.dll_SafeArrayDestroy], 0x10
lea r9, [0x18009ced0]
mov rdx, qword [rsi + 0x18]
cmovae r9, qword [0x18009ced0]
mov rax, rdx
mov rcx, qword [rsi + 0x10]
mov rdi, qword [0x18009cee0]
sub rax, rcx
cmp rdi, rax
ja 0x180008de1
lea rax, [rcx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180008dca
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, rdi
mov rcx, rbx
mov rdx, r9
call fcn.18005d880
jmp 0x180008c38
mov rdx, rdi
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call fcn.180052b90
jmp 0x180008c3c
lea rax, [rbp + 0xf]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x180008e01
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180008e4a
lea rax, [rcx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180008e31
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, rdi
mov rcx, rbx
lea rdx, [rbp + 0xf]
call fcn.18005d880
mov byte [rbx + rdi], 0
jmp 0x180008e5e
lea r9, [rbp + 0xf]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, rsi
call fcn.180052b90
lea rax, [rbp - 0x2d]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180008e70
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180008eb9
lea rax, [rcx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180008ea0
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, rdi
mov rcx, rbx
lea rdx, [rbp - 0x2d]
call fcn.18005d880
mov byte [rbx + rdi], 0
jmp 0x180008ecd
lea r9, [rbp - 0x2d]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, rsi
call fcn.180052b90
cmp qword [reloc.OLEAUT32.dll_SafeArrayDestroy], 0x10
lea r9, [0x18009ced0]
mov rcx, qword [rsi + 0x18]
cmovae r9, qword [0x18009ced0]
mov rax, rcx
mov rdx, qword [rsi + 0x10]
mov rdi, qword [0x18009cee0]
sub rax, rdx
cmp rdi, rax
ja 0x180008f2a
lea rax, [rdx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rcx, 0x10
jb 0x180008f12
mov rax, qword [rsi]
lea rbx, [rax + rdx]
mov r8, rdi
mov rcx, rbx
mov rdx, r9
call fcn.18005d880
mov byte [rbx + rdi], 0
jmp 0x180008f3a
mov rdx, rdi
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call fcn.180052b90
lea rax, [rbp - 1]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x180008f45
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180008f91
lea rax, [rcx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180008f75
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, rdi
mov rcx, rbx
lea rdx, [rbp - 1]
call fcn.18005d880
mov byte [rbx + rdi], 0
jmp 0x180008c3c
lea r9, [rbp - 1]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, rsi
call fcn.180052b90
jmp 0x180008c3c
cmp qword [r15 + 0x18], 0x10
mov r9, r15
jb 0x180008fb7
mov r9, qword [r15]
mov rdi, qword [r15 + 0x10]
jmp 0x180008d36
mov r9, qword [rbp - 0x19]
mov edx, 3
movsxd r8, r12d
mov rcx, r13
call fcn.180066ac8
mov rcx, qword [rbp - 0x19]
call fcn.180061548
mov rdx, qword [rsi + 8]
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea rax, str.octree
movzx eax, byte [rax + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180009024
cmp rcx, 7
jne 0x180008ff0
mov r8, r13
mov dword [rbp - 0x39], r12d
lea rdx, [rbp - 0x39]
mov ecx, 0x2b
call fcn.180046b50
jmp 0x180008c43
xor ecx, ecx
nop word [rax + rax]
lea rax, str.mindiff
movzx eax, byte [rax + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180009072
cmp rcx, 8
jne 0x180009030
mov eax, 0x48
mov qword [rsp + 0x28], r13
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
mov dword [rbp - 0x39], r12d
lea rdx, [rbp - 0x39]
xor ecx, ecx
call fcn.18000bc90
jmp 0x180008c43
xor ecx, ecx
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180008948
cmp rcx, 4
jne 0x180009074
lea edx, [rcx + 0x76]
mov dword [rbp - 0x39], r12d
lea rcx, [rbp - 0x39]
mov r8, r13
call fcn.180013950
jmp 0x180008c43
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x87
xor ecx, ecx
call fcn.18004e400
xor eax, eax
jmp 0x18000889d