Function at 0x41a440
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 rbp, rcx
mov r13, rdx
mov ecx, 0x10
lea rdx, [rsp + 0x40]
test rbp, rbp
mov r14d, r9d
mov rdi, rdx
rep stosq qword [rdi], rax
je 0x41a47b
cmp word [rbp], 0x5a4d
je 0x41a494
xor ebp, ebp
mov rax, rbp
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd rcx, dword [rbp + 0x3c]
add rcx, rbp
cmp dword [rcx], 0x4550
jne 0x41a47b
test byte [rcx + 0x17], 0x20
mov qword [rsp + 0x120], r8
je 0x41a47b
lea rax, [rcx + 0x88]
mov rcx, qword [rcx + 0x88]
mov rsi, rcx
mov qword [rdx], rcx
mov rcx, qword [rax + 8]
shr rsi, 0x20
test esi, esi
mov qword [rdx + 8], rcx
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rcx, qword [rax + 0x20]
mov qword [rdx + 0x20], rcx
mov rcx, qword [rax + 0x28]
mov qword [rdx + 0x28], rcx
mov rcx, qword [rax + 0x30]
mov qword [rdx + 0x30], rcx
mov rcx, qword [rax + 0x38]
mov qword [rdx + 0x38], rcx
mov rcx, qword [rax + 0x40]
mov qword [rdx + 0x40], rcx
mov rcx, qword [rax + 0x48]
mov qword [rdx + 0x48], rcx
mov rcx, qword [rax + 0x50]
mov qword [rdx + 0x50], rcx
mov rcx, qword [rax + 0x58]
mov qword [rdx + 0x58], rcx
mov rcx, qword [rax + 0x60]
mov qword [rdx + 0x60], rcx
mov rcx, qword [rax + 0x68]
mov qword [rdx + 0x68], rcx
mov rcx, qword [rax + 0x70]
mov rax, qword [rax + 0x78]
mov qword [rdx + 0x70], rcx
mov qword [rdx + 0x78], rax
je 0x41a47b
movsxd rbx, dword [rsp + 0x40]
test ebx, ebx
je 0x41a47b
lea rcx, [0x00427e80]
mov edx, 0x7ab41110
add rbx, rbp
call fcn.00417780
mov edx, 0x499c7930
mov rcx, rax
call fcn.00419e40
movsxd rsi, dword [rbx + 0x1c]
mov edx, 0x3976dc30
xor ecx, ecx
mov eax, dword [rbx + 0x18]
add rsi, rbp
mov dword [rsp + 0x38], eax
mov eax, dword [rsi]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rbx + 0x20]
mov eax, dword [rax + rbp]
mov dword [rsp + 0x2c], eax
call fcn.00417780
lea rdx, [0x004268e0]
mov r8, qword [rsp + 0x120]
test rax, rax
je 0x41a5c7
cmp qword [rax], 0
lea rcx, [rax + 0x10]
cmovne rdx, rcx
cmp r13, rdx
je 0x41a5ed
test r13, r13
mov qword [rsp + 0x120], r8
je 0x41a610
mov rcx, r13
call sub.msvcrt.dll_strcmp
mov r8, qword [rsp + 0x120]
test eax, eax
jne 0x41a610
movsxd rax, dword [rsi + r8*4 - 4]
add rbp, rax
lea rcx, [0x00427cc0]
mov edx, 0x69546f30
call fcn.00419e40
jmp 0x41a47d
mov eax, dword [rsp + 0x38]
test eax, eax
js 0x41a734
mov dword [rsp + 0x28], 0
movsxd rsi, dword [rsp + 0x2c]
mov edx, 0x1152c690
lea rcx, [0x00427e60]
call fcn.00419e40
lea r12, [0x004268e0]
add rsi, rbp
test rax, rax
je 0x41a65c
cmp qword [rax], 0
lea r12, [rax + 0x10]
lea rax, [0x004268e0]
cmove r12, rax
test rsi, rsi
je 0x41a730
xor ebx, ebx
xor edi, edi
jmp 0x41a685
mov rcx, r12
add rbx, 1
call sub.msvcrt.dll_strlen
cmp rbx, rax
je 0x41a6b5
add rdi, 1
mov rcx, rsi
call sub.msvcrt.dll_strlen
cmp rdi, rax
jge 0x41a730
movsx ecx, byte [rdi + rsi]
call fcn.0040be70
movsx ecx, byte [r12 + rbx]
mov r15d, eax
call fcn.0040be70
cmp r15b, al
je 0x41a670
xor ebx, ebx
jmp 0x41a681
mov ecx, 1
call fcn.0040ba50
test eax, eax
jne 0x41a720
add qword [rsp + 0x30], 4
mov rax, qword [rsp + 0x30]
movsxd rbx, dword [rax]
test rsi, rsi
mov eax, 1
je 0x41a6e6
mov rcx, rsi
call sub.msvcrt.dll_strlen
add eax, 1
add dword [rsp + 0x2c], eax
cmp r13, rsi
je 0x41a750
test r13, r13
je 0x41a708
test rsi, rsi
je 0x41a708
mov rdx, rsi
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41a750
add dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x38], eax
jl 0x41a734
mov dword [rsp + 0x3c], ebx
jmp 0x41a624
add dword [rsp + 0x38], 1
movsxd rbx, dword [rsp + 0x3c]
jmp 0x41a6d1
xor ecx, ecx
jmp 0x41a6ba
lea rcx, [0x00427cc0]
mov edx, 0x69546f30
call fcn.00419e40
jmp 0x41a47b
lea rcx, [0x00427e40]
mov edx, 0x554e94b0
call fcn.00419e40
mov edx, 0x7ab41110
lea rcx, [0x00427e00]
call fcn.00419e40
mov edx, 0x3976dc30
lea rcx, [0x00427de0]
call fcn.00419e40
mov edx, 0x261c9f90
lea rcx, [0x00427da0]
call fcn.00419e40
mov edx, 0xf0f2fb0
lea rcx, [0x00427d60]
call fcn.00419e40
mov edx, 0x64e81210
lea rcx, [0x00427d40]
call fcn.00419e40
mov ecx, r14d
call fcn.0040ba40
movsxd rdx, dword [rsp + 0x3c]
add rdx, rbp
add rbp, rbx
test al, al
cmove rbp, rdx
jmp 0x41a5f5