Function at 0x1006a4ba
Capabilities:
Link many functions at runtime

Disassembly:
push 8
mov eax, 0x1018c65e
call fcn.10188e2d
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
or dword [esi + 0xc], 0xffffffff
push ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x14]
push 0x1001f50c
mov byte [esi + 0x10], bl
call fcn.10046bfe
push ebx
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
push 0x1001f54c
call fcn.10046bfe
push dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ebx, [esi + 0x2c]
mov ecx, ebx
call fcn.100523a7
xor eax, eax
mov byte [ebp - 4], 3
mov edi, 0x101c33f0
mov word [esi + 0x44], ax
cmp dword [esi + 0x18], eax
je 0x1006a687
cmp dword [esi + 0x20], eax
je 0x1006a687
push 0x1001f538
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x24], eax
test eax, eax
jne 0x1006a57a
mov eax, dword [0x101c33f0]
cmp eax, edi
je 0x1006a57a
test byte [eax + 0x44], 2
je 0x1006a57a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x101c33f0]
mov edx, 0x1001f684
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x11
pop ecx
call fcn.1004a069
push 0x1001f580
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x1006a5bd
mov eax, dword [0x101c33f0]
cmp eax, edi
je 0x1006a5bd
test byte [eax + 0x44], 2
je 0x1006a5bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x101c33f0]
mov edx, 0x1001f684
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x12
pop ecx
call fcn.1004a069
push 0x1001f568
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
test eax, eax
jne 0x1006a5ff
mov eax, dword [0x101c33f0]
cmp eax, edi
je 0x1006a5ff
test byte [eax + 0x44], 2
je 0x1006a5ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x101c33f0]
mov edx, 0x1001f684
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x13
pop ecx
call fcn.1004a069
push 0x1001f5ac
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
test eax, eax
jne 0x1006a642
mov eax, dword [0x101c33f0]
cmp eax, edi
je 0x1006a642
test byte [eax + 0x44], 2
je 0x1006a642
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x101c33f0]
mov edx, 0x1001f684
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x14
pop ecx
call fcn.1004a069
push 0x1001f594
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
test eax, eax
jne 0x1006a685
mov eax, dword [0x101c33f0]
cmp eax, edi
je 0x1006a685
test byte [eax + 0x44], 2
je 0x1006a685
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x101c33f0]
mov edx, 0x1001f684
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x15
pop ecx
call fcn.1004a069
xor eax, eax
mov edi, dword [esi + 0x24]
test edi, edi
je 0x1006a701
cmp dword [esi + 0x28], eax
je 0x1006a701
cmp dword [esi], eax
je 0x1006a701
cmp dword [esi + 4], eax
je 0x1006a701
cmp dword [esi + 8], eax
je 0x1006a701
push eax
push 0xffffffffffffffff
push eax
push eax
push 1
push eax
push eax
mov ecx, edi
mov byte [esi + 0x10], 1
call dword [0x101d880c]
call edi
lea edi, [esi + 0xc]
push eax
mov ecx, edi
call fcn.10046acc
cmp dword [edi], 0
je 0x1006a70e
cmp dword [edi], 0xffffffff
je 0x1006a70e
mov byte [esi + 0x44], 1
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x1006a704
test byte [eax + 0x44], 4
je 0x1006a704
cmp dword [ebx + 0x14], 8
jb 0x1006a6eb
mov ebx, dword [ebx]
push ebx
push dword [eax + 0x3c]
mov edx, 0x1001f684
push dword [eax + 0x38]
push 0x18
pop ecx
call fcn.1004a093
jmp 0x1006a704
mov byte [esi + 0x10], al
mov eax, esi
call fcn.10188de9
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x1006a723
movzx edi, di
or edi, 0x80070000
mov esi, dword [0x101c33f0]
cmp esi, 0x101c33f0
je 0x1006a77b
test byte [esi + 0x44], 1
je 0x1006a759
mov ecx, ebx
call fcn.10052873
push edi
push eax
push dword [esi + 0x3c]
mov edx, 0x1001f684
push dword [esi + 0x38]
push 0x16
pop ecx
call fcn.1004a0f3
mov esi, dword [0x101c33f0]
cmp esi, 0x101c33f0
je 0x1006a77b
test byte [esi + 0x44], 1
je 0x1006a77b
push edi
push dword [esi + 0x3c]
mov edx, 0x1001f684
push dword [esi + 0x38]
push 0x17
pop ecx
call fcn.1004a069
push edi
lea ecx, [ebp - 0x10]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3