Function at 0x1400303c0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov rax, qword [0x1403710d8]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x24], 0
mov byte [rsp + 0x30], 0
lea rdi, [rsp + 0x31]
xor eax, eax
mov ecx, 7
rep stosb byte [rdi], al
lea rdi, [rsp + 0x38]
xor eax, eax
mov ecx, 0x24
rep stosb byte [rdi], al
mov byte [rsp + 0x60], 0
lea rdi, [rsp + 0x61]
xor eax, eax
mov ecx, 9
rep stosb byte [rdi], al
lea rdi, [rsp + 0x6a]
xor eax, eax
mov ecx, 0x76
rep stosb byte [rdi], al
mov byte [rsp + 0xe0], 0
lea rdi, [rsp + 0xe1]
xor eax, eax
mov ecx, 0x1f
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x128], 0
je 0x14003046d
mov rax, qword [rsp + 0x128]
mov dword [rax], 0
cmp qword [rsp + 0x130], 0
je 0x140030486
mov rax, qword [rsp + 0x130]
mov dword [rax], 0
cmp qword [rsp + 0x120], 0xffffffffffffffff
je 0x1400304b0
cmp qword [rsp + 0x128], 0
je 0x1400304b0
cmp dword [0x140375890], 0
je 0x1400304b0
cmp qword [rsp + 0x130], 0
jne 0x1400304ba
jmp 0x140030721
cmp dword [0x140375890], 0
jne 0x1400304cd
jmp 0x140030721
xor edx, edx
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x1400304f7
jmp 0x140030721
mov eax, dword [rsp + 0x20]
cmp dword [0x140375cbc], eax
jae 0x140030520
mov rax, qword [rsp + 0x128]
mov dword [rax], 1
jmp 0x140030721
cmp dword [rsp + 0x20], 0
jne 0x1400305fa
mov rax, qword [rsp + 0x130]
mov dword [rax], 1
lea rcx, [rsp + 0x30]
call fcn.140030740
test eax, eax
jne 0x140030551
jmp 0x140030721
mov r9d, 0x20
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140030c70
test eax, eax
jne 0x14003057c
jmp 0x140030721
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x120]
call fcn.140030a20
test eax, eax
jne 0x14003059c
jmp 0x140030721
movzx eax, word [rsp + 0x49]
mov word [0x140375cd0], ax
movsx eax, byte [rsp + 0x48]
mov dword [0x140375cd4], eax
mov r8d, 0x20
lea rdx, [rsp + 0xe0]
lea rcx, [0x140375d18]
call fcn.14028a8de
mov r9d, 1
xor r8d, r8d
mov edx, 0x20
lea rcx, [0x140375d18]
call fcn.140030e70
test eax, eax
jne 0x1400305f5
jmp 0x140030721
jmp 0x140030719
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x120]
call fcn.140030ab0
test eax, eax
jne 0x14003061a
jmp 0x140030721
movzx ecx, word [rsp + 0x7d]
movzx eax, word [0x140375cd0]
cmp ecx, eax
jne 0x140030647
movsx eax, byte [rsp + 0x7c]
cmp eax, dword [0x140375cd4]
jne 0x140030647
mov eax, dword [0x140375cb4]
cmp dword [rsp + 0x7f], eax
je 0x140030719
lea rcx, [rsp + 0x30]
call fcn.140030740
test eax, eax
jne 0x14003065f
jmp 0x140030721
movzx eax, word [rsp + 0x49]
mov word [0x140375cd0], ax
movsx eax, byte [rsp + 0x48]
mov dword [0x140375cd4], eax
mov eax, dword [rsp + 0x7f]
mov dword [0x140375cb4], eax
mov r8d, 0x20
lea rdx, [rsp + 0xe0]
lea rcx, [0x140375d18]
call fcn.14028a8de
mov r8d, 0x20
lea rdx, [rsp + 0x83]
lea rcx, [0x140375d18]
call fcn.14028a8de
xor r9d, r9d
lea r8, [rsp + 0x4b]
mov edx, 0x20
lea rcx, [0x140375d18]
call fcn.140030e70
test eax, eax
jne 0x1400306d5
jmp 0x140030721
mov r9d, 1
xor r8d, r8d
mov edx, 0x20
lea rcx, [0x140375d18]
call fcn.140030e70
test eax, eax
jne 0x1400306f7
jmp 0x140030721
movzx ecx, word [rsp + 0x7d]
movzx eax, word [0x140375cd0]
cmp ecx, eax
je 0x140030719
mov rax, qword [rsp + 0x128]
mov dword [rax], 1
jmp 0x140030721
mov dword [rsp + 0x24], 1
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14028a900
add rsp, 0x110
pop rdi
ret