Function at 0x18000d9d0
Capabilities:
Check for time delay via gettickcount
Get disk information
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x180045338]
xor rax, rsp
mov qword [rbp + 0x100], rax
lea esi, [rdx + 5]
mov r15, r8
mov dword [rsp + 0x48], esi
mov r13d, edx
mov ebx, dword [rsp + 0x48]
mov r14, rcx
cmp edx, esi
jae case.0x18000dcdc.90
mov eax, dword [rsp + 0x48]
mov r12d, dword [rsp + 0x48]
mov dword [rsp + 0x50], eax
xor edi, edi
mov eax, r13d
sub eax, 0x73
je 0x18000dc46
sub eax, 1
je 0x18000dbd2
sub eax, 1
je 0x18000defd
sub eax, 3
je 0x18000db44
cmp eax, 5
jne 0x18000ddcd
mov rdx, qword [r14 + 0x10]
lea rcx, [rbp + 0x60]
xor r8d, r8d
call fcn.180002820
mov rdx, rax
mov rcx, r15
call fcn.1800032b0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x18000dab1
mov rcx, qword [rbp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000daac
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000de05
call fcn.1800397ec
cmp qword [r15 + 0x18], 0x10
mov r8, r15
mov dword [rsp + 0x4c], edi
jb 0x18000dac2
mov r8, qword [r15]
cmp qword [r14 + 0x18], 0x10
mov r9, r14
jb 0x18000dacf
mov r9, qword [r14]
mov eax, dword [r14 + 0x10]
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
mov edx, 0x81
lea rax, [rsp + 0x4c]
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.180019280
test al, al
je 0x18000db2b
mov eax, dword [rsp + 0x4c]
cmp qword [r15 + 0x10], rax
jb 0x18000df0c
mov qword [r15 + 0x10], rax
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x18000db22
mov rcx, qword [r15]
mov byte [rcx + rax], 0
jmp 0x18000ddcd
mov qword [r15 + 0x10], rdi
mov rax, r15
cmp qword [r15 + 0x18], 0x10
jb 0x18000db3c
mov rax, qword [r15]
mov byte [rax], 0
jmp 0x18000ddcd
mov edx, 0x18
xor ecx, ecx
call fcn.180021e60
test eax, eax
jne 0x18000de0c
mov r9d, 0x63
nop
mov eax, r9d
sub eax, 0x62
je case.0x18000dcdc.90
cmp eax, 1
jne 0x18000dbc4
mov rax, qword [r14]
movabs rcx, 0xffffffff00000000
test rcx, rax
jne 0x18000db8a
mov ecx, 4
jmp 0x18000db90
mov ecx, edi
shr rax, 0x20
cmp rax, 0x10000
lea r8d, [rcx + 2]
mov ebx, edi
mov rdx, rax
cmovae r8d, ecx
shr rdx, 8
mov rcx, rax
shr rcx, 0x18
cmp rax, 0x10000
cmovae rdx, rcx
test rdx, rdx
mov qword [r14], rdx
sete bl
add ebx, r8d
dec r9d
cmp r9d, 0x61
ja 0x18000db60
jmp 0x18000ddcd
mov rcx, qword [r14 + 0x28]
mov r12d, edi
call qword [r14 + 0x20]
test al, al
je 0x18000dc30
mov esi, 0xc
mov eax, esi
sub eax, 0xc
je 0x18000dbf8
cmp eax, 1
jne 0x18000dc25
call qword [r14 + 0x50]
jmp 0x18000dc25
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 0x35
mov rcx, r14
mov edi, eax
call fcn.1800188c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, edi
mul ecx
mov r12d, edx
shr r12d, 6
inc esi
cmp esi, 0xe
jb 0x18000dbe6
mov esi, dword [rsp + 0x48]
mov rdx, qword [0x180045418]
mov ecx, 0x50
call fcn.1800341c0
jmp 0x18000ddcd
mov rax, qword [0x180045418]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0x117
call fcn.18001a7e0
test al, al
je 0x18000df05
mov rcx, qword [0x180045418]
lea r8, [rsp + 0x40]
mov r9d, 0x63
mov byte [rsp + 0x40], 1
xor edx, edx
call fcn.18002db60
mov r9d, 9
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1800352a0
test al, al
jne 0x18000ddcd
xor edx, edx
cmp edi, 0x5a
ja case.0x18000dcdc.1
lea r8, [0x180000000]
mov eax, edi
movzx eax, byte [r8 + rax + 0xdf40]
mov ecx, dword [r8 + rax*4 + 0xdf14]
add rcx, r8
jmp rcx
mov word [rbp + 0x8e], dx
mov dword [rsp + 0x50], 0x32
jmp case.0x18000dcdc.1
mov eax, 0x4d
mov dword [rbp + 0x62], 0x440045
mov word [rbp + 0x60], ax
jmp case.0x18000dcdc.1
mov eax, 0x45
mov word [rbp + 0x7a], ax
jmp case.0x18000dcdc.1
mov dword [rbp + 0x82], 0x560073
mov dword [rbp + 0x86], 0x640069
mov dword [rbp + 0x8a], 0x6f0065
jmp case.0x18000dcdc.1
mov eax, 0x42
mov dword [rbp + 0x74], 0x590054
mov word [rbp + 0x72], ax
mov eax, 0x50
mov word [rbp + 0x78], ax
jmp case.0x18000dcdc.1
mov eax, 0x53
mov dword [rbp + 0x6c], 0x3a0055
mov word [rbp + 0x6a], ax
mov eax, 0x5c
mov word [rbp + 0x70], ax
jmp case.0x18000dcdc.1
mov dword [rbp + 0x66], 0x410049
jmp case.0x18000dcdc.1
mov eax, 0x73
mov dword [rbp + 0x7c], 0x44005f
mov word [rbp + 0x80], ax
jmp case.0x18000dcdc.1
mov rdx, qword [0x180045418]
mov ecx, 0x50
call fcn.1800341c0
mov r8d, dword [rsp + 0x50]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
xor eax, eax
mov ebx, eax
xor edx, edx
add edi, 0xa
lea eax, [rdi + 0x129]
cmp eax, 0x18d
jb 0x18000dcb6
inc r13d
cmp r13d, esi
jb 0x18000da29
mov eax, ebx
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.180039fa0
mov rbx, qword [rsp + 0x258]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movdqa xmm1, xmmword [0x18003ea60]
xorps xmm0, xmm0
mov rcx, qword [r14]
movabs rax, 0x218a392cdabbd3f
movdqa xmmword [rsp + 0x60], xmm0
neg rcx
movdqa xmm0, xmmword [0x18003ea70]
and rcx, qword [r14]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [0x18003eb20]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [0x18003eaf0]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm1, xmmword [0x18003eab0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm0, xmmword [0x18003eaa0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm1, xmmword [0x18003eb30]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x18003ea50]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm1, xmmword [0x18003eb00]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm0, xmmword [0x18003ead0]
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmm1, xmmword [0x18003eb10]
movdqa xmmword [rbp], xmm0
movdqa xmm0, xmmword [0x18003ea90]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm1, xmmword [0x18003eac0]
imul rcx, rax
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm0, xmmword [0x18003eae0]
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm1, xmmword [0x18003eb40]
movdqa xmmword [rbp + 0x40], xmm0
shr rcx, 0x3a
movdqa xmmword [rbp + 0x50], xmm1
mov eax, dword [rsp + rcx*4 + 0x60]
jmp 0x18000dddb
mov eax, r12d
jmp 0x18000dddb
mov eax, edi
jmp 0x18000dddb
call fcn.18001baa0
int3