Function at 0x6da13950
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
xor eax, eax
mov rsi, rdx
lea rdx, [rsp + 0x40]
mov rbx, rcx
mov ecx, 0x10
mov rdi, rdx
mov dword [rsp + 0x128], r9d
mov rbp, r8
rep stosq qword [rdi], rax
test rbx, rbx
je 0x6da13992
cmp word [rbx], 0x5a4d
je 0x6da139b0
xor ebx, ebx
mov rax, rbx
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd rdi, dword [rbx + 0x3c]
add rdi, rbx
cmp dword [rdi], 0x4550
jne 0x6da13992
mov edx, 0x2c68eba2
lea rcx, [0x6da24fa0]
call fcn.6da12c20
mov edx, 0x38311222
mov rcx, rax
call fcn.6da134b0
test byte [rdi + 0x17], 0x20
je 0x6da13992
mov edx, 0x230e66a2
lea rcx, [0x6da24f80]
call fcn.6da12c20
mov edx, 0x4a4dd22
mov rcx, rax
call fcn.6da134b0
movsxd rdx, dword [rbx + 0x3c]
add rdx, rbx
movdqu xmm0, xmmword [rdx + 0x88]
movdqu xmm1, xmmword [rdx + 0x98]
movdqu xmm2, xmmword [rdx + 0xa8]
movdqu xmm3, xmmword [rdx + 0xb8]
movaps xmmword [rsp + 0x40], xmm0
movdqu xmm4, xmmword [rdx + 0xc8]
mov eax, dword [rsp + 0x44]
movdqu xmm5, xmmword [rdx + 0xd8]
movdqu xmm0, xmmword [rdx + 0xe8]
movaps xmmword [rsp + 0x50], xmm1
movdqu xmm1, xmmword [rdx + 0xf8]
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rsp + 0x80], xmm4
movaps xmmword [rsp + 0x90], xmm5
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
test eax, eax
je 0x6da13992
movsxd rdi, dword [rsp + 0x40]
test edi, edi
je 0x6da13992
mov edx, 0x51ab9106
lea rcx, [0x6da24f20]
add rdi, rbx
call fcn.6da12c20
mov edx, 0x71881c86
mov rcx, rax
call fcn.6da134b0
movsxd r15, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x18]
add r15, rbx
mov eax, dword [r15]
mov r14, r15
mov dword [rsp + 0x24], eax
movsxd rax, dword [rdi + 0x20]
lea rdi, [0x6da22d40]
mov r12d, dword [rax + rbx]
cmp rsi, rdi
je 0x6da13aed
test rsi, rsi
je 0x6da13ce0
cmp byte [rsi], 0
jne 0x6da13b20
mov edx, 0x720841a2
lea rcx, [0x6da24cc0]
call fcn.6da134b0
movsxd rax, dword [r15 + rbp*4 - 4]
add rbx, rax
mov edx, 0x24ff5206
lea rcx, [0x6da24c20]
call fcn.6da134b0
jmp 0x6da13994
test r13d, r13d
js 0x6da13cd0
lea rax, [0x6da24ee0]
xor ebp, ebp
mov qword [rsp + 0x28], rax
lea rax, [0x6da24ec0]
mov qword [rsp + 0x30], rax
jmp 0x6da13b6b
movsxd r15, dword [rsp + 0x24]
add r13d, 1
test rdi, rdi
jne 0x6da13bbd
add r12d, 1
add ebp, 1
cmp r13d, ebp
jl 0x6da13cd0
mov dword [rsp + 0x24], r15d
mov rcx, qword [rsp + 0x28]
mov edx, 0x3f44e6e2
movsxd rdi, r12d
add rdi, rbx
call fcn.6da134b0
mov rcx, qword [rsp + 0x30]
mov edx, 0x7b7775c6
call fcn.6da134b0
lea rdx, [0x6da22d40]
test rax, rax
je 0x6da13ba5
cmp qword [rax], 0
je 0x6da13ba5
lea rdx, [rax + 0x10]
mov rcx, rdi
call fcn.6da13830
test eax, eax
jne 0x6da13b48
add r14, 4
movsxd r15, dword [r14]
test rdi, rdi
je 0x6da13b56
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov qword [rsp + 0x38], rax
cmp rsi, rdi
je 0x6da13bf0
mov rdx, rdi
mov rcx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x6da13bf0
mov r8, qword [rsp + 0x38]
lea r12d, [r12 + r8 + 1]
jmp 0x6da13b5a
mov ecx, dword [rsp + 0x128]
call fcn.6da10460
mov ecx, dword [0x6da86fbc]
test al, al
je 0x6da13cc0
call fcn.6da10460
test al, al
je 0x6da13c28
mov edx, 0x230e66a2
lea rcx, [0x6da24e60]
call fcn.6da134b0
nop dword [rax]
mov edx, 0x51ab9106
lea rcx, [0x6da24e40]
call fcn.6da134b0
mov edx, 0x17154c62
lea rcx, [0x6da24e00]
call fcn.6da134b0
mov edx, 0x38873e46
lea rcx, [0x6da24de0]
call fcn.6da134b0
mov edx, 0x42e70822
lea rcx, [0x6da24da0]
call fcn.6da134b0
mov edx, 0x73b1cd86
lea rcx, [0x6da24d60]
call fcn.6da134b0
mov edx, 0x26e689e2
lea rcx, [0x6da24d40]
call fcn.6da134b0
lea rcx, [0x6da24d00]
mov edx, 0x1eeb0ec6
call fcn.6da134b0
mov ecx, dword [rsp + 0x128]
call fcn.6da10460
test al, al
jne 0x6da13d80
movsxd rax, dword [rsp + 0x24]
add rbx, rax
jmp 0x6da13b06
call fcn.6da10460
jmp 0x6da13c28
xor ebx, ebx
jmp 0x6da13b06
lea rax, [0x6da24ee0]
xor ebp, ebp
mov qword [rsp + 0x28], rax
lea rax, [0x6da24ec0]
mov qword [rsp + 0x30], rax
test r13d, r13d
jns 0x6da13d34
jmp 0x6da13cd0
movsxd r15, dword [rsp + 0x24]
add r13d, 1
test rsi, rsi
je 0x6da13bf0
mov rcx, rsi
add ebp, 1
call sub.msvcrt.dll_strlen
lea r12d, [r12 + rax + 1]
cmp ebp, r13d
jg 0x6da13cd0
mov dword [rsp + 0x24], r15d
mov rcx, qword [rsp + 0x28]
mov edx, 0x3f44e6e2
call fcn.6da134b0
mov rcx, qword [rsp + 0x30]
movsxd rax, r12d
mov edx, 0x7b7775c6
lea rsi, [rax + rbx]
call fcn.6da134b0
mov rdx, rdi
test rax, rax
je 0x6da13d6b
cmp qword [rax], 0
je 0x6da13d6b
lea rdx, [rax + 0x10]
mov rcx, rsi
call fcn.6da13830
test eax, eax
jne 0x6da13d08
add r14, 4
movsxd r15, dword [r14]
jmp 0x6da13d11
add rbx, r15
jmp 0x6da13b06