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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x208
mov rcx, qword [rsp + 0x210]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140018522
mov edx, 0xfffe
mov ecx, 0x40
call qword [0x140067ca8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140018522
mov r8d, 0x104
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call qword [0x140067cb8]
test eax, eax
je 0x14001850f
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.140017f60
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14001850f
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
add rax, 4
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
add rax, 0x70
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x80
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x30]
call fcn.1400176d0
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x7c], 0
jmp 0x14001818e
mov eax, dword [rsp + 0x7c]
inc eax
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x7c], eax
jae 0x1400184fc
mov rax, qword [rsp + 0x70]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.1400176d0
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x90], eax
mov edx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
call fcn.1400176d0
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x98]
call qword [0x140067d48]
test eax, eax
jne 0x1400184f7
mov rax, qword [rsp + 0x70]
mov edx, dword [rax + 0x24]
mov rcx, qword [rsp + 0x30]
call fcn.1400176d0
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
movsxd rax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0xb8]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x70]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x30]
call fcn.1400176d0
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
cmp dword [rsp + 0xac], eax
jb 0x14001849f
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 4]
cmp dword [rsp + 0xac], eax
ja 0x14001849f
mov edx, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x30]
call fcn.1400176d0
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x1f0], 0
mov dword [rsp + 0x1f4], 0
jmp 0x14001836b
mov eax, dword [rsp + 0x1f4]
inc eax
mov dword [rsp + 0x1f4], eax
mov eax, dword [rsp + 0x1f0]
inc eax
mov dword [rsp + 0x1f0], eax
mov rax, qword [rsp + 0xc8]
movsx eax, byte [rax]
cmp eax, 0x2e
je 0x1400183aa
movsxd rax, dword [rsp + 0x1f4]
mov rcx, qword [rsp + 0xc8]
movzx ecx, byte [rcx]
mov byte [rsp + rax + 0xe0], cl
mov rax, qword [rsp + 0xc8]
inc rax
mov qword [rsp + 0xc8], rax
jmp 0x14001834b
movsxd rax, dword [rsp + 0x1f0]
mov byte [rsp + rax + 0xe0], 0
mov rax, qword [rsp + 0xc8]
inc rax
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x220]
add rax, 0x210
lea r9, [rsp + 0xe0]
lea r8, [0x14003ad80]
mov edx, 0x104
mov rcx, rax
call fcn.1400265dc
mov rax, qword [rsp + 0x220]
add rax, 0x418
mov rdx, qword [rsp + 0xd0]
mov rcx, rax
call qword [0x140067cc8]
mov rax, qword [rsp + 0x220]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x220]
mov dword [rcx], eax
mov rax, qword [rsp + 0x220]
mov dword [rax + 4], 1
mov rax, qword [rsp + 0x220]
cmp dword [rax], 5
jl 0x14001844f
xor eax, eax
jmp 0x140018524
mov rax, qword [rsp + 0x220]
add rax, 0x210
mov rcx, qword [rsp + 0x220]
add rcx, 8
mov rdx, rax
call qword [0x140067cc0]
mov rax, qword [rsp + 0x220]
add rax, 0x210
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0xd0]
mov rcx, rax
call fcn.140018060
jmp 0x140018524
mov rax, qword [rsp + 0x220]
add rax, 0x210
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call qword [0x140067cc0]
mov rax, qword [rsp + 0x220]
add rax, 0x418
mov rdx, qword [rsp + 0x218]
mov rcx, rax
call qword [0x140067cc8]
mov rcx, qword [rsp + 0x30]
call qword [0x140067cd8]
mov rcx, qword [rsp + 0x28]
call qword [0x140067cd8]
mov eax, 1
jmp 0x140018524
jmp 0x140018184
cmp qword [rsp + 0x30], 0
je 0x14001850f
mov rcx, qword [rsp + 0x30]
call qword [0x140067cd8]
cmp qword [rsp + 0x28], 0
je 0x140018522
mov rcx, qword [rsp + 0x28]
call qword [0x140067cd8]
xor eax, eax
add rsp, 0x208
ret