Function at 0x2580d60e0
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 rbx, rdx
lea rdx, [rsp + 0x40]
mov r13, rcx
mov ecx, 0x10
mov rdi, rdx
mov r14, r8
mov esi, r9d
rep stosq qword [rdi], rax
test r13, r13
je 0x2580d611f
cmp word [r13], 0x5a4d
je 0x2580d6140
xor r12d, r12d
mov rax, r12
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd rdi, dword [r13 + 0x3c]
add rdi, r13
cmp dword [rdi], 0x4550
jne 0x2580d611f
mov edx, 0x21e21ea0
lea rcx, [0x2580edd20]
call fcn.2580d0760
mov edx, 0x1e4c97e0
mov rcx, rax
call fcn.2580d5d30
test byte [rdi + 0x17], 0x20
je 0x2580d611f
mov edx, 0x22352a0
lea rcx, [0x2580edce0]
call fcn.2580d0760
mov edx, 0x401bb3e0
mov rcx, rax
call fcn.2580d5d30
movsxd rdx, dword [r13 + 0x3c]
add rdx, r13
movdqu xmm0, xmmword [rdx + 0x88]
movdqu xmm1, xmmword [rdx + 0x98]
movdqu xmm2, xmmword [rdx + 0xa8]
movdqu xmm3, xmmword [rdx + 0xb8]
movdqu xmm4, xmmword [rdx + 0xc8]
movdqu xmm5, xmmword [rdx + 0xd8]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movdqu xmm0, xmmword [rdx + 0xe8]
movdqu xmm1, xmmword [rdx + 0xf8]
mov edx, dword [rsp + 0x44]
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 edx, edx
je 0x2580d611f
movsxd rdi, dword [rsp + 0x40]
test edi, edi
je 0x2580d611f
mov edx, 0x7d9b11e0
lea rcx, [0x2580edc20]
add rdi, r13
call fcn.2580d0760
mov edx, 0x4b9c29a0
lea rbp, [0x2580eb9e8]
mov rcx, rax
call fcn.2580d5d30
movsxd r15, dword [rdi + 0x1c]
mov r12d, dword [rdi + 0x18]
add r15, r13
mov eax, dword [r15]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x34], eax
movsxd rax, dword [rdi + 0x20]
mov edi, dword [rax + r13]
cmp rbx, rbp
je 0x2580d6410
test rbx, rbx
je 0x2580d6446
cmp byte [rbx], 0
je 0x2580d6410
test r12d, r12d
js 0x2580d6430
lea rax, [0x2580edb70]
xor ebp, ebp
lea r15, [0x2580edba0]
mov qword [rsp + 0x38], rax
jmp 0x2580d62d8
mov eax, dword [rsp + 0x34]
add r12d, 1
mov dword [rsp + 0x30], eax
test r14, r14
jne 0x2580d6340
add edi, 1
add ebp, 1
cmp ebp, r12d
jg 0x2580d6430
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov edx, 0x26d586e0
mov rcx, r15
call fcn.2580d5d30
mov rcx, qword [rsp + 0x38]
movsxd r8, edi
mov edx, 0x22352a0
lea r14, [r8 + r13]
call fcn.2580d5d30
lea rdx, [0x2580eb9e8]
test rax, rax
je 0x2580d631a
lea rdx, [rax + 0x10]
cmp qword [rax], 0
lea rax, [0x2580eb9e8]
cmove rdx, rax
mov rcx, r14
call fcn.2580d6020
test eax, eax
jne 0x2580d62b0
add qword [rsp + 0x28], 4
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
jmp 0x2580d62bc
mov rcx, r14
call sub.msvcrt.dll_strlen
lea edi, [rdi + rax + 1]
cmp r14, rbx
je 0x2580d6368
mov rdx, r14
mov rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x2580d62c4
nop dword [rax]
test esi, esi
jne 0x2580d64f0
movsxd rax, dword [rsp + 0x34]
mov edx, 0x1b1d23a0
lea rcx, [0x2580edb20]
lea r12, [rax + r13]
call fcn.2580d5d30
mov edx, 0x4edf14e0
lea rcx, [0x2580edae0]
call fcn.2580d5d30
mov edx, 0x92ddca0
lea rcx, [0x2580edac0]
call fcn.2580d5d30
mov edx, 0x13324fe0
lea rcx, [0x2580eda80]
call fcn.2580d5d30
mov edx, 0x1833bda0
lea rcx, [0x2580eda40]
call fcn.2580d5d30
mov edx, 0x397382e0
lea rcx, [0x2580eda20]
call fcn.2580d5d30
mov edx, 0x50d706a0
lea rcx, [0x2580ed9e0]
call fcn.2580d5d30
mov edx, 0x6e99f7a0
lea rcx, [0x2580ed940]
call fcn.2580d5d30
jmp 0x2580d6122
mov edx, 0x627f6de0
lea rcx, [0x2580edbe0]
call fcn.2580d5d30
movsxd rax, dword [r15 + r14*4 - 4]
lea r12, [rax + r13]
jmp 0x2580d63f0
mov edx, 0x6e99f7a0
lea rcx, [0x2580ed940]
call fcn.2580d5d30
jmp 0x2580d611f
test r12d, r12d
js 0x2580d6430
lea rax, [0x2580edb70]
xor r14d, r14d
lea r15, [0x2580edba0]
mov qword [rsp + 0x38], rax
jmp 0x2580d649f
add qword [rsp + 0x28], 4
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
test rbx, rbx
je 0x2580d6368
mov rcx, rbx
add r14d, 1
call sub.msvcrt.dll_strlen
lea edi, [rdi + rax + 1]
cmp r12d, r14d
jl 0x2580d6430
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov edx, 0x26d586e0
mov rcx, r15
call fcn.2580d5d30
mov rcx, qword [rsp + 0x38]
movsxd r8, edi
mov edx, 0x22352a0
lea rbx, [r8 + r13]
call fcn.2580d5d30
mov rdx, rbp
test rax, rax
je 0x2580d64d6
lea rdx, [rax + 0x10]
cmp qword [rax], 0
cmove rdx, rbp
mov rcx, rbx
call fcn.2580d6020
test eax, eax
je 0x2580d6468
mov eax, dword [rsp + 0x34]
add r12d, 1
mov dword [rsp + 0x30], eax
jmp 0x2580d6479
mov eax, dword [0x258180b20]
test eax, eax
je 0x2580d650b
mov edx, 0x7d9b11e0
lea rcx, [0x2580edb40]
call fcn.2580d5d30
mov edx, 0x1b1d23a0
lea rcx, [0x2580edb20]
call fcn.2580d5d30
mov edx, 0x4edf14e0
lea rcx, [0x2580edae0]
call fcn.2580d5d30
mov edx, 0x92ddca0
lea rcx, [0x2580edac0]
call fcn.2580d5d30
mov edx, 0x13324fe0
lea rcx, [0x2580eda80]
call fcn.2580d5d30
mov edx, 0x1833bda0
lea rcx, [0x2580eda40]
call fcn.2580d5d30
mov edx, 0x397382e0
lea rcx, [0x2580eda20]
call fcn.2580d5d30
mov edx, 0x50d706a0
lea rcx, [0x2580ed9e0]
call fcn.2580d5d30
movsxd rax, dword [rsp + 0x30]
lea r12, [rax + r13]
jmp 0x2580d63f0