Function at 0x110aa170
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111856d8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x111a7eec
mov dword [ebp - 0x54], ecx
call dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
xor esi, esi
mov ebx, eax
xor edi, edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
push 0x111a7f1c
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x110aa2e5
push 0x12
push edi
push edi
push 0x111a7edc
call eax
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
je 0x110aa3f3
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x34], 0
lea ecx, [ecx]
cmp dword [ebp - 0x3c], 0
jne 0x110aa21d
push 0x111a7f34
push ebx
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x110aa2f9
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
push ecx
push 0x111a7edc
push 0
push edx
call dword [ebp - 0x3c]
test eax, eax
je 0x110aa301
test esi, esi
je 0x110aa248
push esi
call fcn.11163aa5
add esp, 4
test edi, edi
jne 0x110aa265
push 0x111a7f50
push ebx
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov edi, eax
mov dword [ebp - 0x40], edi
test edi, edi
je 0x110aa322
mov edx, dword [ebp - 0x30]
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
push edx
call edi
test eax, eax
jne 0x110aa28c
call dword [sym.imp.KeRneL32.DLl_GetLastError]
cmp eax, 0x7a
jne 0x110aa361
mov eax, dword [ebp - 0x38]
push eax
mov dword [ebp - 0x50], eax
call fcn.11163a11
mov esi, eax
add esp, 4
test esi, esi
je 0x110aa382
mov dword [esi], 5
test edi, edi
jne 0x110aa2c4
push 0x111a7f50
push ebx
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov edi, eax
mov dword [ebp - 0x40], edi
test edi, edi
je 0x110aa32f
mov ecx, dword [ebp - 0x50]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
push ecx
push esi
lea edx, [ebp - 0x2c]
push edx
push eax
call edi
test eax, eax
je 0x110aa337
inc dword [ebp - 0x34]
jmp 0x110aa200
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
mov dword [ebp - 0x30], 0
jmp 0x110aa1ef
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
call dword [sym.imp.KeRneL32.DLl_GetLastError]
cmp eax, 0x103
je 0x110aa3a0
push esi
call fcn.11163aa5
add esp, 4
xor esi, esi
jmp 0x110aa200
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
jmp 0x110aa27d
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x4c]
call fcn.110aa110
push esi
call fcn.11163aa5
mov eax, dword [ebp - 0x4c]
add esp, 4
test eax, eax
je 0x110aa37b
push eax
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
xor al, al
jmp 0x110aa417
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.110aa110
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x110aa37b
push eax
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
xor al, al
jmp 0x110aa417
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
call fcn.110aa110
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x110aa37b
push eax
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
xor al, al
jmp 0x110aa417
push 0x111a7efc
push ebx
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x110aa3bb
mov ecx, dword [ebp - 0x30]
push ecx
call eax
jmp 0x110aa3c3
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
test esi, esi
je 0x110aa3f3
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea edx, [esi + 4]
push edx
call dword [sym.imp.KeRneL32.DLl_CreateFileA]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
push esi
cmp eax, 0xffffffff
jne 0x110aa402
call fcn.11163aa5
add esp, 4
test ebx, ebx
je 0x110aa3fe
push ebx
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
xor al, al
jmp 0x110aa417
call fcn.11163aa5
add esp, 4
test ebx, ebx
je 0x110aa415
push ebx
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret