Function at 0x180030d50
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x710]
sub rsp, 0x810
mov rax, qword [0x1800b3dc8]
xor rax, rsp
mov qword [rbp + 0x700], rax
mov rax, rdx
mov qword [rsp + 0x50], rdx
lea edx, [rcx + 0x7df]
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x58], r8
mov r15, r9
mov dword [rsp + 0x60], ecx
mov r14d, ecx
mov dword [rsp + 0x40], edx
cmp ecx, edx
jae 0x18003148f
mov r13, qword [rbp - 0x80]
xor ebx, ebx
mov r12, qword [rbp - 0x70]
mov rdi, qword [rsp + 0x48]
lea ecx, [rbx + 0x33]
lea r9, [0x180000000]
lea r10, [0x182954fd0]
cmp r14d, 0x381
ja 0x180030e9a
je 0x180030e8e
cmp r14d, 0x1b0
ja 0x180030e4d
je 0x180030e31
mov eax, r14d
sub eax, 0x7a
je 0x180030e25
sub eax, 0x93
je 0x1800314be
cmp eax, 8
jne 0x180031475
movzx eax, word [0x18005a693]
mov word [rbp - 0x5c], ax
movzx eax, byte [0x18005a695]
mov byte [rbp - 0x5a], al
mov byte [rbp - 0x59], bl
jmp 0x180031475
mov dword [rbp - 0x60], 0x72707377
jmp 0x180031475
mov r8d, 1
lea rdx, [0x18005a6d1]
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x180031467
cmp r14d, 0x24b
je 0x180030e83
cmp r14d, 0x2e6
jne 0x18003147a
mov r8d, 4
lea rdx, str.user_SIGNOUT_SUCCESS
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp - 0x48], bx
jmp 0x180031467
mov word [rbp - 0x58], 0x57
jmp 0x18003147a
mov dword [rbp - 0x48], 0x33
jmp 0x18003147a
cmp r14d, 0x5ed
ja 0x1800310c3
je 0x1800310a8
cmp r14d, 0x41c
je 0x180031075
cmp r14d, 0x4b7
je 0x180030f21
cmp r14d, 0x552
jne 0x18003147a
mov qword [rsp + 0x68], rbx
lea rax, [0x182954fe8]
mov rcx, rbx
nop
cmp qword [rax - 0x18], rbx
jne 0x180030eeb
cmp qword [rax], rbx
je 0x180030f03
inc rcx
add rax, 0x20
cmp rcx, 4
jb 0x180030ee0
mov r14d, 0x552
jmp 0x180031470
mov rdx, rcx
shl rdx, 5
add rdx, r10
mov qword [rsp + 0x68], rdx
mov edx, dword [rsp + 0x40]
mov r14d, 0x552
jmp 0x180031470
mov dword [rbp - 0x3e], 0x6c
mov r15d, 0x113
mov r14d, 0xe
cmp r14d, 0x15
ja case.0x180030f4c.1
mov eax, r14d
mov ecx, dword [r9 + rax*4 + 0x314f4]
add rcx, r9
jmp rcx
mov r12, qword [rbp - 0x50]
cmp r12, qword [rbp - 0x48]
je case.0x180030f4c.1
nop dword [rax]
mov eax, dword [rbp - 0x60]
cmp dword [r12 + 8], eax
je 0x18003100a
add r12, 0x10
cmp r12, qword [rbp - 0x48]
jne 0x180030f60
jmp case.0x180030f4c.1
mov esi, 0x65
nop
cmp esi, 0x65
je 0x180030f93
cmp esi, 0x270f
je case.0x180030f4c.6
jmp 0x180030fb7
xor r8d, r8d
lea rcx, [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [rsp + 0x48], rax
add esi, 0x26aa
cmp esi, 0x4d54
jbe 0x180030f80
lea r9, [0x180000000]
cmp dword [0x182954e54], ebx
mov eax, ebx
setne al
mov dword [rsp + 0x48], eax
mov rdi, qword [rsp + 0x48]
jmp case.0x180030f4c.1
mov rdi, rbx
mov qword [rsp + 0x48], rbx
dec r15d
dec r14d
cmp r15d, 0x10c
ja 0x180030f34
mov r15, qword [rsp + 0x78]
mov r12, rdi
jmp 0x180031462
mov r15, qword [rsp + 0x78]
mov rdi, r12
mov qword [rsp + 0x48], r12
jmp 0x180031462
movzx edx, byte [rbp - 0x60]
mov ecx, 0xa0
movzx r8d, byte [rbp - 0x50]
nop word [rax + rax]
mov eax, ecx
sub eax, 0xa0
je 0x180031053
sub eax, 1
je 0x180031045
cmp eax, 1
je case.0x180030f4c.6
jmp 0x18003105e
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x48], eax
mov rdi, qword [rsp + 0x48]
jmp 0x18003105e
mov eax, ebx
cmp r8b, dl
sete al
mov dword [rbp - 0x78], eax
inc ecx
cmp ecx, 0xa3
jb 0x180031030
mov r15, qword [rsp + 0x78]
mov r12, rdi
jmp 0x180031462
mov r8d, 3
lea rdx, [0x18005a612]
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov r8d, 1
lea rdx, [0x18005a636]
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
jmp 0x180031467
cmp qword [rsp + 0x68], rbx
je 0x1800314e0
mov r13, 0xffffffffffffffff
mov qword [rbp - 0x80], r13
jmp 0x18003147a
cmp r14d, 0x688
je 0x1800310e3
cmp r14d, 0x723
jne 0x18003147a
mov rax, qword [rsp + 0x68]
jmp 0x180031494
test rax, rax
je 0x1800312cb
mov r15, qword [rsp + 0x50]
mov r14d, 0xd2
mov rdi, qword [rsp + 0x58]
nop dword [rax]
mov eax, r14d
sub eax, 0xd0
je 0x1800311e2
sub eax, 1
je 0x1800311b0
cmp eax, 1
jne 0x1800312af
lea r9d, [rax + 0x78]
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180003f50
lea rdx, [rbp - 0x30]
mov rcx, rax
sub rdx, rax
nop
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x180031140
mov edx, 0x2f
mov rcx, rdi
call sub.VCRUNTIME140.dll_strrchr
lea rcx, [rbp - 0x30]
mov r8, rax
dec rcx
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x180031165
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180031170
lea rax, [rbp + 0xe0]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x30]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x1800312af
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0xe0]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
jmp 0x1800312af
cmp r13, 0xffffffffffffffff
jne 0x1800312af
mov esi, 0xde
mov eax, esi
sub eax, 0xdd
je 0x180031274
cmp eax, 1
jne 0x1800312a1
lea rdx, [rbp - 0x30]
lea rcx, str.float_val__v1__val1__v__val2_
call fcn.180032670
mov r9d, 0x79
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180003f50
mov r9, rax
mov qword [rsp + 0x20], r15
lea r8, str._s__s.pkg
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1800354a0
lea rax, [rbp + 0xe0]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x30]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x1800312a1
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0xe0]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
dec esi
cmp esi, 0xdc
ja 0x1800311f1
dec r14d
cmp r14d, 0xcf
ja 0x180031100
mov r15, qword [rsp + 0x78]
mov r8, rdi
mov qword [rbp - 0x80], r13
mov rdi, qword [rsp + 0x68]
cmp r13, 0xffffffffffffffff
jne 0x1800313ae
mov r13, qword [rbp - 0x68]
mov esi, 0xe3
mov eax, esi
sub eax, 0xe3
je 0x180031370
sub eax, 1
je 0x180031311
cmp eax, 1
jne 0x180031389
test r13, r13
je 0x18003130c
mov qword [rdi + 0x18], r13
jmp 0x180031389
mov rdi, rbx
jmp 0x180031389
xor edx, edx
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x4f0]
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp qword [r15], rbx
lea r8, [rbp + 0x2f0]
mov rcx, qword [0x182954e60]
lea rdx, [rbp + 0x4f0]
cmove r8, rbx
mov qword [rsp + 0x28], rbx
mov r9d, 0xffffffff
mov dword [rsp + 0x20], 0x4801000
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r13, rax
jmp 0x180031389
mov r8, qword [r15]
test r8, r8
je 0x180031389
lea rdx, str.GetSourceForElement
lea rcx, [rbp + 0x2f0]
call r12
mov r8, qword [rsp + 0x58]
inc esi
cmp esi, 0xe6
jb 0x1800312e3
mov qword [rbp - 0x68], r13
mov r13, qword [rbp - 0x80]
mov qword [rsp + 0x68], rdi
jmp 0x180031452
mov r14d, 0x76
cmp r14d, 0x76
je 0x18003142d
cmp r14d, 0x1f58
je 0x1800313dd
cmp r14d, 0x3e3a
jne 0x18003143e
mov rax, qword [rbp - 0x70]
sub rax, qword [r15]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rbx
jmp 0x18003143e
mov eax, dword [rsp + 0x70]
test eax, eax
jne 0x1800313e6
int3
cmp qword [r15], rbx
je 0x180031428
mov esi, 5
cmp esi, 5
je 0x180031404
cmp esi, 0x10e
jne 0x180031416
test eax, eax
jne 0x180031416
int3
mov rdx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
add esi, 0x109
cmp esi, 0x212
jbe 0x1800313f0
mov dword [rsp + 0x70], eax
mov qword [rdi], r13
jmp 0x18003143e
lea rdx, [rbp - 0x70]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [rsp + 0x70], eax
add r14d, 0x1ee2
cmp r14d, 0x5ca6
jbe 0x1800313b4
mov rdi, qword [rsp + 0x48]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r14d, dword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov edx, dword [rsp + 0x40]
mov ecx, 0x33
mov rax, qword [rsp + 0x50]
add r14d, 0x9b
mov dword [rsp + 0x60], r14d
cmp r14d, edx
jb 0x180030dc0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rbp + 0x700]
xor rcx, rsp
call fcn.1800508f0
mov rbx, qword [rsp + 0x850]
add rsp, 0x810
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx eax, byte [r8]
movzx ecx, byte [r8 + 1]
shl ax, 8
or cx, ax
mov word [rsp + 0x78], cx
jmp 0x18003148f
lea rcx, str.SBIRS.SuspiciousModuleReportingTime
call fcn.180032670
mov rax, rbx
jmp 0x180031494