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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4d0
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x4e0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18012cb9a
mov rax, qword [rsp + 0x20]
jmp 0x18012cfb6
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
cmp dword [rcx + rax + 0x88], 0
jne 0x18012cbd5
mov rax, qword [rsp + 0x20]
jmp 0x18012cfb6
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x4e8], rax
jae 0x18012cdfa
mov dword [rsp + 0x30], 0
jmp 0x18012cc6e
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x30], eax
jae 0x18012cdf5
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
add rax, qword [rsp + 0x28]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x88]
call fcn.18010f458
test eax, eax
jne 0x18012cdd4
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.18012c320
movzx eax, al
test eax, eax
je 0x18012cdd2
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rdx, [0x18015d6b8]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x18012cdd2
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cmp rax, 0x104
jbe 0x18012cd61
mov qword [rsp + 0x70], 0x104
jmp 0x18012cd76
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x20]
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.18002ef90
mov rax, qword [rsp + 0x58]
inc rax
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x1a0]
call fcn.18002ef10
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x1a0]
mov rcx, rax
call fcn.18012cb60
mov qword [rsp + 0x20], rax
jmp 0x18012cdf5
mov rax, qword [rsp + 0x50]
add rax, 4
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x18012cc64
jmp 0x18012cfb1
mov rax, qword [rsp + 0x4e8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
shl rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
shr rax, 1
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x34], 0
jmp 0x18012ce35
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x34], eax
jae 0x18012cfb1
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp rax, qword [rsp + 0x48]
jne 0x18012cf90
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x40]
sub eax, dword [rcx + 0x10]
mov eax, eax
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.18012c320
movzx eax, al
test eax, eax
je 0x18012cf8e
lea rax, [rsp + 0x2b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x3c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rdx, [0x18015d6b8]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x18012cf8e
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
cmp rax, 0x104
jbe 0x18012cf17
mov qword [rsp + 0x80], 0x104
jmp 0x18012cf2f
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call fcn.18002ef90
mov rax, qword [rsp + 0x68]
inc rax
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x3c0]
call fcn.18002ef10
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x3c0]
mov rcx, rax
call fcn.18012cb60
mov qword [rsp + 0x20], rax
jmp 0x18012cfb1
mov rax, qword [rsp + 0x50]
add rax, 4
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x18012ce2b
mov rax, qword [rsp + 0x20]
add rsp, 0x4d0
pop rdi
ret