Function at 0x1005c913
Capabilities:
Link many functions at runtime

Disassembly:
push 0x10
mov eax, 0x10169bc7
call fcn.101673d5
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
lea eax, [esi + 0xc]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
or dword [eax], 0xffffffff
push ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x14]
push 0x1001afb0
mov byte [esi + 0x10], bl
call fcn.1003f4ac
push ebx
push 0x1001afd0
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call fcn.1003f4ac
push dword [ebp + 8]
mov byte [ebp - 4], 2
lea edi, [esi + 0x2c]
mov ecx, edi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call fcn.100455fa
mov byte [ebp - 4], 3
mov word [esi + 0x48], bx
cmp dword [esi + 0x18], ebx
je 0x1005cae5
cmp dword [esi + 0x20], ebx
je 0x1005cae5
push 0x1001afec
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x24], eax
test eax, eax
jne 0x1005c9d5
mov eax, dword [0x101973c0]
mov ebx, 0x101973c0
cmp eax, ebx
je 0x1005c9da
test byte [eax + 0x44], 2
je 0x1005c9da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x101973c0]
mov edx, 0x1001b108
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x11
pop ecx
call fcn.1003f754
jmp 0x1005c9da
mov ebx, 0x101973c0
push 0x1001b000
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x1005ca1d
mov eax, dword [0x101973c0]
cmp eax, ebx
je 0x1005ca1d
test byte [eax + 0x44], 2
je 0x1005ca1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x101973c0]
mov edx, 0x1001b108
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x12
pop ecx
call fcn.1003f754
push 0x1001b014
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
test eax, eax
jne 0x1005ca5f
mov eax, dword [0x101973c0]
cmp eax, ebx
je 0x1005ca5f
test byte [eax + 0x44], 2
je 0x1005ca5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x101973c0]
mov edx, 0x1001b108
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x13
pop ecx
call fcn.1003f754
push 0x1001b02c
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
test eax, eax
jne 0x1005caa2
mov eax, dword [0x101973c0]
cmp eax, ebx
je 0x1005caa2
test byte [eax + 0x44], 2
je 0x1005caa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x101973c0]
mov edx, 0x1001b108
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x14
pop ecx
call fcn.1003f754
push 0x1001b044
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
test eax, eax
jne 0x1005cae5
mov eax, dword [0x101973c0]
cmp eax, ebx
je 0x1005cae5
test byte [eax + 0x44], 2
je 0x1005cae5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x101973c0]
mov edx, 0x1001b108
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x15
pop ecx
call fcn.1003f754
mov ebx, dword [esi + 0x24]
xor ecx, ecx
test ebx, ebx
je 0x1005cb03
cmp dword [esi + 0x28], ecx
je 0x1005cb03
cmp dword [esi], ecx
je 0x1005cb03
cmp dword [esi + 4], ecx
je 0x1005cb03
mov al, 1
cmp dword [esi + 8], ecx
jne 0x1005cb05
mov al, cl
mov byte [esi + 0x10], al
test al, al
je 0x1005cb68
push ecx
push 0xffffffffffffffff
push ecx
push ecx
push 1
push ecx
push ecx
mov ecx, ebx
call dword [0x101a77c4]
call ebx
lea ebx, [esi + 0xc]
push eax
mov ecx, ebx
call fcn.1003f39e
cmp dword [ebx], 0
je 0x1005cb72
cmp dword [ebx], 0xffffffff
je 0x1005cb72
mov byte [esi + 0x48], 1
mov eax, dword [0x101973c0]
mov ebx, 0x101973c0
cmp eax, ebx
je 0x1005cb68
test byte [eax + 0x44], 4
je 0x1005cb68
cmp dword [edi + 0x14], 8
jb 0x1005cb54
mov edi, dword [edi]
push edi
push dword [eax + 0x3c]
mov edx, 0x1001b108
push dword [eax + 0x38]
push 0x18
pop ecx
call fcn.1003f5f1
mov eax, esi
call fcn.10167384
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1005cb87
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101973c0]
mov ebx, 0x101973c0
cmp eax, ebx
je 0x1005cbdb
test byte [eax + 0x44], 1
je 0x1005cbbd
cmp dword [edi + 0x14], 8
jb 0x1005cba3
mov edi, dword [edi]
push esi
push edi
push dword [eax + 0x3c]
mov edx, 0x1001b108
push dword [eax + 0x38]
push 0x16
pop ecx
call fcn.1003f64f
mov eax, dword [0x101973c0]
cmp eax, ebx
je 0x1005cbdb
test byte [eax + 0x44], 1
je 0x1005cbdb
push esi
push dword [eax + 0x3c]
mov edx, 0x1001b108
push dword [eax + 0x38]
push 0x17
pop ecx
call fcn.1003f754
push esi
lea ecx, [ebp - 0x14]
call fcn.1003ecfb
push 0x10196090
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3