Function at 0x100010c0
Capabilities:
Link many functions at runtime

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x1c8
mov rax, qword [0x10005548]
mov qword [rsp + 0x1b0], rax
mov eax, dword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x38], rax
jbe 0x1000113c
xor eax, eax
jmp 0x10001454
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1000115c
mov eax, 1
jmp 0x10001454
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x20], rax
jbe 0x10001183
xor eax, eax
jmp 0x10001454
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.LoadLibraryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x100011b4
xor eax, eax
jmp 0x10001454
cmp qword [rsp + 0x20], 0
je 0x1000144f
mov rax, qword [rsp + 0x20]
cmp dword [rax + 4], 0
jne 0x100011db
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xc], 0
jne 0x100011db
jmp 0x1000144f
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x28], rax
jbe 0x10001200
xor eax, eax
jmp 0x10001454
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x10001223
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x10001454
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0
je 0x1000130c
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
add rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
add rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x10001307
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
add rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x78]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x100012b5
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
and rax, 0xffff
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
jmp 0x100012d4
mov rax, qword [rsp + 0x58]
add rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x100012e6
xor eax, eax
jmp 0x10001454
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x78], rax
jmp 0x10001254
jmp 0x1000143c
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
add rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x1000143c
mov rax, qword [rsp + 0x80]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x1000137f
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
and rax, 0xffff
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
jmp 0x10001414
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
add rax, qword [rsp + 0x60]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
movsx eax, byte [rax]
test eax, eax
jne 0x100013e0
mov rax, qword [rsp + 0x1a8]
inc rax
mov qword [rsp + 0x1a8], rax
jmp 0x100013bc
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
cmp qword [rsp + 0x80], 0
jne 0x10001423
xor eax, eax
jmp 0x10001454
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x80], rax
jmp 0x10001321
mov rax, qword [rsp + 0x20]
add rax, 0x14
mov qword [rsp + 0x20], rax
jmp 0x100011b4
mov eax, 1
mov rcx, qword [rsp + 0x1b0]
call fcn.100031f0
add rsp, 0x1c8
ret