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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, r9
mov r12, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
je 0x1400a876d
test r9, r9
je 0x1400a876d
mov eax, dword [rbp + 0x77]
mov dword [rcx + 0x100], eax
mov rcx, r8
call fcn.14004cde0
mov ebx, eax
mov rcx, r12
call fcn.14004cf10
mov dword [rbp - 0x51], eax
mov rcx, r12
call fcn.14004cf50
mov dword [rbp + 0x5f], eax
mov rcx, r12
call fcn.14004ced0
mov r13d, eax
mov rcx, r12
call fcn.14004e090
mov rdx, rax
mov qword [rbp - 0x21], rax
xor eax, eax
lea r15d, [rax + 3]
lea r9d, [rax + 4]
mov r11d, 1
lea r8d, [rax + 2]
cmp ebx, r11d
jne 0x1400a8145
cmp r13d, 0x20
jne 0x1400a811f
test byte [rdx], r11b
jne 0x1400a8116
test byte [rbp + 0x77], r11b
je 0x1400a811a
movzx r15d, r9w
mov ecx, r9d
jmp 0x1400a818d
cmp r13d, 0x18
jne 0x1400a812a
mov ecx, r15d
jmp 0x1400a818d
cmp r13d, 8
jne 0x1400a8136
movzx r15d, r8w
jmp 0x1400a818a
cmp r13d, r11d
jne 0x1400a876d
movzx r15d, ax
jmp 0x1400a818a
lea eax, [rbx - 2]
cmp eax, r11d
jbe 0x1400a8186
cmp ebx, 9
jne 0x1400a8157
mov ecx, r15d
jmp 0x1400a818d
cmp ebx, 0xa
jne 0x1400a8170
mov ecx, r9d
test byte [rdx], r11b
jne 0x1400a816a
test byte [rbp + 0x77], r11b
je 0x1400a818d
movzx r15d, r9w
jmp 0x1400a818d
cmp ebx, 0xb
jne 0x1400a817a
mov ecx, r15d
jmp 0x1400a818d
mov ecx, r11d
cmp ebx, 0xc
cmove ecx, r9d
jmp 0x1400a818d
movzx r15d, r11w
mov ecx, r11d
mov r9d, dword [rbp - 0x51]
mov r10d, dword [rbp + 0x5f]
test dword [rbp + 0x77], 0x2000
jne 0x1400a81b4
cmp r9d, 0x7530
ja 0x1400a81b4
cmp r10d, 0x7530
ja 0x1400a81b4
movzx r8d, r11w
mov word [rdi], r8w
mov word [rdi + 2], cx
mov dword [rdi + 4], r10d
mov dword [rdi + 8], r9d
xor edx, edx
mov eax, r13d
div ecx
mov word [rdi + 0xc], ax
mov word [rdi + 0xe], r15w
mov dword [rbp - 0x49], 0x53504238
ror r8w, 8
mov word [rbp - 0x45], r8w
xor edx, edx
mov dword [rbp - 0x43], edx
mov word [rbp - 0x3f], dx
ror cx, 8
mov word [rbp - 0x3d], cx
bswap r10d
mov dword [rbp - 0x3b], r10d
bswap r9d
mov dword [rbp - 0x37], r9d
ror ax, 8
mov word [rbp - 0x33], ax
movzx eax, r15w
ror ax, 8
mov word [rbp - 0x31], ax
mov r9, rsi
mov r8d, r11d
mov edx, 0x1a
lea rcx, [rbp - 0x49]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, 1
jne 0x1400a876d
lea rbx, [rdi + 0x10]
xor eax, eax
mov dword [rbx], eax
mov qword [rdi + 0x18], rax
mov rcx, r12
call fcn.14004d300
test rax, rax
je 0x1400a82c8
mov rcx, r12
call fcn.14004d300
mov r13, rax
mov rcx, r12
call fcn.14004ce90
lea ecx, [rax + rax*2]
mov dword [rbx], ecx
movsxd rcx, ecx
call fcn.140048ef0
mov qword [rdi + 0x18], rax
xor ebx, ebx
mov rcx, r12
call fcn.14004ce90
test eax, eax
je 0x1400a82c4
nop
mov rcx, qword [rdi + 0x18]
movzx eax, byte [r13 + rbx*4 + 2]
mov byte [rbx + rcx], al
lea r8d, [rbx + 0x200]
lea edx, [r8 - 0x100]
mov rcx, qword [rdi + 0x18]
movzx eax, byte [r13 + rbx*4 + 1]
mov byte [rdx + rcx], al
mov rcx, qword [rdi + 0x18]
movzx eax, byte [r13 + rbx*4]
mov byte [r8 + rcx], al
inc ebx
mov rcx, r12
call fcn.14004ce90
cmp ebx, eax
jb 0x1400a8280
lea rbx, [rdi + 0x10]
mov r9, rsi
mov r13d, 1
mov r8d, r13d
lea edx, [r13 + 3]
mov rcx, rbx
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, r13d
jne 0x1400a876d
mov edx, dword [rbx]
test edx, edx
jle 0x1400a8305
mov r9, rsi
mov r8d, r13d
mov rcx, qword [rbx + 8]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, r13d
jne 0x1400a876d
mov rcx, rsi
call qword [r14 + 0x18]
mov r13d, eax
mov dword [rbp - 0x29], 0
mov r9, rsi
mov ebx, 1
mov r8d, ebx
lea edx, [rbx + 3]
lea rcx, [rbp - 0x29]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, ebx
jne 0x1400a876d
mov rcx, r12
call fcn.14004d350
mov ecx, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
mulsd xmm0, qword [0x1403182b8]
addsd xmm0, qword [0x1403182c0]
cvttsd2si eax, xmm0
mov word [rdi + 0x24], ax
mov dword [rdi + 0x28], ebx
mov word [rdi + 0x20], bx
mov rcx, r12
call fcn.14004d390
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x1403182b8]
addsd xmm0, qword [0x1403182c0]
cvttsd2si eax, xmm0
mov word [rdi + 0x26], ax
mov dword [rdi + 0x2c], ebx
mov word [rdi + 0x22], bx
xor ebx, ebx
mov qword [rbp - 0x39], rbx
mov ecx, 0xffffffff
mov dword [rbp - 0x49], ecx
xor eax, eax
mov dword [rbp - 0x45], eax
mov word [rbp - 0x41], cx
mov dword [rbp - 0x31], ecx
mov dword [rsp + 0x20], 0x10
mov r9d, 0x3ed
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.1400a4cf0
test al, al
sete bl
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400a83e6
call fcn.140048eac
xor eax, eax
mov qword [rbp - 0x39], rax
test bl, bl
jne 0x1400a876d
movzx eax, word [rdi + 0x24]
ror ax, 8
mov word [rbp + 0x5f], ax
mov r9, rsi
mov ebx, 1
mov r8d, ebx
lea edx, [rbx + 1]
lea rcx, [rbp + 0x5f]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, ebx
jne 0x1400a876d
mov eax, dword [rdi + 0x28]
bswap eax
mov dword [rbp - 0x51], eax
mov r9, rsi
mov r8d, ebx
lea edx, [rbx + 3]
lea rcx, [rbp - 0x51]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, ebx
jne 0x1400a876d
movzx eax, word [rdi + 0x20]
ror ax, 8
mov word [rbp + 0x5f], ax
mov r9, rsi
mov r8d, ebx
lea edx, [rbx + 1]
lea rcx, [rbp + 0x5f]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, ebx
jne 0x1400a876d
movzx eax, word [rdi + 0x26]
ror ax, 8
mov word [rbp + 0x5f], ax
mov r9, rsi
mov r8d, ebx
lea edx, [rbx + 1]
lea rcx, [rbp + 0x5f]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, ebx
jne 0x1400a876d
mov eax, dword [rdi + 0x2c]
bswap eax
mov dword [rbp - 0x51], eax
mov r9, rsi
mov r8d, ebx
lea edx, [rbx + 3]
lea rcx, [rbp - 0x51]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, ebx
jne 0x1400a876d
movzx eax, word [rdi + 0x22]
ror ax, 8
mov word [rbp + 0x5f], ax
mov r9, rsi
mov r8d, ebx
mov ebx, 2
mov edx, ebx
lea rcx, [rbp + 0x5f]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, 1
jne 0x1400a876d
xor eax, eax
cmp r15w, 4
cmove ax, bx
mov word [rdi + 0x3a], ax
xor eax, eax
mov qword [rdi + 0x3c], rax
mov dword [rdi + 0x44], 0x64
xor r15d, r15d
mov qword [rbp - 0x39], r15
mov ebx, 0xffffffff
mov dword [rbp - 0x49], ebx
mov dword [rbp - 0x45], eax
mov word [rbp - 0x41], bx
mov dword [rbp - 0x31], ebx
mov dword [rsp + 0x20], reloc.WS2_32.dll_ntohl
mov r9d, 0x3ef
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.1400a4cf0
test al, al
sete bl
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400a8537
call fcn.140048eac
mov qword [rbp - 0x39], r15
test bl, bl
jne 0x1400a876d
movzx eax, word [rdi + 0x3a]
ror ax, 8
mov word [rbp - 0x51], ax
mov r9, rsi
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x51]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, 1
jne 0x1400a876d
mov ebx, r15d
lea r15, [rdi + 0x3c]
nop
movzx eax, word [r15]
ror ax, 8
mov word [rbp - 0x51], ax
mov r9, rsi
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x51]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, 1
jne 0x1400a876d
inc ebx
add r15, 2
cmp ebx, 4
jb 0x1400a8570
movzx eax, word [rdi + 0x44]
ror ax, 8
mov word [rbp - 0x51], ax
mov r9, rsi
mov r15d, 1
mov r8d, r15d
lea edx, [r15 + 1]
lea rcx, [rbp - 0x51]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, r15d
jne 0x1400a876d
movzx eax, byte [rdi + 0x46]
mov byte [rbp + 0x5f], al
mov r9, rsi
mov r8d, r15d
mov edx, r15d
lea rcx, [rbp + 0x5f]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, r15d
jne 0x1400a876d
mov byte [rbp + 0x5f], 0
mov r9, rsi
mov r8d, r15d
mov edx, r15d
lea rcx, [rbp + 0x5f]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, r15d
jne 0x1400a876d
mov rax, qword [rdi + 0x68]
test rax, rax
jne 0x1400a862d
mov byte [rdi + 0x70], al
mov rcx, r12
call fcn.14004de10
mov qword [rdi + 0x68], rax
test rax, rax
je 0x1400a869a
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400a8680
mov dword [rdi + 0x48], r15d
call fcn.14004cf10
mov dword [rdi + 0x4c], eax
mov rcx, qword [rdi + 0x68]
call fcn.14004cf50
mov r8d, eax
mov dword [rdi + 0x50], eax
mov dword [rdi + 0x60], 0x10018
mov ecx, dword [rdi + 0x4c]
lea eax, [rcx + rcx*2]
lea eax, [rax*8 + 0x1f]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [rdi + 0x54], eax
imul r8d, eax
mov dword [rdi + 0x58], r8d
mov dword [rdi + 0x5c], r8d
xor r9d, r9d
mov r8, rsi
mov rdx, r14
lea rcx, [rdi + 0x48]
call fcn.1400a59e0
test al, al
je 0x1400a876d
mov r15, qword [rbp - 0x21]
test r15, r15
je 0x1400a879a
cmp dword [r15 + 4], 0
jbe 0x1400a879a
lea rcx, [rdi + 0x78]
call fcn.1400a5d20
mov byte [rdi + 0x88], 0
mov ecx, dword [r15 + 4]
mov dword [rdi + 0x78], ecx
mov rax, qword [r15 + 8]
mov qword [rdi + 0x80], rax
xor r15d, r15d
mov qword [rbp - 0x39], r15
mov edx, 0xffffffff
mov dword [rbp - 0x49], edx
xor eax, eax
mov dword [rbp - 0x45], eax
mov word [rbp - 0x41], dx
mov dword [rbp - 0x31], edx
mov dword [rsp + 0x20], ecx
mov r9d, 0x40f
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.1400a4cf0
test al, al
sete r15b
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400a8722
call fcn.140048eac
xor eax, eax
mov qword [rbp - 0x39], rax
test r15b, r15b
jne 0x1400a876d
mov rcx, qword [rdi + 0x80]
mov r15d, 1
test rcx, rcx
je 0x1400a87a0
mov r9, rsi
mov r8d, dword [rdi + 0x78]
mov edx, r15d
call qword [r14 + reloc.WS2_32.dll_htonl]
mov ecx, dword [rdi + 0x78]
cmp eax, ecx
jne 0x1400a876d
test r15b, cl
je 0x1400a87a0
mov byte [rbp + 0x5f], 0
mov r9, rsi
mov r8d, r15d
mov edx, r15d
lea rcx, [rbp + 0x5f]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, r15d
je 0x1400a87a0
xor al, al
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r15d, 1
lea rdx, [rdi + 0x98]
lea r8, [rdi + 0x90]
mov rcx, r12
call fcn.14008aa50
test eax, eax
je 0x1400a87d6
mov r9d, 0x404
mov r8, rsi
mov rdx, r14
lea rcx, [rdi + 0x90]
call fcn.1400a6040
test al, al
je 0x1400a876d
mov dword [rbp + 0x5f], 0x66697845
mov word [rbp + 0x63], 0
xor eax, eax
mov qword [rbp - 0x21], rax
lea r9, [rbp - 0x21]
mov r8, qword [str.ExifRaw]
mov rdx, r12
lea ecx, [rax + 0xb]
call fcn.14004e970
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400a8862
call fcn.14007dfe0
mov ecx, dword [rbp + 0x5f]
cmp ecx, dword [rax]
jne 0x1400a8862
movzx ecx, word [rbp + 0x63]
cmp cx, word [rax + 4]
jne 0x1400a8862
add rax, 6
mov qword [rdi + 0xb0], rax
mov rcx, qword [rbp - 0x21]
call fcn.14007dfc0
sub eax, 6
mov dword [rdi + 0xa8], eax
mov byte [rdi + 0xb8], 0
mov r9d, 0x422
mov r8, rsi
mov rdx, r14
lea rcx, [rdi + 0xa8]
call fcn.1400a6040
test al, al
je 0x1400a876d
xor eax, eax
mov qword [rbp + 0x5f], rax
lea r9, [rbp + 0x5f]
mov r8, qword [str.XMLPacket]
mov rdx, r12
lea ecx, [rax + 7]
call fcn.14004e970
mov rcx, qword [rbp + 0x5f]
test rcx, rcx
je 0x1400a88d7
call fcn.14007dfe0
test rax, rax
je 0x1400a88d7
mov rcx, qword [rbp + 0x5f]
call fcn.14007dfe0
mov qword [rdi + 0xe0], rax
mov rcx, qword [rbp + 0x5f]
call fcn.14007dfc0
mov dword [rdi + 0xd8], eax
mov byte [rdi + 0xe8], 0
mov r9d, 0x424
mov r8, rsi
mov rdx, r14
lea rcx, [rdi + 0xd8]
call fcn.1400a6040
test al, al
je 0x1400a876d
mov rcx, rsi
call qword [r14 + 0x18]
mov ebx, eax
mov ecx, eax
sub ecx, r13d
sub ecx, 4
bswap ecx
mov dword [rbp - 0x29], ecx
xor r8d, r8d
mov edx, r13d
mov rcx, rsi
call qword [r14 + 0x10]
mov r9, rsi
mov r8d, r15d
mov edx, 4
lea rcx, [rbp - 0x29]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, 1
jne 0x1400a876d
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call qword [r14 + 0x10]
mov ecx, 8
mov edx, ntohs
cmp word [rdi], 1
cmovne ecx, edx
mov r10, qword [r14 + 8]
mov r9, rsi
mov r8d, r15d
jne 0x1400a894f
bswap ecx
mov dword [rbp + 0x5f], ecx
mov edx, 4
lea rcx, [rbp + 0x5f]
jmp 0x1400a895f
bswap rcx
mov qword [rbp - 0x19], rcx
mov edx, 8
lea rcx, [rbp - 0x19]
call r10
cmp eax, 1
sete al
test al, al
je 0x1400a876d
mov rax, qword [r14 + 8]
xor ebx, ebx
mov r9, rsi
mov r8d, r15d
cmp word [rdi], 1
jne 0x1400a898e
mov dword [rbp - 0x51], ebx
lea edx, [rbx + 4]
lea rcx, [rbp - 0x51]
jmp 0x1400a899b
mov qword [rbp - 0x11], rbx
mov edx, 8
lea rcx, [rbp - 0x11]
call rax
cmp eax, 1
sete al
test al, al
je 0x1400a876d
mov dword [rbp - 0x21], ebx
mov r9, rsi
mov r8d, r15d
mov edx, 4
lea rcx, [rbp - 0x21]
call qword [r14 + reloc.WS2_32.dll_htonl]
cmp eax, 1
jne 0x1400a876d
mov r9, r12
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.1400a7240
test al, al
je 0x1400a876d
mov al, 1
jmp 0x1400a876f