Function at 0x180138120
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 0x18013815a
mov rax, qword [rsp + 0x20]
jmp 0x180138576
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 0x180138195
mov rax, qword [rsp + 0x20]
jmp 0x180138576
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 0x1801383ba
mov dword [rsp + 0x30], 0
jmp 0x18013822e
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 0x1801383b5
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.18011b6b0
test eax, eax
jne 0x180138394
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.1801378e0
movzx eax, al
test eax, eax
je 0x180138392
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, [0x18016aaa8]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x180138392
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cmp rax, 0x104
jbe 0x180138321
mov qword [rsp + 0x70], 0x104
jmp 0x180138336
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.180030300
mov rax, qword [rsp + 0x58]
inc rax
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x1a0]
call fcn.180030280
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x1a0]
mov rcx, rax
call fcn.180138120
mov qword [rsp + 0x20], rax
jmp 0x1801383b5
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 0x180138224
jmp 0x180138571
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 0x1801383f5
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 0x180138571
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp rax, qword [rsp + 0x48]
jne 0x180138550
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.1801378e0
movzx eax, al
test eax, eax
je 0x18013854e
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, [0x18016aaa8]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x18013854e
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
cmp rax, 0x104
jbe 0x1801384d7
mov qword [rsp + 0x80], 0x104
jmp 0x1801384ef
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.180030300
mov rax, qword [rsp + 0x68]
inc rax
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x3c0]
call fcn.180030280
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x3c0]
mov rcx, rax
call fcn.180138120
mov qword [rsp + 0x20], rax
jmp 0x180138571
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 0x1801383eb
mov rax, qword [rsp + 0x20]
add rsp, 0x4d0
pop rdi
ret