Function at 0x140108b20
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x2a38
call fcn.1401d4c90
sub rsp, rax
mov qword [rsp + 0x2a10], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x2a28], rax
mov qword [rsp + 0x4a0], 0x200000
mov dword [rsp + 0x60], 0x100000
xor eax, eax
mov word [rsp + 0xd30], ax
lea rdi, [rsp + 0xd32]
xor eax, eax
mov ecx, 0x4e
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x4f0], ax
lea rdi, [rsp + 0x4f2]
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x900], ax
lea rdi, [rsp + 0x902]
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0xa0], ax
lea rdi, [rsp + 0xa2]
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
lea rdx, [rsp + 0x4a0]
mov rcx, qword [rsp + 0x2a58]
call fcn.140107480
mov qword [rsp + 0x4e0], 0
lea rcx, [rsp + 0x28c0]
call fcn.1401077e0
lea rdi, [rsp + 0x2a00]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x28b0]
lea rsi, [rsp + 0x2a00]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x50]
lea rsi, [rsp + 0x28b0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x2a58]
imul rax, rax, 0x100000
xor edx, edx
div qword [rsp + 0x4a0]
mov rsi, rax
mov rax, qword [rsp + 0x2a58]
imul rax, rax, 0x100000
xor edx, edx
div qword [rsp + 0x4a0]
mov rdi, rax
mov rax, qword [rsp + 0x4a0]
shl rax, 3
mov ecx, dword [rsp + 0x2a70]
imul rax, rcx
xor edx, edx
div qword [rsp + 0x4a0]
mov rcx, rax
xor edx, edx
mov rax, rdi
div rcx
shl rax, 3
lea rax, [rax + rsi*8 + 0x100000]
xor edx, edx
mov ecx, 0x100000
div rcx
imul rax, rax, 0x100000
mov dword [rsp + 0xd28], eax
cmp dword [rsp + 0x2a60], 2
jne 0x1401090b4
cmp qword [rsp + 0x2a68], 0
jne 0x140108cf4
xor eax, eax
jmp 0x14010a427
mov rdx, qword [rsp + 0x2a68]
lea rcx, [rsp + 0x15a0]
call fcn.1400020d0
nop
lea rcx, [rsp + 0x28e0]
call fcn.1401077e0
lea rdi, [rsp + 0x29f0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x28d0]
lea rsi, [rsp + 0x29f0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x2990]
lea rsi, [rsp + 0x28d0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov r8d, 0x28
lea rdx, [rsp + 0xd30]
lea rcx, [rsp + 0x2990]
call fcn.140107720
mov r8d, 5
lea rdx, [rsp + 0x28f8]
lea rcx, [rsp + 0x15a0]
call fcn.140006a60
mov qword [rsp + 0x2a18], rax
lea rdx, str..vhdx
mov rcx, qword [rsp + 0x2a18]
call fcn.1400060b0
test eax, eax
jne 0x140108dba
mov dword [rsp + 0x2a20], 1
jmp 0x140108dc5
mov dword [rsp + 0x2a20], 0
movzx eax, byte [rsp + 0x2a20]
mov byte [rsp + 0x28f0], al
lea rcx, [rsp + 0x28f8]
call fcn.140001490
movzx edx, byte [rsp + 0x28f0]
test edx, edx
je 0x140108f53
xor r8d, r8d
lea rdx, [rsp + 0x15b0]
mov rcx, qword [rsp + 0x2a68]
call fcn.140108950
mov qword [rsp + 0x15a8], rax
cmp qword [rsp + 0x15a8], 0xffffffffffffffff
jne 0x140108e40
mov dword [rsp + 0x2900], 0
lea rcx, [rsp + 0x15a0]
call fcn.140001490
mov eax, dword [rsp + 0x2900]
jmp 0x14010a427
mov rcx, qword [rsp + 0x15a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x15dc]
mov qword [rsp + 0x4a0], rdx
mov eax, dword [rsp + 0x15f0]
mov dword [rsp + 0x2a70], eax
mov eax, dword [rsp + 0x15f4]
mov dword [rsp + 0x2a78], eax
xor edx, edx
mov rax, qword [rsp + 0x15e8]
mov ecx, 0x100000
div rcx
mov qword [rsp + 0x2a58], rax
lea rdi, [rsp + 0x50]
lea rsi, [rsp + 0x2628]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x29a0]
lea rsi, [rsp + 0x2618]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov r8d, 0x28
lea rdx, [rsp + 0xd30]
lea rcx, [rsp + 0x29a0]
call fcn.140107720
xor edx, edx
mov rax, qword [rsp + 0x2a58]
div qword [rsp + 0x4a0]
mov rsi, rax
xor edx, edx
mov rax, qword [rsp + 0x2a58]
div qword [rsp + 0x4a0]
mov rdi, rax
mov rax, qword [rsp + 0x4a0]
shl rax, 3
mov ecx, dword [rsp + 0x2a70]
imul rax, rcx
xor edx, edx
div qword [rsp + 0x4a0]
mov rcx, rax
xor edx, edx
mov rax, rdi
div rcx
shl rax, 3
lea rax, [rax + rsi*8 + 0x100000]
xor edx, edx
mov ecx, 0x100000
div rcx
imul rax, rax, 0x100000
mov dword [rsp + 0xd28], eax
xor eax, eax
mov word [rsp + 0x11a0], ax
lea rdi, [rsp + 0x11a2]
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0xda0], ax
lea rdi, [rsp + 0xda2]
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x2a68]
call fcn.140107630
test eax, eax
je 0x140109013
lea rdx, [rsp + 0x900]
mov rcx, qword [rsp + 0x2a68]
call fcn.140107990
mov r8, qword [rsp + 0x2a68]
mov rdx, qword [rsp + 0x2a50]
lea rcx, [rsp + 0x11a0]
call fcn.1401075e0
lea rdx, [rsp + 0x4f0]
lea rcx, [rsp + 0x11a0]
call fcn.140107990
mov r8d, 0x200
lea rdx, [rsp + 0xda0]
lea rcx, [rsp + 0x11a0]
call fcn.1401079d0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xda0]
call fcn.140107990
jmp 0x14010908a
lea rdx, [rsp + 0x4f0]
mov rcx, qword [rsp + 0x2a68]
call fcn.140107990
mov r8, qword [rsp + 0x2a68]
mov rdx, qword [rsp + 0x2a50]
lea rcx, [rsp + 0x11a0]
call fcn.140107650
lea rdx, [rsp + 0x900]
lea rcx, [rsp + 0x11a0]
call fcn.140107990
mov r8d, 0x200
lea rdx, [rsp + 0xda0]
mov rcx, qword [rsp + 0x2a68]
call fcn.1401079d0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xda0]
call fcn.140107990
mov eax, dword [rsp + 0xd28]
xor edx, edx
mov ecx, 0x100000
div rcx
add rax, 3
mov qword [rsp + 0x4e0], rax
lea rcx, [rsp + 0x15a0]
call fcn.140001490
cmp dword [rsp + 0x2a60], 1
jne 0x1401090db
mov eax, dword [rsp + 0xd28]
xor edx, edx
mov ecx, 0x100000
div rcx
add rax, 3
mov qword [rsp + 0x4e0], rax
cmp dword [rsp + 0x2a60], 0
jne 0x14010919b
xor edx, edx
mov rax, qword [rsp + 0x4a0]
mov ecx, 0x100000
div rcx
mov rcx, rax
xor edx, edx
mov rax, qword [rsp + 0x2a58]
div rcx
test rdx, rdx
jne 0x14010913b
mov eax, dword [rsp + 0xd28]
xor edx, edx
mov ecx, 0x100000
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x2a58]
lea rax, [rax + rcx + 3]
mov qword [rsp + 0x4e0], rax
jmp 0x14010919b
xor edx, edx
mov rax, qword [rsp + 0x4a0]
mov ecx, 0x100000
div rcx
mov rcx, rax
xor edx, edx
mov rax, qword [rsp + 0x2a58]
div rcx
mov rdi, qword [rsp + 0x2a58]
sub rdi, rdx
xor edx, edx
mov rax, qword [rsp + 0x4a0]
mov ecx, 0x100000
div rcx
add rdi, rax
mov eax, dword [rsp + 0xd28]
xor edx, edx
mov ecx, 0x100000
div rcx
lea rax, [rdi + rax + 3]
mov qword [rsp + 0x4e0], rax
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x2a50]
call fcn.1400fa340
mov qword [rsp + 0x4d8], rax
cmp qword [rsp + 0x4d8], 0xffffffffffffffff
jne 0x1401091d0
xor eax, eax
jmp 0x14010a427
mov rcx, qword [rsp + 0x4d8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [rsp + 0x2a80], 0
je 0x140109228
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x2640]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x900c4
mov rcx, qword [rsp + 0x4d8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, dword [rsp + 0xd28]
call fcn.1400f89b0
mov qword [rsp + 0xd90], rax
cmp qword [rsp + 0xd90], 0
jne 0x14010925c
mov rcx, qword [rsp + 0x4d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14010a427
mov r8d, dword [rsp + 0xd28]
xor edx, edx
mov rcx, qword [rsp + 0xd90]
call fcn.1400a8080
mov rdx, qword [rsp + 0xd90]
mov qword [rsp + 0x4d0], rdx
mov rcx, qword [rsp + 0x4d0]
movabs rax, 0x656c696678646876
mov qword [rcx], rax
mov rcx, qword [rsp + 0x4d0]
add rcx, 8
mov r8d, 0x20
lea rdx, [0x140218b30]
call fcn.1400a8d30
mov rax, qword [rsp + 0x4d0]
add rax, 0x10000
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov dword [rax], 0x64616568
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], 0xa
mov rax, qword [rsp + 0x98]
mov dword [rax + 4], 0
lea rcx, [rsp + 0x2918]
call fcn.1401077e0
lea rdi, [rsp + 0x29e0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x2904]
lea rsi, [rsp + 0x29e0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x98]
lea rsi, [rsp + 0x2904]
add rdi, 0x10
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x2938]
call fcn.1401077e0
lea rdi, [rsp + 0x29d0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x2928]
lea rsi, [rsp + 0x29d0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x98]
lea rsi, [rsp + 0x2928]
add rdi, 0x20
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x2958]
call fcn.1401077e0
lea rdi, [rsp + 0x29c0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x2948]
lea rsi, [rsp + 0x29c0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x70]
lea rsi, [rsp + 0x2948]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x98]
add rcx, 0x30
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
call fcn.1400a8080
xor edx, edx
mov rax, qword [rsp + 0x98]
mov word [rax + 0x40], dx
mov ecx, 1
mov rax, qword [rsp + 0x98]
mov word [rax + 0x42], cx
mov rcx, qword [rsp + 0x98]
mov eax, dword [rsp + 0x60]
mov dword [rcx + 0x44], eax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x48], 0x100000
mov edx, 0x1000
mov rcx, qword [rsp + 0x98]
call fcn.140107860
mov edx, eax
mov rax, qword [rsp + 0x98]
mov dword [rax + 4], edx
mov rax, qword [rsp + 0x98]
add rax, 0x10000
mov qword [rsp + 0xd00], rax
mov r8d, 0x1000
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xd00]
call fcn.1400a8d30
mov rdx, qword [rsp + 0xd00]
mov qword [rdx + 8], reloc.WS2_32.dll_inet_addr
mov rax, qword [rsp + 0xd00]
mov dword [rax + 4], 0
mov edx, 0x1000
mov rcx, qword [rsp + 0xd00]
call fcn.140107860
mov edx, eax
mov rax, qword [rsp + 0xd00]
mov dword [rax + 4], edx
mov rax, qword [rsp + 0xd00]
add rax, 0x10000
mov qword [rsp + 0x4b8], rax
mov rax, qword [rsp + 0x4b8]
mov dword [rax], 0x69676572
mov rax, qword [rsp + 0x4b8]
mov dword [rax + 8], 2
mov rax, qword [rsp + 0x4b8]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x4b8]
add rax, 0x10
mov qword [rsp + 0x4b0], rax
lea rsi, [0x140218a90]
mov rdi, qword [rsp + 0x4b0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x4b0]
mov qword [rax + 0x10], 0x300000
mov rcx, qword [rsp + 0x4b0]
mov eax, dword [rsp + 0xd28]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x4b0]
mov ecx, dword [rax + 0x1c]
or ecx, 1
mov rax, qword [rsp + 0x4b0]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x4b0]
add rax, 0x20
mov qword [rsp + 0xd20], rax
lea rsi, [0x140218aa0]
mov rdi, qword [rsp + 0xd20]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd20]
mov qword [rax + 0x10], 0x200000
mov rax, qword [rsp + 0xd20]
mov dword [rax + 0x18], 0x100000
mov rax, qword [rsp + 0xd20]
mov ecx, dword [rax + 0x1c]
or ecx, 1
mov rax, qword [rsp + 0xd20]
mov dword [rax + 0x1c], ecx
mov edx, 0x10000
mov rcx, qword [rsp + 0x4b8]
call fcn.140107860
mov edx, eax
mov rax, qword [rsp + 0x4b8]
mov dword [rax + 4], edx
mov rax, qword [rsp + 0x4b8]
add rax, 0x10000
mov qword [rsp + 0xd80], rax
mov r8d, 0x50
mov rdx, qword [rsp + 0x4b8]
mov rcx, qword [rsp + 0xd80]
call fcn.1400a8d30
mov qword [rsp + 0x20], 0
mov r9d, 0x100000
mov r8, qword [rsp + 0xd90]
xor edx, edx
mov rcx, qword [rsp + 0x4d8]
call fcn.1400f9c90
mov r8d, 0x100000
xor edx, edx
mov rcx, qword [rsp + 0xd90]
call fcn.1400a8080
mov rdx, qword [rsp + 0xd90]
mov qword [rsp + 0x90], rdx
mov rax, qword [rsp + 0x90]
mov dword [rax], 0x65676f6c
mov rax, qword [rsp + 0x90]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 8], 0x1000
mov rax, qword [rsp + 0x90]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x90]
movabs rax, 0x41bcb9fd071b9622
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x18], 0
mov rdi, qword [rsp + 0x90]
lea rsi, [rsp + 0x70]
add rdi, 0x20
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x4e0]
imul rcx, rcx, 0x100000
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x30], rcx
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 8]
mov rcx, qword [rsp + 0x90]
call fcn.140107860
mov edx, eax
mov rax, qword [rsp + 0x90]
mov dword [rax + 4], edx
mov rax, qword [rsp + 0x90]
mov ecx, dword [rax + 8]
mov rax, qword [rsp + 0xd90]
add rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov dword [rax], 0x65676f6c
mov rax, qword [rsp + 0x40]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0x1000
mov rax, qword [rsp + 0x90]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
movabs rax, 0xfedcba0987654321
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x18], 0
lea rcx, [rsp + 0x2978]
call fcn.1401077e0
lea rdi, [rsp + 0x29b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x2968]
lea rsi, [rsp + 0x29b0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x40]
lea rsi, [rsp + 0x2968]
add rdi, 0x20
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x4e0]
imul rcx, rcx, 0x100000
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x30], rcx
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 8]
mov rcx, qword [rsp + 0x90]
call fcn.140107860
mov edx, eax
mov rax, qword [rsp + 0x40]
mov dword [rax + 4], edx
mov qword [rsp + 0x20], 0
mov r9d, 0x100000
mov r8, qword [rsp + 0xd90]
mov edx, 0x100000
mov rcx, qword [rsp + 0x4d8]
call fcn.1400f9c90
mov r8d, 0x100000
xor edx, edx
mov rcx, qword [rsp + 0xd90]
call fcn.1400a8080
mov rdx, qword [rsp + 0xd90]
mov qword [rsp + 0xd88], rdx
mov rcx, qword [rsp + 0xd88]
movabs rax, 0x617461646174656d
mov qword [rcx], rax
mov dword [rsp + 0x88], 0x10000
mov rax, qword [rsp + 0xd90]
add rax, 0x20
mov qword [rsp + 0x80], rax
lea rsi, [0x140218ab0]
mov rdi, qword [rsp + 0x80]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
mov dword [rdx + 0x10], eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x14], 8
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
and ecx, 0xfffffffe
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
and ecx, 0xfffffffd
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
or ecx, 4
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0xd90]
add rax, 0x10000
mov qword [rsp + 0xd18], rax
mov rcx, qword [rsp + 0xd18]
mov eax, dword [rsp + 0x4a0]
mov dword [rcx], eax
cmp dword [rsp + 0x2a60], 0
jne 0x1401099a8
mov rax, qword [rsp + 0xd18]
mov ecx, dword [rax + 4]
or ecx, 1
mov rax, qword [rsp + 0xd18]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0xd18]
mov ecx, dword [rax + 4]
and ecx, 0xfffffffd
mov rax, qword [rsp + 0xd18]
mov dword [rax + 4], ecx
cmp dword [rsp + 0x2a60], 1
jne 0x1401099e4
mov rax, qword [rsp + 0xd18]
mov ecx, dword [rax + 4]
and ecx, 0xfffffffe
mov rax, qword [rsp + 0xd18]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0xd18]
mov ecx, dword [rax + 4]
and ecx, 0xfffffffd
mov rax, qword [rsp + 0xd18]
mov dword [rax + 4], ecx
cmp dword [rsp + 0x2a60], 2
jne 0x140109a20
mov rax, qword [rsp + 0xd18]
mov ecx, dword [rax + 4]
and ecx, 0xfffffffe
mov rax, qword [rsp + 0xd18]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0xd18]
mov ecx, dword [rax + 4]
or ecx, 2
mov rax, qword [rsp + 0xd18]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x14]
mov eax, dword [rsp + 0x88]
add eax, ecx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov qword [rsp + 0x80], rax
lea rsi, [0x140218ac0]
mov rdi, qword [rsp + 0x80]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
mov dword [rdx + 0x10], eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x14], 8
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
and ecx, 0xfffffffe
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
or ecx, 2
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
or ecx, 4
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0xd18]
add rax, 8
mov qword [rsp + 0xd10], rax
mov rcx, qword [rsp + 0x2a58]
imul rcx, rcx, 0x400
imul rcx, rcx, 0x400
mov rax, qword [rsp + 0xd10]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x14]
mov eax, dword [rsp + 0x88]
add eax, ecx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov qword [rsp + 0x80], rax
lea rsi, [0x140218ae0]
mov rdi, qword [rsp + 0x80]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
mov dword [rdx + 0x10], eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x14], 4
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
and ecx, 0xfffffffe
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
or ecx, 2
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
or ecx, 4
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0xd10]
add rax, 8
mov qword [rsp + 0x4c8], rax
mov rcx, qword [rsp + 0x4c8]
mov eax, dword [rsp + 0x2a70]
mov dword [rcx], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x14]
mov eax, dword [rsp + 0x88]
add eax, ecx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov qword [rsp + 0x80], rax
lea rsi, [0x140218af0]
mov rdi, qword [rsp + 0x80]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
mov dword [rdx + 0x10], eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x14], 4
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
and ecx, 0xfffffffe
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
or ecx, 2
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
or ecx, 4
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x4c8]
add rax, 4
mov qword [rsp + 0x8f0], rax
mov rcx, qword [rsp + 0x8f0]
mov eax, dword [rsp + 0x2a78]
mov dword [rcx], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x14]
mov eax, dword [rsp + 0x88]
add eax, ecx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov qword [rsp + 0x80], rax
lea rsi, [0x140218ad0]
mov rdi, qword [rsp + 0x80]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
mov dword [rdx + 0x10], eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x14], reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
and ecx, 0xfffffffe
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
or ecx, 2
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
or ecx, 4
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x8f0]
add rax, 4
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x14]
mov eax, dword [rsp + 0x88]
add eax, ecx
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x2a60], 2
jne 0x14010a0e5
mov dword [rsp + 0x2644], 0
mov ecx, dword [rsp + 0x88]
mov rax, qword [rsp + 0xd90]
add rax, rcx
mov qword [rsp + 0x2690], rax
lea rsi, [0x140218b10]
mov rdi, qword [rsp + 0x2690]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov edx, 4
mov rax, qword [rsp + 0x2690]
mov word [rax + 0x12], dx
mov eax, dword [rsp + 0x2644]
add rax, 0x14
mov dword [rsp + 0x2644], eax
mov rax, qword [rsp + 0x2690]
movzx ecx, word [rax + 0x12]
imul rcx, rcx, 0xc
mov eax, dword [rsp + 0x2644]
add rax, rcx
mov dword [rsp + 0x2644], eax
mov rax, qword [rsp + 0x2690]
add rax, 0x14
mov qword [rsp + 0x2648], rax
lea rax, [0x140218b50]
mov qword [rsp + 0x2650], rax
lea rax, [rsp + 0xd30]
mov qword [rsp + 0x2658], rax
lea rax, [0x140218b70]
mov qword [rsp + 0x2660], rax
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x2668], rax
lea rax, [0x140218b98]
mov qword [rsp + 0x2670], rax
lea rax, [rsp + 0x900]
mov qword [rsp + 0x2678], rax
lea rax, [0x140218bb8]
mov qword [rsp + 0x2680], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x2688], rax
mov dword [rsp + 0x2698], 0
jmp 0x140109edb
mov eax, dword [rsp + 0x2698]
add eax, 1
mov dword [rsp + 0x2698], eax
cmp dword [rsp + 0x2698], 4
jge 0x14010a035
movsxd rcx, dword [rsp + 0x2698]
imul rcx, rcx, 0xc
mov rax, qword [rsp + 0x2648]
add rax, rcx
mov qword [rsp + 0x26a0], rax
movsxd rcx, dword [rsp + 0x2698]
imul rcx, rcx, 0x10
mov rcx, qword [rsp + rcx + 0x2650]
call fcn.1400a8204
mov rcx, rax
shl rcx, 1
mov rax, qword [rsp + 0x26a0]
mov word [rax + 8], cx
movsxd rcx, dword [rsp + 0x2698]
imul rcx, rcx, 0x10
mov rcx, qword [rsp + rcx + 0x2658]
call fcn.1400a8204
mov rcx, rax
shl rcx, 1
mov rax, qword [rsp + 0x26a0]
mov word [rax + 0xa], cx
mov rcx, qword [rsp + 0x26a0]
mov eax, dword [rsp + 0x2644]
mov dword [rcx], eax
mov rax, qword [rsp + 0x26a0]
movzx ecx, word [rax + 8]
mov eax, dword [rsp + 0x2644]
add eax, ecx
mov dword [rsp + 0x2644], eax
mov rcx, qword [rsp + 0x26a0]
mov eax, dword [rsp + 0x2644]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x26a0]
movzx ecx, word [rax + 0xa]
mov eax, dword [rsp + 0x2644]
add eax, ecx
mov dword [rsp + 0x2644], eax
mov rax, qword [rsp + 0x26a0]
movzx r8d, word [rax + 8]
movsxd rdx, dword [rsp + 0x2698]
imul rdx, rdx, 0x10
mov rax, qword [rsp + 0x26a0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x2690]
add rcx, rax
mov rdx, qword [rsp + rdx + 0x2650]
call fcn.1400a8d30
mov rdx, qword [rsp + 0x26a0]
movzx r8d, word [rdx + 0xa]
movsxd rdx, dword [rsp + 0x2698]
imul rdx, rdx, 0x10
mov rax, qword [rsp + 0x26a0]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x2690]
add rcx, rax
mov rdx, qword [rsp + rdx + 0x2658]
call fcn.1400a8d30
jmp 0x140109eca
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov qword [rsp + 0x80], rax
lea rsi, [0x140218b00]
mov rdi, qword [rsp + 0x80]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
mov dword [rdx + 0x10], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x2644]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
and ecx, 0xfffffffe
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
and ecx, 0xfffffffd
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
or ecx, 4
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov ecx, dword [rsp + 0x2644]
mov eax, dword [rsp + 0x88]
add eax, ecx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov rcx, qword [rsp + 0xd88]
add rcx, 0x20
sub rax, rcx
xor edx, edx
mov ecx, 0x20
div rcx
mov rcx, rax
mov rax, qword [rsp + 0xd88]
mov word [rax + 0xa], cx
mov qword [rsp + 0x20], 0
mov r9d, 0x100000
mov r8, qword [rsp + 0xd90]
mov edx, 0x200000
mov rcx, qword [rsp + 0x4d8]
call fcn.1400f9c90
mov rax, qword [rsp + 0x2a58]
imul rax, rax, 0x400
imul rax, rax, 0x400
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jge 0x14010a16e
addsd xmm1, qword [0x14025a290]
movsd xmm0, qword [0x14025a2a0]
mulsd xmm0, xmm1
mov rax, qword [rsp + 0x4a0]
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jge 0x14010a198
addsd xmm1, qword [0x14025a290]
divsd xmm0, xmm1
call fcn.1400ae2f8
cvttsd2si rax, xmm0
mov dword [rsp + 0x4c0], eax
mov eax, dword [rsp + 0x2a70]
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
movsd xmm0, qword [0x14025c238]
mulsd xmm0, xmm1
mov rax, qword [rsp + 0x4a0]
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jge 0x14010a1e7
addsd xmm1, qword [0x14025a290]
divsd xmm0, xmm1
call fcn.1400ae2f8
xor ecx, ecx
comisd xmm0, xmmword [0x14025a298]
jbe 0x14010a21b
subsd xmm0, qword [0x14025a298]
comisd xmm0, xmmword [0x14025a298]
jae 0x14010a21b
movabs rax, 0x8000000000000000
add rcx, rax
cvttsd2si rax, xmm0
add rax, rcx
mov dword [rsp + 0xd08], eax
mov r8d, dword [rsp + 0xd28]
xor edx, edx
mov rcx, qword [rsp + 0xd90]
call fcn.1400a8080
mov rdx, qword [rsp + 0xd90]
mov qword [rsp + 0x4a8], rdx
cmp dword [rsp + 0x2a60], 0
jne 0x14010a361
mov dword [rsp + 0x26a8], 0
mov dword [rsp + 0x26ac], 0
jmp 0x14010a288
mov eax, dword [rsp + 0x26ac]
add eax, 1
mov dword [rsp + 0x26ac], eax
mov eax, dword [rsp + 0x4c0]
cmp dword [rsp + 0x26ac], eax
jae 0x14010a361
cmp dword [rsp + 0x26ac], 0
je 0x14010a302
xor edx, edx
mov eax, dword [rsp + 0x26ac]
div dword [rsp + 0xd08]
test edx, edx
jne 0x14010a302
movsxd rcx, dword [rsp + 0x26ac]
mov rax, qword [rsp + 0xd90]
lea rcx, [rax + rcx*8]
movsxd rax, dword [rsp + 0x26a8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x4a8], rax
mov rax, qword [rsp + 0x4a8]
mov qword [rax], 0
mov eax, dword [rsp + 0x26a8]
add eax, 1
mov dword [rsp + 0x26a8], eax
movsxd rcx, dword [rsp + 0x26ac]
mov rax, qword [rsp + 0xd90]
lea rcx, [rax + rcx*8]
movsxd rax, dword [rsp + 0x26a8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x4a8], rax
mov ecx, dword [rsp + 0xd28]
movsxd rax, dword [rsp + 0x26ac]
imul rax, qword [rsp + 0x4a0]
lea rcx, [rcx + rax + 0x300000]
and rcx, 0xfffffffffff00006
mov rax, qword [rsp + 0x4a8]
mov qword [rax], rcx
jmp 0x14010a277
mov r9d, dword [rsp + 0xd28]
mov qword [rsp + 0x20], 0
mov r8, qword [rsp + 0xd90]
mov edx, 0x300000
mov rcx, qword [rsp + 0x4d8]
call fcn.1400f9c90
cmp qword [rsp + 0xd90], 0
je 0x14010a3b0
mov rcx, qword [rsp + 0xd90]
call fcn.1400f8970
mov qword [rsp + 0xd90], 0
cmp dword [rsp + 0x2a60], 0
jne 0x14010a414
mov byte [rsp + 0x26b0], 0
lea rdi, [rsp + 0x26b1]
xor eax, eax
mov ecx, 0x1ff
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x4e0]
imul rdx, rdx, 0x400
imul rdx, rdx, 0x400
sub rdx, 0x200
mov qword [rsp + 0x20], 0
mov r9d, 0x200
lea r8, [rsp + 0x26b0]
mov rcx, qword [rsp + 0x4d8]
call fcn.1400f9c90
mov rcx, qword [rsp + 0x4d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x2a28]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x2a38
pop rdi
pop rsi
ret