Function at 0x1400a4b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
mov rax, rcx
test r8, r8
je 0x1400a4b89
cmp r8, 1
jne 0x1400a4bc7
mov cx, 2
xor edx, edx
jmp 0x1400a4b90
mov edx, 1
xor ecx, ecx
mov qword [rax + 8], rdx
mov word [rax + 0x10], cx
mov word [rax + 0x16], 0
mov dword [rax + 0x12], 0
mov qword [rax + 0x18], 1
mov dword [rax], 2
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx edi, word [rdx]
cmp edi, 0x10b
je 0x1400a4bf2
cmp edi, 0x20b
jne 0x1400a4c0b
mov ecx, 1
cmp r8, 3
jb 0x1400a4c19
jne 0x1400a4c82
mov r9w, 3
jmp 0x1400a4c1e
mov r9d, 1
cmp r8, 3
jb 0x1400a4c55
jne 0x1400a4ca6
mov ecx, 3
jmp 0x1400a4c5a
mov qword [rax + 8], 6
mov qword [rax + 0x10], rdi
jmp 0x1400a4bad
mov r9w, 2
xor r10d, r10d
mov qword [rax + 8], rcx
mov word [rax + 0x10], r9w
mov word [rax + 0x12], 0
mov dword [rax + 0x14], 0
mov dword [rax + 0x18], r10d
movabs rcx, 0x1800000000
mov qword [rax + 0x1c], rcx
mov dword [rax + 0x24], 0
jmp 0x1400a4bad
mov ecx, 2
xor r10d, r10d
mov dword [rax + 8], r9d
mov dword [rax + 0xc], 0
mov dword [rax + 0x10], ecx
mov dword [rax + 0x14], 0
mov dword [rax + 0x18], r10d
mov dword [rax + 0x1c], 0
jmp 0x1400a4bad
mov r9w, 4
cmp r8, 5
jb 0x1400a4d25
lea r10, [r8 - 4]
cmp r10, 4
jae 0x1400a4d2f
xor ecx, ecx
jmp 0x1400a4c21
mov ecx, 4
cmp r8, 5
jb 0x1400a4d2a
lea r10, [r8 - 4]
xor r9d, r9d
cmp r10, 4
jb 0x1400a4c5d
cmp r8, 9
jb 0x1400a4d92
lea r10, [r8 - 8]
cmp r10, 4
jb 0x1400a4c5d
cmp r8, 0xd
jb 0x1400a4dac
lea r10, [r8 - 0xc]
cmp r10, 4
jb 0x1400a4c5d
cmp r8, 0x11
jb 0x1400a4dc6
lea r10, [r8 - 0x10]
cmp r10, 4
jb 0x1400a4c5d
cmp r8, 0x15
jb 0x1400a4de0
mov rsi, rax
lea r10, [r8 - 0x14]
cmp r10, 4
jae 0x1400a4e0f
mov rax, rsi
jmp 0x1400a4c5d
jmp 0x1400a4c21
jmp 0x1400a4c5d
cmp r8, 9
jb 0x1400a4d88
lea r10, [r8 - 8]
cmp r10, 4
jb 0x1400a4c9f
cmp r8, 0xd
jb 0x1400a4da2
lea r10, [r8 - 0xc]
cmp r10, 4
jb 0x1400a4c9f
cmp r8, 0x11
jb 0x1400a4dbc
lea r10, [r8 - 0x10]
cmp r10, 4
jb 0x1400a4c9f
cmp r8, 0x15
jb 0x1400a4dd6
mov rsi, rax
lea r10, [r8 - 0x14]
cmp r10, 3
ja 0x1400a4df0
xor ecx, ecx
mov rax, rsi
jmp 0x1400a4c21
mov r9w, 8
jmp 0x1400a4c21
mov ecx, 8
mov r9d, 1
jmp 0x1400a4c5d
mov r9w, 0xc
jmp 0x1400a4c21
mov ecx, 0xc
mov r9d, 1
jmp 0x1400a4c5d
mov r9w, 0x10
jmp 0x1400a4c21
mov ecx, 0x10
mov r9d, 1
jmp 0x1400a4c5d
mov r9w, 0x14
jmp 0x1400a4c21
mov ecx, 0x14
mov r9d, 1
jmp 0x1400a4c5d
cmp r8, 0x19
jb 0x1400a4e4b
lea rcx, [r8 - 0x18]
movaps xmm2, xmmword [0x1401aaca0]
cmp rcx, 8
jae 0x1400a4e67
mov rax, rcx
movaps xmm0, xmm2
jmp 0x1400a4e86
cmp r8, 0x19
jb 0x1400a4e54
lea r10, [r8 - 0x18]
cmp r10, 3
mov rax, rsi
jbe 0x1400a4c5d
cmp r8, 0x1d
jb 0x1400a4e9f
lea r9, [r8 - 0x1c]
xor r10d, r10d
mov cx, 4
cmp r9, 4
jb 0x1400a4ea9
jne 0x1400a4fd2
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aac90]
jmp 0x1400a4e89
mov ecx, 0x18
mov r9d, 1
mov rax, rsi
jmp 0x1400a4c5d
jne 0x1400a4e72
movaps xmm0, xmmword [0x1401aacb0]
jmp 0x1400a4e86
lea rax, [r8 - 0x20]
movaps xmm1, xmmword [0x1401aacc0]
cmp rax, 4
jae 0x1400a4edc
movaps xmm0, xmm1
movzx ecx, ax
mov rax, rsi
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], rcx
mov dword [rsi], 2
jmp 0x1400a4bb3
mov r10d, 1
mov cx, 0x1c
mov rax, rsi
mov dword [rsi + 8], r10d
mov dword [rsi + 0xc], 0
mov word [rsi + 0x10], cx
mov dword [rsi + 0x12], 0
mov word [rsi + 0x16], 0
mov word [rsi + 0x18], r9w
mov word [rsi + 0x1a], 0
mov dword [rsi + 0x1c], 0
jmp 0x1400a4e94
cmp rcx, 0xd
jb 0x1400a4fc6
lea rax, [r8 - 0x24]
cmp rax, 4
jb 0x1400a4e83
mov eax, 1
cmp rcx, 0x11
jb 0x1400a5022
mov r9, rcx
and r9, 0xfffffffffffffffe
movaps xmm0, xmmword [0x1401aacf0]
cmp r9, 0x10
je 0x1400a4e86
cmp rcx, 0x13
jb 0x1400a503d
cmp r9, 0x12
je 0x1400a4e86
cmp rcx, 0x15
jb 0x1400a505e
cmp r9, 0x14
je 0x1400a4e86
cmp rcx, 0x17
jb 0x1400a50ff
cmp r9, 0x16
je 0x1400a4e86
cmp rcx, 0x19
jb 0x1400a5120
cmp r9, 0x18
je 0x1400a4e86
cmp rcx, 0x1b
jb 0x1400a5141
cmp r9, 0x1a
je 0x1400a4e86
cmp rcx, 0x1d
jb 0x1400a5162
lea r10, [r8 - 0x34]
cmp r10, 4
jb 0x1400a4fbb
cmp rcx, 0x21
jb 0x1400a5183
lea r10, [r8 - 0x38]
cmp r10, 4
jb 0x1400a4fbb
cmp rcx, 0x25
jb 0x1400a519e
lea r10, [r8 - 0x3c]
cmp r10, 4
jae 0x1400a51b9
mov rax, r10
movaps xmm0, xmm1
jmp 0x1400a4e86
movaps xmm0, xmmword [0x1401aacd0]
jmp 0x1400a4e70
lea rax, [r8 - 0x20]
cmp rax, 4
jae 0x1400a4fe4
mov r9, rax
jmp 0x1400a4ea9
cmp r9, 9
jb 0x1400a502e
lea rax, [r8 - 0x24]
cmp rax, 4
jb 0x1400a4fdc
cmp r9, 0xd
jb 0x1400a5049
mov rax, r9
and rax, 0xfffffffffffffffe
cmp rax, 0xc
je 0x1400a5013
cmp r9, 0xf
jb 0x1400a506a
cmp rax, 0xe
jne 0x1400a507f
mov r9d, 1
mov cx, 2
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aace0]
jmp 0x1400a4e86
mov cx, 8
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aad00]
jmp 0x1400a4e86
mov r9d, 1
mov cx, 0xc
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aad10]
jmp 0x1400a4e86
mov r9d, 1
mov cx, 0xe
mov r10d, 1
jmp 0x1400a4ea9
cmp r9, 0x11
jb 0x1400a510b
cmp rax, 0x10
je 0x1400a5013
cmp r9, 0x13
jb 0x1400a512c
cmp rax, 0x12
je 0x1400a5013
cmp r9, 0x15
jb 0x1400a514d
cmp rax, 0x14
je 0x1400a5013
cmp r9, 0x17
jb 0x1400a516e
cmp rax, 0x16
je 0x1400a5013
cmp r9, 0x19
jb 0x1400a518f
lea r11, [r8 - 0x34]
cmp r11, 4
jb 0x1400a50f7
cmp r9, 0x1d
jb 0x1400a51aa
lea r11, [r8 - 0x38]
cmp r11, 4
jae 0x1400a5241
mov r9, r11
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aad20]
jmp 0x1400a4e86
mov r9d, 1
mov cx, 0x10
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aac90]
jmp 0x1400a4e86
mov r9d, 1
mov cx, 0x12
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aad30]
jmp 0x1400a4e86
mov r9d, 1
mov cx, 0x14
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aad40]
jmp 0x1400a4e70
mov r9d, 1
mov cx, 0x16
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aad50]
jmp 0x1400a4e70
mov cx, 0x18
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aad60]
jmp 0x1400a4e70
mov cx, 0x1c
mov r10d, 1
jmp 0x1400a4ea9
cmp rcx, 0x29
jb 0x1400a540e
lea r10, [r8 - 0x40]
cmp r10, 4
jb 0x1400a4fbb
cmp rcx, 0x2d
jb 0x1400a5429
cmp r9, 0x2c
je 0x1400a4e86
cmp rcx, 0x2f
jb 0x1400a5444
cmp r9, 0x2e
je 0x1400a4e86
cmp rcx, 0x31
jb 0x1400a5465
lea rax, [r8 - 0x48]
cmp rax, 8
jb 0x1400a5239
cmp rcx, 0x39
jb 0x1400a5486
lea rax, [r8 - 0x50]
cmp rax, 8
jb 0x1400a5239
cmp rcx, 0x41
jb 0x1400a54a1
lea rax, [r8 - 0x58]
cmp rax, 8
jae 0x1400a54bc
movaps xmm0, xmm2
jmp 0x1400a4e86
cmp r9, 0x21
jb 0x1400a541a
lea r11, [r8 - 0x3c]
cmp r11, 4
jb 0x1400a50f7
cmp r9, 0x25
jb 0x1400a5435
lea r11, [r8 - 0x40]
cmp r11, 4
jb 0x1400a50f7
cmp r9, 0x29
jb 0x1400a5450
cmp rax, 0x28
je 0x1400a5013
cmp r9, 0x2b
jb 0x1400a5471
cmp rax, 0x2a
je 0x1400a5013
cmp r9, 0x2d
jb 0x1400a5492
lea rax, [r8 - 0x48]
cmp rax, 4
jb 0x1400a4fdc
cmp r9, 0x31
jb 0x1400a54ad
lea rax, [r8 - 0x4c]
cmp rax, 4
jb 0x1400a4fdc
cmp r9, 0x35
jb 0x1400a5653
lea rax, [r8 - 0x50]
cmp rax, 4
jb 0x1400a4fdc
cmp r9, 0x39
jb 0x1400a566e
lea rax, [r8 - 0x54]
cmp rax, 4
jb 0x1400a4fdc
cmp r9, 0x3d
jb 0x1400a567d
lea rax, [r8 - 0x58]
cmp rax, 4
jb 0x1400a4fdc
cmp r9, 0x41
jb 0x1400a568c
lea r9, [r8 - 0x5c]
cmp r9, 3
jbe 0x1400a4ea9
movzx eax, byte [rdx + 2]
mov byte [rsp + 0x2d], al
movzx eax, byte [rdx + 3]
mov byte [rsp + 0x2c], al
mov r12d, dword [rdx + 4]
mov eax, dword [rdx + 8]
mov dword [rsp + 0x5c], eax
mov ebp, dword [rdx + 0xc]
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x58], eax
mov eax, dword [rdx + 0x14]
mov dword [rsp + 0x60], eax
mov eax, dword [rdx + 0x18]
mov dword [rsp + 0x54], eax
mov eax, dword [rdx + 0x1c]
mov qword [rsp + 0x90], rax
mov eax, dword [rdx + 0x20]
mov dword [rsp + 0x40], eax
mov r14d, dword [rdx + 0x24]
movzx eax, word [rdx + 0x28]
mov word [rsp + 0x2e], ax
movzx r15d, word [rdx + 0x2a]
movzx r13d, word [rdx + 0x2c]
movzx ebx, word [rdx + 0x2e]
movzx eax, word [rdx + 0x30]
mov word [rsp + 0x36], ax
mov qword [rsp + 0x98], 0x60
movzx eax, word [rdx + 0x32]
mov word [rsp + 0x34], ax
mov eax, dword [rdx + 0x34]
mov dword [rsp + 0x50], eax
mov eax, dword [rdx + 0x38]
mov dword [rsp + 0x4c], eax
mov eax, dword [rdx + 0x3c]
mov dword [rsp + 0x48], eax
mov eax, dword [rdx + 0x40]
mov dword [rsp + 0x44], eax
movzx eax, word [rdx + 0x44]
mov word [rsp + 0x32], ax
movzx eax, word [rdx + 0x46]
mov word [rsp + 0x30], ax
mov eax, dword [rdx + 0x48]
mov qword [rsp + 0x88], rax
mov eax, dword [rdx + 0x4c]
mov qword [rsp + 0x80], rax
mov eax, dword [rdx + 0x50]
mov qword [rsp + 0x78], rax
mov eax, dword [rdx + 0x54]
mov qword [rsp + 0x70], rax
mov eax, dword [rdx + 0x58]
mov dword [rsp + 0x3c], eax
mov eax, dword [rdx + 0x5c]
mov dword [rsp + 0x38], eax
jmp 0x1400a55f0
movaps xmm0, xmmword [0x1401aad70]
jmp 0x1400a4e70
mov cx, 0x20
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aad80]
jmp 0x1400a4e86
mov cx, 0x24
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aad90]
jmp 0x1400a4e86
mov r9d, 1
mov cx, 0x28
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aada0]
jmp 0x1400a4e70
mov r9d, 1
mov cx, 0x2a
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aadb0]
jmp 0x1400a4e70
mov cx, 0x2c
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aadc0]
jmp 0x1400a4e70
mov cx, 0x30
mov r10d, 1
jmp 0x1400a4ea9
cmp rcx, 0x49
jb 0x1400a5662
lea rax, [r8 - 0x60]
movaps xmm0, xmm2
cmp rax, 8
jb 0x1400a4e86
cmp rcx, 0x51
jb 0x1400a569b
lea rax, [r8 - 0x68]
cmp rax, 4
jb 0x1400a4e83
cmp rcx, 0x55
jb 0x1400a56a7
lea rax, [r8 - 0x6c]
movaps xmm0, xmm1
cmp rax, 3
jbe 0x1400a4e86
movzx eax, byte [rdx + 2]
mov byte [rsp + 0x2d], al
movzx eax, byte [rdx + 3]
mov byte [rsp + 0x2c], al
mov r12d, dword [rdx + 4]
mov eax, dword [rdx + 8]
mov dword [rsp + 0x5c], eax
mov ebp, dword [rdx + 0xc]
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x58], eax
mov eax, dword [rdx + 0x14]
mov dword [rsp + 0x60], eax
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x90], rax
mov eax, dword [rdx + 0x20]
mov dword [rsp + 0x40], eax
mov r14d, dword [rdx + 0x24]
movzx eax, word [rdx + 0x28]
mov word [rsp + 0x2e], ax
movzx r15d, word [rdx + 0x2a]
movzx r13d, word [rdx + 0x2c]
movzx ebx, word [rdx + 0x2e]
movzx eax, word [rdx + 0x30]
mov word [rsp + 0x36], ax
movzx eax, word [rdx + 0x32]
mov word [rsp + 0x34], ax
mov qword [rsp + 0x98], 0x70
mov eax, dword [rdx + 0x34]
mov dword [rsp + 0x50], eax
mov eax, dword [rdx + 0x38]
mov dword [rsp + 0x4c], eax
mov eax, dword [rdx + 0x3c]
mov dword [rsp + 0x48], eax
mov eax, dword [rdx + 0x40]
mov dword [rsp + 0x44], eax
movzx eax, word [rdx + 0x44]
mov word [rsp + 0x32], ax
movzx eax, word [rdx + 0x46]
mov word [rsp + 0x30], ax
mov rax, qword [rdx + 0x48]
mov qword [rsp + 0x88], rax
mov rax, qword [rdx + 0x50]
mov qword [rsp + 0x80], rax
mov rax, qword [rdx + 0x58]
mov qword [rsp + 0x78], rax
mov rax, qword [rdx + 0x60]
mov qword [rsp + 0x70], rax
mov eax, dword [rdx + 0x68]
mov dword [rsp + 0x3c], eax
mov eax, dword [rdx + 0x6c]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x54], 0
mov r9d, dword [rsp + 0x38]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xc8]
call sym.goblin::pe::data_directories::DataDirectories::parse::h31636c72615756e9
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x6c], eax
cmp eax, 2
jne 0x1400a56b3
movups xmm0, xmmword [rsp + 0xd0]
movups xmm1, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xa4], xmm0
mov rax, rsi
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
jmp 0x1400a4e94
mov cx, 0x34
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aadd0]
jmp 0x1400a4e70
mov cx, 0x38
mov r10d, 1
jmp 0x1400a4ea9
mov cx, 0x3c
mov r10d, 1
jmp 0x1400a4ea9
mov cx, 0x40
mov r10d, 1
jmp 0x1400a4ea9
movaps xmm0, xmmword [0x1401aade0]
jmp 0x1400a4e70
movaps xmm0, xmmword [0x1401aadf0]
jmp 0x1400a4e70
movzx eax, bx
shl rax, 0x30
movzx ecx, r13w
shl rcx, 0x20
or rcx, rax
shl r15d, 0x10
or r15, rcx
movzx ebx, word [rsp + 0x2e]
or rbx, r15
shl r14, 0x20
mov r15d, dword [rsp + 0x40]
or r15, r14
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov r13d, dword [rsp + 0x58]
mov ebp, ebp
mov r14d, dword [rsp + 0x5c]
mov r12d, r12d
mov eax, dword [rsp + 0xec]
mov dword [rsp + 0xc0], eax
movups xmm0, xmmword [rsp + 0xcc]
movups xmm1, xmmword [rsp + 0xdc]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
lea rdx, [rsp + 0xf0]
lea rcx, [rsi + 0x28]
mov r8d, 0x98
call sym.memcpy
mov rax, rsi
mov ecx, dword [rsp + 0xc0]
mov dword [rsi + 0x24], ecx
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x14], xmm1
movups xmmword [rsi + 4], xmm0
mov ecx, dword [rsp + 0x6c]
mov dword [rsi], ecx
mov qword [rsi + 0xc0], r12
mov qword [rsi + 0xc8], r14
mov qword [rsi + 0xd0], rbp
mov qword [rsi + 0xd8], r13
mov rcx, qword [rsp + 0x60]
mov qword [rsi + 0xe0], rcx
mov ecx, dword [rsp + 0x54]
mov dword [rsi + 0xe8], ecx
mov word [rsi + 0xec], di
movzx ecx, byte [rsp + 0x2d]
mov byte [rsi + 0xee], cl
movzx ecx, byte [rsp + 0x2c]
mov byte [rsi + 0xef], cl
mov rcx, qword [rsp + 0x90]
mov qword [rsi + 0xf0], rcx
mov qword [rsi + 0xf8], r15
mov qword [rsi + 0x100], rbx
movzx ecx, word [rsp + 0x36]
mov word [rsi + 0x108], cx
movzx ecx, word [rsp + 0x34]
mov word [rsi + 0x10a], cx
mov ecx, dword [rsp + 0x50]
mov dword [rsi + 0x10c], ecx
mov ecx, dword [rsp + 0x4c]
mov dword [rsi + 0x110], ecx
mov ecx, dword [rsp + 0x48]
mov dword [rsi + 0x114], ecx
mov ecx, dword [rsp + 0x44]
mov dword [rsi + 0x118], ecx
movzx ecx, word [rsp + 0x32]
mov word [rsi + 0x11c], cx
movzx ecx, word [rsp + 0x30]
mov word [rsi + 0x11e], cx
mov rcx, qword [rsp + 0x88]
mov qword [rsi + 0x120], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsi + 0x128], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsi + 0x130], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsi + 0x138], rcx
mov ecx, dword [rsp + 0x3c]
mov dword [rsi + 0x140], ecx
mov ecx, dword [rsp + 0x38]
mov dword [rsi + 0x144], ecx
mov qword [rsi + 0x148], 0
jmp 0x1400a4bb3