Function at 0x1400119f8
Capabilities:
Enumerate pe sections
Get file size
Parse pe header
Read file via mapping
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1401453f8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov r14, rdx
mov rax, rcx
mov qword [rsp + 0xb8], rcx
xor esi, esi
mov qword [r11 - 0x100], rsi
mov edi, esi
mov qword [r11 - 0x120], rsi
mov qword [r11 - 0x110], rsi
mov qword [r11 - 0x118], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x120], xmm0
movups xmmword [r11 - 0x78], xmm0
xorps xmm1, xmm1
xor ecx, ecx
movups xmmword [r11 - 0x68], xmm1
movups xmmword [r11 - 0x58], xmm1
movups xmmword [r11 - 0x48], xmm1
mov dword [r11 - 0x38], ecx
test rax, rax
je 0x140012c0f
test rdx, rdx
je 0x140012c0f
mov qword [rax], rsi
mov rcx, qword gs:[0x60]
lea edx, [rsi + 8]
mov r8d, 0x2d8
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x88], rax
test rax, rax
jne 0x140011af0
lea ebx, [rsi + 0xe]
mov dword [rsp + 0x40], ebx
lea r9, str.Out_of_memory
lea r8d, [rsi + 0x6e]
lea rdx, str.AsaFileCreate
lea ecx, [rsi + 1]
call fcn.1400071f4
jmp 0x140012c2e
lea r12, [rax + 0xd0]
mov r8, r14
mov edx, 0x104
mov rcx, r12
call fcn.140003324
mov dword [rsp + 0xa0], eax
test eax, eax
jns 0x140011b57
mov edx, eax
and edx, 0x1fff0000
movzx ecx, ax
mov ebx, eax
cmp edx, 0x70000
cmove ebx, ecx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_copy_file_path__ws:_0x_x
mov r8d, 0x7c
lea rdx, str.AsaFileCreate
lea ecx, [r8 - 0x7b]
call fcn.1400071f4
jmp 0x140012c2e
mov rcx, r12
call qword [sym.imp.msvcrt.dll__wcslwr]
nop dword [rax + rax]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea r15d, [r9 + 1]
mov r8d, r15d
mov edx, 0x80000000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rdi + 0x10], rax
or rbx, 0xffffffffffffffff
cmp rax, rbx
jne 0x140011bea
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov dword [rsp + 0x40], eax
lea ecx, [rax - 2]
cmp ecx, r15d
jbe 0x140011be5
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_create_file__ws:_0x_x
mov r8d, 0x96
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
test eax, eax
jne 0x140011c41
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_get_file_size__ws:_0x_x
mov r8d, 0xa2
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
cmp qword [rsp + 0x90], rsi
jg 0x140011c59
mov ebx, 0xbf
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r13d, [r9 + 2]
mov r8d, r13d
xor edx, edx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
nop dword [rax + rax]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x140011cc3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_map_file__ws:_0x_x
mov r8d, 0xb9
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop dword [rax + rax]
mov qword [rdi + 0x20], rax
test rax, rax
jne 0x140011d26
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_map_view_of_file__ws:_0x_x
mov r8d, 0xc9
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
mov qword [rdi + 0x48], rax
mov edx, 0x5a4d
cmp dx, word [rax]
je 0x140011d68
mov ebx, 0xbf
mov dword [rsp + 0x40], ebx
movzx eax, word [rax]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.File_type_for__ws_of__hu_is_not_supported
lea r8d, [rbx + 0x22]
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
jmp 0x140012c2e
mov r8d, 0x30
lea rdx, [rsp + 0x110]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [rax + rax]
cmp rax, 0x30
je 0x140011dbf
mov ebx, 0x54f
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_get_length_of_region__ws:_0x_x
mov r8d, 0xec
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
mov rdx, qword [rsp + 0x128]
add rdx, qword [rdi + 0x20]
cmp rdx, qword [rdi + 0x20]
jb 0x140011dd9
mov qword [rdi + 0x28], rdx
mov eax, esi
jmp 0x140011de5
mov qword [rdi + 0x28], rbx
mov eax, 0x80070216
mov rdx, rbx
test eax, eax
jns 0x140011e1a
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
lea r9, str.End_of_file_mapping_was_not_valid__ws:_0x_x
lea r8d, [rbx + 0x36]
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
mov rax, qword [rdi + 0x48]
mov r8d, 0x40
mov qword [rsp + 0x68], r8
cmp rax, qword [rdi + 0x20]
jb 0x140012baa
cmp rax, rdx
jae 0x140012baa
lea rcx, [rax + 0x40]
cmp rcx, rax
jb 0x140012baa
cmp rcx, qword [rdi + 0x20]
jb 0x140012baa
cmp rcx, rdx
ja 0x140012baa
lea rdx, [rsp + 0x140]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
nop dword [rax + rax]
test eax, eax
jne 0x140011eb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_get_file_information_by_handle__ws:_0x_x
mov r8d, 0x106
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
mov rdx, qword [rdi + 0x48]
movsxd rcx, dword [rdx + 0x3c]
mov eax, ecx
and eax, 3
test al, al
je 0x140011ef4
mov ebx, 0x506
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], r14
lea r9, str.File__ws_is_a_16_bit_binary
mov r8d, 0x111
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
jmp 0x140012c2e
cmp ecx, dword [rsp + 0x164]
jbe 0x140011f2c
mov ebx, 0x506
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], r14
lea r9, str.File__ws_is_a_16_bit_binary
mov r8d, 0x117
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
jmp 0x140012c2e
add rcx, rdx
mov qword [rdi + 0x50], rcx
mov edx, 0xf8
mov qword [rsp + 0x60], rdx
cmp rcx, qword [rdi + 0x20]
jb 0x140012b72
cmp rcx, qword [rdi + 0x28]
jae 0x140012b72
lea rax, [rcx + 0xf8]
cmp rax, rcx
jb 0x140012b72
cmp rax, qword [rdi + 0x20]
jb 0x140012b72
cmp rax, qword [rdi + 0x28]
ja 0x140012b72
cmp dword [rcx], 0x4550
je 0x140011fae
lea ebx, [rdx - 0x39]
mov dword [rsp + 0x40], ebx
mov eax, dword [rcx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.File__ws_has_invalid_NT_signature_of__d
lea r8d, [rdx + 0x30]
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
jmp 0x140012c2e
movzx eax, word [rcx + 4]
mov dword [rdi + 8], eax
cmp eax, 0x14c
je 0x140012137
cmp eax, 0x1c4
je 0x140012137
cmp eax, 0x8664
je 0x140011fe7
cmp eax, 0xaa64
je 0x140011fe7
mov ebx, 0xd8
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
mov qword [rdi + 0x50], rsi
mov rcx, qword [rdi + 0x48]
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
mov qword [rdi + 0x58], rdx
mov ecx, 0x108
mov qword [rsp + 0x58], rcx
cmp rdx, qword [rdi + 0x20]
jb 0x1400120ff
cmp rdx, qword [rdi + 0x28]
jae 0x1400120ff
lea rax, [rdx + 0x108]
cmp rax, rdx
jb 0x1400120ff
cmp rax, qword [rdi + 0x20]
jb 0x1400120ff
cmp rax, qword [rdi + 0x28]
ja 0x1400120ff
mov r8d, dword [rdx + 0x90]
mov dword [rsp + 0x70], r8d
mov r9d, dword [rdx + 0xf0]
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x74], r9d
mov r9d, dword [rdx + 0x88]
mov dword [rsp + 0x58], r9d
mov dword [rsp + 0x78], r9d
mov r9d, dword [rdx + 0xf8]
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x7c], r9d
mov eax, dword [rdx + 0x94]
mov qword [rdi + 0x90], rax
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax + 0xf4]
mov qword [rdi + 0x98], rcx
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax + 0x8c]
mov qword [rdi + 0xa0], rcx
mov rax, qword [rdi + 0x58]
mov edx, dword [rax + 0xfc]
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x80], edx
movzx eax, word [rax + 6]
mov word [rdi + 4], ax
mov rcx, qword [rdi + 0x58]
movzx eax, word [rcx + 0x14]
add rax, 0x18
add rcx, rax
mov qword [rdi + 0x68], rcx
mov rax, qword [rdi + 0x58]
mov rcx, qword [rax + 0x30]
mov qword [rdi + 0xc8], rcx
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax + 0x50]
mov dword [rdi + 0xc], ecx
mov byte [rdi], sil
mov rax, qword [rdi + 0x58]
jmp 0x1400121e9
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r12
lea r9, str.File__ws_pointer_validation_failed__p__d
mov r8d, 0x15b
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
mov rax, qword [rdi + 0x50]
mov r8d, dword [rax + 0x80]
mov dword [rsp + 0x70], r8d
mov ecx, dword [rax + 0xe0]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x74], ecx
mov ecx, dword [rax + 0x78]
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x78], ecx
mov ecx, dword [rax + 0xe8]
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x7c], ecx
mov eax, dword [rax + 0x84]
mov qword [rdi + 0x90], rax
mov rax, qword [rdi + 0x50]
mov ecx, dword [rax + 0xe4]
mov qword [rdi + 0x98], rcx
mov rax, qword [rdi + 0x50]
mov ecx, dword [rax + 0x7c]
mov qword [rdi + 0xa0], rcx
mov rax, qword [rdi + 0x50]
mov ecx, dword [rax + 0xec]
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x80], ecx
movzx eax, word [rax + 6]
mov word [rdi + 4], ax
mov rcx, qword [rdi + 0x50]
movzx eax, word [rcx + 0x14]
add rax, 0x18
add rcx, rax
mov qword [rdi + 0x68], rcx
mov rax, qword [rdi + 0x50]
mov ecx, dword [rax + 0x34]
mov qword [rdi + 0xc8], rcx
mov rax, qword [rdi + 0x50]
mov ecx, dword [rax + 0x50]
mov dword [rdi + 0xc], ecx
mov byte [rdi], r15b
mov rax, qword [rdi + 0x50]
movzx ecx, word [rax + 0x5e]
shr cx, 0xc
and cl, r15b
mov byte [rdi + 2], cl
mov rax, qword [rdi + 0x68]
mov edx, 0x28
mov qword [rsp + 0xc0], rdx
cmp rax, qword [rdi + 0x20]
jb 0x140012b3a
cmp rax, qword [rdi + 0x28]
jae 0x140012b3a
lea rcx, [rax + 0x28]
cmp rcx, rax
jb 0x140012b3a
cmp rcx, qword [rdi + 0x20]
jb 0x140012b3a
cmp rcx, qword [rdi + 0x28]
ja 0x140012b3a
cmp qword [rdi + 0x90], rsi
je 0x1400123a5
test r8d, r8d
je 0x1400123a5
lea r13, [rdi + 0x70]
lea r9d, [rdx - 0x14]
mov rdx, rdi
mov rcx, r13
call fcn.140013f24
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14001229a
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_get_first_import_descriptor__ws:_0x_x
mov r8d, 0x193
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
mov rcx, qword [rdi + 0x90]
cmp rcx, 0x14
jb 0x1400122ba
add rcx, 0xffffffffffffffec
mov qword [rdi + 0xa8], rcx
mov eax, esi
or rbx, 0xffffffffffffffff
jmp 0x1400122cd
or rbx, 0xffffffffffffffff
mov qword [rdi + 0xa8], rbx
mov eax, 0x80070216
mov rcx, rbx
test eax, eax
jns 0x140012300
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], r14
lea r9, str.Import_directory_size_is_invalid__ws
mov r8d, 0x19c
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
add rcx, qword [r13]
cmp rcx, qword [r13]
jb 0x140012315
mov qword [rdi + 0xa8], rcx
mov eax, esi
jmp 0x140012324
mov qword [rdi + 0xa8], rbx
mov eax, 0x80070216
mov rcx, rbx
test eax, eax
jns 0x140012357
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], r14
lea r9, str.Import_directory_end_is_invalid__ws
mov r8d, 0x1a5
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
mov qword [rsp + 0xc8], rsi
cmp rcx, qword [rdi + 0x20]
jb 0x14001236b
cmp rcx, qword [rdi + 0x28]
jb 0x1400123a5
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r9, str.File__ws_pointer_validation_failed__p__d
mov r8d, 0x1a9
lea rdx, str.AsaFileCreate
mov ecx, 2
call fcn.1400071f4
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
cmp qword [rdi + 0x98], rsi
je 0x140012401
mov r13d, dword [rsp + 0x50]
test r13d, r13d
je 0x140012406
mov r8d, r13d
lea rcx, [rdi + 0x78]
mov ebx, 0x20
mov r9d, ebx
mov rdx, rdi
call fcn.140013f24
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14001240b
mov qword [rsp + 0x20], r14
lea r9, str.Delay_load_table_looks_invalid_ignoring_it__ws
mov r8d, 0x1bf
lea rdx, str.AsaFileCreate
lea ecx, [rbx - 0x1e]
call fcn.1400071f4
mov qword [rdi + 0x98], rsi
jmp 0x14001240b
mov r13d, dword [rsp + 0x50]
mov ebx, 0x20
cmp qword [rdi + 0x98], rsi
je 0x140012714
test r13d, r13d
je 0x140012714
mov rax, qword [rdi + 0x78]
cmp byte [rdi], sil
je 0x140012495
mov qword [rdi + 0x80], rax
mov qword [rsp + 0x50], rbx
cmp rax, qword [rdi + 0x20]
jb 0x14001245b
cmp rax, qword [rdi + 0x28]
jae 0x14001245b
lea rcx, [rax + 0x20]
cmp rcx, rax
jb 0x14001245b
cmp rcx, qword [rdi + 0x20]
jb 0x14001245b
cmp rcx, qword [rdi + 0x28]
jbe 0x1400124dd
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, str.File__ws_pointer_validation_failed__p__d
mov r8d, 0x1d2
lea rdx, str.AsaFileCreate
mov ecx, 2
call fcn.1400071f4
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
mov qword [rdi + 0x88], rax
mov qword [rsp + 0xd0], 0x40
cmp rax, qword [rdi + 0x20]
jb 0x1400126d6
cmp rax, qword [rdi + 0x28]
jae 0x1400126d6
lea rcx, [rax + 0x40]
cmp rcx, rax
jb 0x1400126d6
cmp rcx, qword [rdi + 0x20]
jb 0x1400126d6
cmp rcx, qword [rdi + 0x28]
ja 0x1400126d6
mov rdx, qword [rdi + 0x98]
add rdx, qword [rdi + 0x78]
or rcx, 0xffffffffffffffff
cmp rdx, qword [rdi + 0x78]
jb 0x1400124fd
mov qword [rdi + 0xb0], rdx
mov eax, esi
jmp 0x14001250c
mov qword [rdi + 0xb0], rcx
mov eax, 0x80070216
mov rdx, rcx
test eax, eax
jns 0x14001253f
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], r14
lea r9, str.Invalid_v2_delay_load_descriptor__ws
mov r8d, 0x1e3
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
mov qword [rdi + 0xb8], rdx
mov rax, qword [rdi + 0xb0]
cmp rax, rbx
jb 0x1400126a0
add rax, 0xffffffffffffffe0
mov qword [rdi + 0xb0], rax
mov rax, qword [rdi + 0xb8]
cmp byte [rdi], sil
je 0x1400125ae
cmp rax, rbx
jb 0x140012578
add rax, 0xffffffffffffffe0
jmp 0x1400125bc
mov qword [rdi + 0xb8], rcx
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], r14
lea r9, str.Failed_to_get_32_bit_V1_delay_load_directory_end__ws
mov r8d, 0x1fa
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
cmp rax, 0x40
jb 0x14001266a
add rax, 0xffffffffffffffc0
mov qword [rdi + 0xb8], rax
mov rcx, qword [rdi + 0xb0]
mov qword [rsp + 0xd8], rsi
cmp rcx, qword [rdi + 0x20]
jb 0x140012630
cmp rcx, qword [rdi + 0x28]
jae 0x140012630
mov qword [rsp + 0xe0], rsi
cmp rax, qword [rdi + 0x20]
jb 0x1400125f6
cmp rax, qword [rdi + 0x28]
jb 0x140012714
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, str.File__ws_pointer_validation_failed__p__d
mov r8d, 0x20c
lea rdx, str.AsaFileCreate
mov ecx, 2
call fcn.1400071f4
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r9, str.File__ws_pointer_validation_failed__p__d
mov r8d, 0x20b
lea rdx, str.AsaFileCreate
mov ecx, 2
call fcn.1400071f4
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
mov qword [rdi + 0xb8], rcx
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], r14
lea r9, str.Failed_to_get_64_bit_V1_delay_load_directory_end__ws
mov r8d, 0x206
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
mov qword [rdi + 0xb0], rcx
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], r14
lea r9, str.Invalid_delay_load_directory_end__ws
mov r8d, 0x1ee
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
jmp 0x140012c2e
mov dword [rsp + 0x30], 0x40
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, str.File__ws_pointer_validation_failed__p__d
mov r8d, 0x1db
lea rdx, str.AsaFileCreate
mov ecx, 2
call fcn.1400071f4
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
cmp qword [rdi + 0xa0], rsi
je 0x14001277a
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14001277a
mov r8d, eax
mov r9d, 0x28
mov rdx, rdi
lea rcx, [rdi + 0x60]
call fcn.140013f24
mov dword [rsp + 0x40], eax
mov r13d, 2
test eax, eax
je 0x140012780
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Export_directory_doesnt_look_valid__ignoring_it__ws:_0x_x
mov r8d, 0x21b
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
mov qword [rdi + 0x60], rsi
mov qword [rdi + 0xa0], rsi
jmp 0x140012780
mov r13d, 2
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x14001285d
mov rax, qword [rdi + 0x60]
test rax, rax
je 0x14001285d
mov bl, sil
mov qword [rsp + 0xe8], rcx
cmp rax, qword [rdi + 0x20]
jb 0x1400127ce
cmp rax, qword [rdi + 0x28]
jae 0x1400127ce
lea rdx, [rax + rcx]
cmp rdx, rax
jb 0x1400127ce
cmp rdx, qword [rdi + 0x20]
jb 0x1400127ce
cmp rdx, qword [rdi + 0x28]
ja 0x1400127ce
mov bl, r15b
jmp 0x1400127ff
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, str.File__ws_pointer_validation_failed__p__d
mov r8d, 0xa07
lea rdx, str.AsapIsFilePointerValid
mov ecx, r13d
call fcn.1400071f4
mov rcx, qword [rdi + 0xa0]
test bl, bl
je 0x140012831
add rcx, qword [rdi + 0x60]
mov qword [rdi + 0xc0], rcx
cmp rcx, qword [rdi + 0x60]
jae 0x14001285d
mov qword [rdi + 0xa0], rsi
mov qword [rdi + 0xc0], rsi
lea r9, str.Export_directory_size_is_not_valid__ws
mov r8d, 0x233
jmp 0x140012845
mov qword [rdi + 0xa0], rsi
lea r9, str.Export_directory_is_not_valid__ws
mov r8d, 0x23a
mov qword [rsp + 0x20], r14
mov qword [rdi + 0x60], rsi
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
cmp qword [rdi + 0xa0], rsi
je 0x140012a78
mov rax, qword [rdi + 0x60]
test rax, rax
je 0x140012a78
mov r12d, 4
cmp dword [rax + 0x18], esi
je 0x140012923
mov r8d, dword [rax + 0x20]
test r8d, r8d
je 0x140012923
mov eax, dword [rax + 0x18]
mul r12
mov qword [rsp + 0xf0], rdx
test rdx, rdx
jne 0x1400128aa
mov ecx, esi
jmp 0x1400128b3
or rax, 0xffffffffffffffff
mov ecx, 0x80070216
mov qword [rsp + 0x48], rax
test ecx, ecx
jns 0x1400128e3
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_get_export_names_table_size__ws:_0x_x
mov r8d, 0x24f
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
jmp 0x140012923
mov r9, rax
mov rdx, rdi
lea rcx, [rdi + 0x30]
call fcn.140013f24
mov dword [rsp + 0x40], eax
test eax, eax
je 0x140012923
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Could_export_name_table__ws:_0x_x
mov r8d, 0x25b
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
mov qword [rdi + 0x30], rsi
mov rax, qword [rdi + 0x60]
cmp dword [rax + 0x18], esi
je 0x1400129cd
mov r8d, dword [rax + 0x24]
test r8d, r8d
je 0x1400129cd
mov eax, dword [rax + 0x18]
mul r13
mov qword [rsp + 0xf8], rdx
test rdx, rdx
jne 0x140012954
mov ecx, esi
jmp 0x14001295d
or rax, 0xffffffffffffffff
mov ecx, 0x80070216
mov qword [rsp + 0x48], rax
test ecx, ecx
jns 0x14001298d
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_get_export_name_ordinal_table_size__ws:_0x_x
mov r8d, 0x26b
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
jmp 0x1400129cd
mov r9, rax
mov rdx, rdi
lea rcx, [rdi + 0x38]
call fcn.140013f24
mov dword [rsp + 0x40], eax
test eax, eax
je 0x1400129cd
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_get_export_name_ordinal_table__ws:_0x_x
mov r8d, 0x277
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
mov qword [rdi + 0x38], rsi
mov rax, qword [rdi + 0x60]
cmp dword [rax + 0x14], esi
je 0x140012a78
mov ecx, dword [rax + 0x1c]
test ecx, ecx
je 0x140012a78
mov eax, dword [rax + 0x14]
mul r12
mov qword [rsp + 0x100], rdx
test rdx, rdx
jne 0x1400129fc
mov edx, esi
jmp 0x140012a05
or rax, 0xffffffffffffffff
mov edx, 0x80070216
mov qword [rsp + 0x48], rax
test edx, edx
jns 0x140012a35
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_get_export_function_table_size__ws:_0x_x
mov r8d, 0x287
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
jmp 0x140012a78
mov r8, rcx
mov r9, rax
mov rdx, rdi
lea rcx, [rdi + 0x40]
call fcn.140013f24
mov dword [rsp + 0x40], eax
test eax, eax
je 0x140012a78
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str.Could_not_get_export_function_table__ws:_0x_x
mov r8d, 0x293
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
mov qword [rdi + 0x40], rsi
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x140012aa6
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140012aa6
mov r9d, ecx
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0xa8]
call fcn.140013f24
test eax, eax
jne 0x140012aa6
mov byte [rdi + 1], r15b
mov rcx, qword [rdi + 0x68]
mov qword [rsp + 0xb0], rcx
movzx edx, si
mov word [rsp + 0x44], dx
mov r8, qword [rsp + 0x98]
cmp dx, word [rdi + 4]
jae 0x140012af2
cmp dword [rcx + 0x14], esi
je 0x140012adb
mov eax, dword [rcx + 0x10]
add r8, rax
mov qword [rsp + 0x98], r8
add dx, r15w
mov word [rsp + 0x44], dx
add rcx, 0x28
mov qword [rsp + 0xb0], rcx
jmp 0x140012ac2
cmp r8, qword [rsp + 0x128]
jbe 0x140012b1d
mov qword [rsp + 0x20], r14
lea r9, str.Section_size_is_invalid__ws
mov r8d, 0x2b4
lea rdx, str.AsaFileCreate
mov ecx, r15d
call fcn.1400071f4
mov rax, qword [rsp + 0xb8]
mov qword [rax], rdi
mov rdi, rsi
mov qword [rsp + 0x88], rsi
mov ebx, esi
jmp 0x140012c2e
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, str.File__ws_pointer_validation_failed__p__d
mov r8d, 0x184
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r9, str.File__ws_pointer_validation_failed__p__d
mov r8d, 0x123
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, str.File__ws_pointer_validation_failed__p__d
mov r8d, 0xfb
lea rdx, str.AsaFileCreate
mov ecx, r13d
call fcn.1400071f4
mov ebx, 0xc1
mov dword [rsp + 0x40], ebx
jmp 0x140012c2e
mov ebx, 0x57
lea r9, str.Invalid_parameter
lea r8d, [rbx + 7]
lea rdx, str.AsaFileCreate
lea ecx, [rbx - 0x56]
call fcn.1400071f4
test rdi, rdi
je 0x140012c3b
mov rcx, rdi
call fcn.140012c74
mov eax, ebx
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140020b70
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret