Function at 0x4186f0
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
lea rsi, [rsp + 0x40]
mov r14, rcx
mov ecx, 0x10
mov rbx, rdx
mov rdi, rsi
mov rbp, r8
mov r12d, r9d
rep stosq qword [rdi], rax
test r14, r14
je 0x41872e
cmp word [r14], 0x5a4d
je 0x418750
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 [r14 + 0x3c]
add rdi, r14
cmp dword [rdi], 0x4550
jne 0x41872e
mov edx, 0x60a070ae
lea rcx, [0x00428d20]
call fcn.004180a0
test byte [rdi + 0x17], 0x20
je 0x41872e
mov edx, 0x3e22012e
lea rcx, [0x00428d00]
call fcn.004180a0
movsxd rdx, dword [r14 + 0x3c]
add rdx, r14
movdqu xmm0, xmmword [rdx + 0x88]
movdqu xmm1, xmmword [rdx + 0x98]
movdqu xmm2, xmmword [rdx + 0xa8]
movdqu xmm3, xmmword [rdx + 0xb8]
movups xmmword [rsi], xmm0
movdqu xmm4, xmmword [rdx + 0xc8]
movdqu xmm5, xmmword [rdx + 0xd8]
movdqu xmm0, xmmword [rdx + 0xe8]
movups xmmword [rsi + 0x10], xmm1
mov eax, dword [rsp + 0x44]
movdqu xmm1, xmmword [rdx + 0xf8]
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x30], xmm3
movups xmmword [rsi + 0x40], xmm4
movups xmmword [rsi + 0x50], xmm5
movups xmmword [rsi + 0x60], xmm0
movups xmmword [rsi + 0x70], xmm1
test eax, eax
je 0x41872e
movsxd rax, dword [rsp + 0x40]
test eax, eax
je 0x41872e
lea r15, [rax + r14]
mov edx, 0x7d87db6a
lea rcx, [0x00428c20]
call fcn.004180a0
movsxd rsi, dword [r15 + 0x1c]
lea rax, [0x00424f40]
add rsi, r14
cmp rbx, rax
je 0x4189f0
test rbx, rbx
je 0x418a26
cmp byte [rbx], 0
je 0x4189f0
mov r13d, dword [r15 + 0x18]
test r13d, r13d
js 0x418a10
mov eax, dword [rsi]
mov qword [rsp + 0x30], rsi
xor esi, esi
mov dword [rsp + 0x2c], eax
movsxd rax, dword [r15 + 0x20]
mov edi, dword [rax + r14]
jmp 0x418891
movsxd rbp, dword [rsp + 0x2c]
add r13d, 1
test r15, r15
jne 0x4188f8
add edi, 1
add esi, 1
cmp esi, r13d
jg 0x418a10
mov dword [rsp + 0x2c], ebp
mov edx, 0x6de67ce
lea rcx, [0x00428be0]
call fcn.004180a0
movsxd r8, edi
mov edx, 0x1e1d694a
lea rcx, [0x00428bc0]
lea r15, [r8 + r14]
call fcn.004180a0
lea rdx, [0x00424f40]
test rax, rax
je 0x4188d9
lea rdx, [rax + 0x10]
cmp qword [rax], 0
lea rax, [0x00424f40]
cmove rdx, rax
mov rcx, r15
call fcn.004185e0
test eax, eax
jne 0x418870
add qword [rsp + 0x30], 4
mov rax, qword [rsp + 0x30]
movsxd rbp, dword [rax]
jmp 0x418879
mov rcx, r15
call sub.msvcrt.dll_strlen
lea edi, [rdi + rax + 1]
cmp r15, rbx
je 0x418920
mov rdx, r15
mov rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x418881
nop dword [rax]
mov ecx, r12d
call fcn.00410850
mov ecx, dword [0x0043049c]
test al, al
jne 0x418ada
call fcn.00410850
mov edx, 0x1cd15a2a
lea rcx, [0x00428b40]
call fcn.004180a0
mov edx, 0x790f00e
lea rcx, [0x00428b00]
call fcn.004180a0
mov edx, 0x7729e60a
lea rcx, [0x00428ae0]
call fcn.004180a0
mov edx, 0x20f521ae
lea rcx, [0x00428aa0]
call fcn.004180a0
mov edx, 0xfe404ea
lea rcx, [0x00428a60]
call fcn.004180a0
mov edx, 0x6df3bc4e
lea rcx, [0x00428a40]
call fcn.004180a0
mov edx, 0x64b16eca
lea rcx, [0x00428a00]
call fcn.004180a0
mov ecx, r12d
lea r12, [rbp + r14]
call fcn.00410850
test al, al
jne 0x4189d0
movsxd r12, dword [rsp + 0x2c]
add r12, r14
nop dword [rax + rax]
mov edx, 0x25269baa
lea rcx, [0x00428940]
call fcn.004180a0
jmp 0x418731
mov edx, 0x4d5167ee
lea rcx, [0x004289c0]
call fcn.004180a0
movsxd r12, dword [rsi + rbp*4 - 4]
add r12, r14
jmp 0x4189d0
mov edx, 0x25269baa
lea rcx, [0x00428940]
call fcn.004180a0
jmp 0x41872e
mov edi, dword [r15 + 0x18]
test edi, edi
js 0x418a10
mov ebx, dword [rsi]
movsxd rdx, dword [r15 + 0x20]
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rax
lea r13, [0x00428be0]
mov dword [rsp + 0x2c], ebx
mov ebx, dword [rdx + r14]
jmp 0x418a86
add qword [rsp + 0x30], 4
mov rax, qword [rsp + 0x30]
movsxd rbp, dword [rax]
test r15, r15
je 0x418920
mov rcx, r15
add esi, 1
call sub.msvcrt.dll_strlen
lea ebx, [rbx + rax + 1]
cmp esi, edi
jg 0x418a10
mov dword [rsp + 0x2c], ebp
mov edx, 0x6de67ce
mov rcx, r13
call fcn.004180a0
movsxd r8, ebx
mov edx, 0x1e1d694a
lea rcx, [0x00428bc0]
lea r15, [r8 + r14]
call fcn.004180a0
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
test rax, rax
je 0x418ac4
lea rdx, [rax + 0x10]
cmp qword [rax], 0
cmove rdx, rcx
mov rcx, r15
call fcn.004185e0
test eax, eax
je 0x418a58
movsxd rbp, dword [rsp + 0x2c]
add edi, 1
jmp 0x418a66
call fcn.00410850
test al, al
je 0x41893b
mov edx, 0x324cbf6e
lea rcx, [0x00428b60]
call fcn.004180a0
jmp 0x41893b