Function at 0x140012b70
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x10228
call fcn.140029f00
sub rsp, rax
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x58]
call fcn.140014720
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400137e0
mov rdx, qword [rsp + 0x10230]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14003a88c]
lea rcx, [rsp + 0x80]
call fcn.140023770
xor ecx, ecx
mov word [rax], cx
mov edx, 0x68
lea rcx, [rsp + 0x100a0]
call fcn.1400238f0
mov dword [rsp + 0x100a0], 0x68
mov dword [rsp + 0x100dc], 0x81
xor eax, eax
mov word [rsp + 0x100e0], ax
cmp dword [rsp + 0x10238], 0
je 0x140012c26
mov dword [rsp + 0x1021c], 4
jmp 0x140012c31
mov dword [rsp + 0x1021c], 0
mov eax, dword [rsp + 0x1021c]
mov dword [rsp + 0x10098], eax
lea rax, [rsp + 0x10080]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x100a0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x10098]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x10230]
call qword [0x140071dd0]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 1
jne 0x1400137d5
lea rcx, [0x14003b1c8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x10118], rax
lea rdx, [0x14003b390]
mov rcx, qword [rsp + 0x10118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x10138], rax
lea rdx, [0x14003b3a0]
mov rcx, qword [rsp + 0x10118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x10148], rax
lea rdx, [0x14003b3b8]
mov rcx, qword [rsp + 0x10118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x10120], rax
lea rdx, [0x14003b3d0]
mov rcx, qword [rsp + 0x10118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x10128], rax
lea rdx, [0x14003b3e8]
mov rcx, qword [rsp + 0x10118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x10130], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x10110], rax
cmp qword [rsp + 0x10138], 0
je 0x14001378a
cmp qword [rsp + 0x10148], 0
je 0x14001378a
cmp qword [rsp + 0x10120], 0
je 0x14001378a
cmp qword [rsp + 0x10128], 0
je 0x14001378a
cmp qword [rsp + 0x10130], 0
je 0x14001378a
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x10170], rax
mov rax, qword [rsp + 0x10170]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x10170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10160], rax
mov rax, qword [rsp + 0x10160]
add rax, 0x18
mov qword [rsp + 0x10168], rax
mov qword [rsp + 0x10158], 0
mov qword [rsp + 0x10150], 0x738
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x10150]
xor r8d, r8d
mov edx, 6
lea rcx, [rsp + 0x10158]
call qword [0x140071d20]
mov dword [rsp + 0x10140], eax
cmp dword [rsp + 0x10140], 0
jl 0x14001378a
mov qword [rsp + 0x10178], 0
mov qword [rsp + 0x10180], 0x738
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rcx, [rsp + 0x10180]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x10178]
mov rdx, rax
mov rcx, qword [rsp + 0x10158]
call qword [0x140071d28]
mov dword [rsp + 0x10140], eax
cmp dword [rsp + 0x10140], 0
jl 0x14001377c
mov qword [rsp + 0x10188], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x10180]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x10188]
mov rdx, qword [rsp + 0x10080]
mov rcx, qword [rsp + 0x10158]
call qword [0x140071d28]
mov dword [rsp + 0x10140], eax
cmp dword [rsp + 0x10140], 0
jl 0x140013766
mov qword [rsp + 0x101a0], 0
lea rax, [0x140014710]
lea rcx, [0x1400137f0]
sub rax, rcx
mov dword [rsp + 0x10190], eax
mov eax, dword [rsp + 0x10190]
mov qword [rsp + 0x10198], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0x40
lea r9, [rsp + 0x10198]
xor r8d, r8d
mov edx, 0xe
lea rcx, [rsp + 0x101a0]
call qword [0x140071d20]
mov dword [rsp + 0x10140], eax
cmp dword [rsp + 0x10140], 0
jl 0x140013766
mov qword [rsp + 0x101a8], 0
mov eax, dword [rsp + 0x10190]
mov qword [rsp + 0x101b0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rcx, [rsp + 0x101b0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x101a8]
mov rdx, rax
mov rcx, qword [rsp + 0x101a0]
call qword [0x140071d28]
mov dword [rsp + 0x10140], eax
cmp dword [rsp + 0x10140], 0
jl 0x140013758
mov qword [rsp + 0x101b8], 0
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x101b0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x101b8]
mov rdx, qword [rsp + 0x10080]
mov rcx, qword [rsp + 0x101a0]
call qword [0x140071d28]
mov dword [rsp + 0x10140], eax
cmp dword [rsp + 0x10140], 0
jl 0x140013742
mov eax, dword [rsp + 0x10190]
mov r8d, eax
lea rdx, [0x1400137f0]
mov rcx, qword [rsp + 0x101a8]
call fcn.14002a620
mov rax, qword [rsp + 0x10178]
mov qword [rsp + 0x101c0], rax
lea rcx, [0x14003b3f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x101c8], rax
lea rdx, [0x14003b410]
mov rcx, qword [rsp + 0x101c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x101c0]
mov qword [rcx], rax
lea rdx, [0x14003b420]
mov rcx, qword [rsp + 0x101c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x101c0]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x101c0]
add rax, 0x10
lea rdx, [0x14003b430]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rsp + 0x101c0]
add rax, 0xda
lea rdx, [0x14003b450]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rsp + 0x101c0]
add rax, 0x1a4
lea rdx, [0x14003aa34]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x101c0]
add rax, 0x208
lea rdx, [0x14003b468]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x101c0]
add rax, 0x26c
lea rdx, [0x14003b478]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x101c0]
add rax, 0x334
lea rdx, [0x14003b488]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x101c0]
add rax, 0x398
lea rdx, [0x14003b498]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x101c0]
add rax, 0x3fc
lea rdx, [0x14003b4a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x101c0]
add rax, 0x460
lea rdx, [0x14003b4b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x101c0]
add rax, 0x4c4
lea rdx, [0x14003b4c8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x101c0]
add rax, 0x528
lea rdx, [0x14003b4d8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x101c0]
mov dword [rax + 0x58c], 1
mov rax, qword [rsp + 0x101c0]
mov ecx, dword [0x140066344]
mov dword [rax + 0x590], ecx
mov qword [rsp + 0x101d8], 0
movsxd rax, dword [rsp + 0x58]
mov qword [rsp + 0x101d0], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x101d0]
xor r8d, r8d
mov edx, 6
lea rcx, [rsp + 0x101d8]
call qword [0x140071d20]
mov dword [rsp + 0x10140], eax
cmp dword [rsp + 0x10140], 0
jl 0x140013742
mov qword [rsp + 0x101e8], 0
movsxd rax, dword [rsp + 0x58]
mov qword [rsp + 0x101e0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rcx, [rsp + 0x101e0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x101e8]
mov rdx, rax
mov rcx, qword [rsp + 0x101d8]
call qword [0x140071d28]
mov dword [rsp + 0x10140], eax
cmp dword [rsp + 0x10140], 0
jl 0x140013734
mov qword [rsp + 0x101f0], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x101e0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x101f0]
mov rdx, qword [rsp + 0x10080]
mov rcx, qword [rsp + 0x101d8]
call qword [0x140071d28]
mov dword [rsp + 0x10140], eax
cmp dword [rsp + 0x10140], 0
jl 0x14001371e
movsxd rax, dword [rsp + 0x58]
mov r8, rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x101e8]
call fcn.14002a620
movsxd rax, dword [rsp + 0x58]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x101f8], eax
mov dword [rsp + 0x10208], 0
jmp 0x140013471
mov eax, dword [rsp + 0x10208]
inc eax
mov dword [rsp + 0x10208], eax
mov eax, dword [rsp + 0x101f8]
cmp dword [rsp + 0x10208], eax
jge 0x1400134b1
movsxd rax, dword [rsp + 0x10208]
mov rcx, qword [rsp + 0x101e8]
mov edx, dword [0x140066344]
mov eax, dword [rcx + rax*4]
xor eax, edx
movsxd rcx, dword [rsp + 0x10208]
mov rdx, qword [rsp + 0x101e8]
mov dword [rdx + rcx*4], eax
jmp 0x140013461
mov rax, qword [rsp + 0x101c0]
mov rcx, qword [rsp + 0x101f0]
mov qword [rax + 0x728], rcx
mov rax, qword [rsp + 0x101c0]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x730], ecx
mov qword [rsp + 0x10200], 0
lea r9, str.E66E8778_DC13_4230_A4DE_2D9651D3AD06
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140071dc8]
mov qword [rsp + 0x10200], rax
cmp qword [rsp + 0x10200], 0
je 0x14001371e
mov qword [rsp + 0x10210], 0
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x10210]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x10188]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x101b8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x10080]
call qword [0x140071d38]
mov dword [rsp + 0x10140], eax
cmp dword [rsp + 0x10140], 0
jl 0x140013710
mov rax, qword [rsp + 0x10240]
mov rcx, qword [rsp + 0x10080]
mov qword [rax], rcx
mov rax, qword [rsp + 0x10240]
mov ecx, dword [rsp + 0x10090]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x10240]
mov rcx, qword [rsp + 0x10088]
mov qword [rax + 8], rcx
mov edx, 0xbb8
mov rcx, qword [rsp + 0x10200]
call qword [0x140071de8]
mov dword [rsp + 0x10218], eax
cmp dword [rsp + 0x10218], 0x102
je 0x1400136c4
mov rdx, qword [rsp + 0x10188]
mov rcx, qword [rsp + 0x10080]
call qword [0x140071d30]
mov rdx, qword [rsp + 0x101b8]
mov rcx, qword [rsp + 0x10080]
call qword [0x140071d30]
mov rdx, qword [rsp + 0x101f0]
mov rcx, qword [rsp + 0x10080]
call qword [0x140071d30]
mov rdx, qword [rsp + 0x10178]
mov rcx, qword [rsp + 0x10110]
call qword [0x140071d30]
mov rdx, qword [rsp + 0x101a8]
mov rcx, qword [rsp + 0x10110]
call qword [0x140071d30]
mov rdx, qword [rsp + 0x101e8]
mov rcx, qword [rsp + 0x10110]
call qword [0x140071d30]
mov rcx, qword [rsp + 0x10158]
call qword [0x140071d58]
mov rcx, qword [rsp + 0x101a0]
call qword [0x140071d58]
mov rcx, qword [rsp + 0x101d8]
call qword [0x140071d58]
mov rcx, qword [rsp + 0x10200]
call qword [0x140071d98]
mov rcx, qword [rsp + 0x68]
call qword [0x140071dc0]
mov eax, 1
jmp 0x1400137e2
xor edx, edx
mov rcx, qword [rsp + 0x10080]
call qword [0x140071e00]
mov rcx, qword [rsp + 0x10080]
call qword [0x140071d98]
mov rcx, qword [rsp + 0x10088]
call qword [0x140071d98]
mov qword [rsp + 0x10080], 0
mov qword [rsp + 0x10088], 0
mov dword [rsp + 0x5c], 1
mov rcx, qword [rsp + 0x10200]
call qword [0x140071d98]
mov rdx, qword [rsp + 0x101e8]
mov rcx, qword [rsp + 0x10110]
call qword [0x140071d30]
mov rcx, qword [rsp + 0x101d8]
call qword [0x140071d58]
mov rdx, qword [rsp + 0x101a8]
mov rcx, qword [rsp + 0x10110]
call qword [0x140071d30]
mov rcx, qword [rsp + 0x101a0]
call qword [0x140071d58]
mov rdx, qword [rsp + 0x10178]
mov rcx, qword [rsp + 0x10110]
call qword [0x140071d30]
mov rcx, qword [rsp + 0x10158]
call qword [0x140071d58]
cmp dword [rsp + 0x5c], 0
jne 0x1400137d5
xor edx, edx
mov rcx, qword [rsp + 0x10080]
call qword [0x140071e00]
mov rcx, qword [rsp + 0x10080]
call qword [0x140071d98]
mov rcx, qword [rsp + 0x10088]
call qword [0x140071d98]
mov qword [rsp + 0x10080], 0
mov qword [rsp + 0x10088], 0
mov rcx, qword [rsp + 0x68]
call qword [0x140071dc0]
xor eax, eax
add rsp, 0x10228
ret