Function at 0x1011a01
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10161d4]
push ebx
xor ebx, ebx
push esi
push edi
push 0x1003078
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x54], 0x12
mov dword [ebp - 0x50], 0x13
mov dword [ebp - 0x4c], 0x14
call fcn.0100e093
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x3c], edi
je 0x1011c69
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10030fc
push edi
call esi
push 0x10030e8
push edi
mov dword [ebp - 0x38], eax
call esi
push 0x10030d4
push edi
mov dword [ebp - 0x28], eax
call esi
push 0x10030c4
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x10030b4
push edi
mov dword [ebp - 0x40], eax
call esi
push 0x10030a8
push edi
mov dword [ebp - 0x30], eax
call esi
push 0x100309c
push edi
mov dword [ebp - 0x2c], eax
call esi
push 0x1003094
push edi
mov dword [ebp - 0x44], eax
call esi
cmp dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], eax
je 0x1011c4b
cmp dword [ebp - 0x28], ebx
je 0x1011c4b
cmp dword [ebp - 0x34], ebx
je 0x1011c4b
cmp dword [ebp - 0x40], ebx
je 0x1011c4b
cmp dword [ebp - 0x30], ebx
je 0x1011c4b
cmp dword [ebp - 0x2c], ebx
je 0x1011c4b
cmp dword [ebp - 0x44], ebx
je 0x1011c4b
cmp eax, ebx
je 0x1011c4b
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x18]
push eax
mov edi, 0x20008
push edi
call esi
push eax
call dword [ebp - 0x34]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1011b7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1011b75
lea eax, [ebp - 0x24]
push eax
push 1
push 0x2000c
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [ebp - 0x40]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1011c69
push ebx
push ebx
call dword [ebp - 0x30]
lea eax, [ebp - 0x18]
push eax
push edi
call esi
push eax
call dword [ebp - 0x34]
push dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push ebx
call dword [ebp - 0x30]
test eax, eax
jne 0x1011b75
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
je 0x1011c69
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push 1
push dword [ebp - 0x18]
call dword [ebp - 0x28]
test eax, eax
je 0x1011ba3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1011ba3
mov dword [ebp - 0x10], ebx
jmp 0x1011c69
push dword [ebp - 0x48]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x1c], esi
jne 0x1011bcd
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x10], ebx
jmp 0x1011c53
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x48]
push esi
push 1
push dword [ebp - 0x18]
call dword [ebp - 0x28]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1011c53
push dword [esi]
call dword [ebp - 0x2c]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1011c53
xor edi, edi
jmp 0x1011bf7
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + edi*4 - 0x54]
lea eax, [ebp - 0xc]
push 1
push eax
call dword [ebp - 0x38]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1011c53
push dword [ebp - 0x14]
call dword [ebp - 0x2c]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1011c53
push dword [esi]
push dword [ebp - 0x14]
call dword [ebp - 0x44]
push dword [ebp - 0x14]
mov esi, eax
call dword [ebp - 0x20]
cmp esi, ebx
mov dword [ebp - 0x14], ebx
jne 0x1011c42
inc edi
cmp edi, 3
jb 0x1011bf4
jmp 0x1011bc5
mov dword [ebp - 0x10], 1
jmp 0x1011c53
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x1c], ebx
je 0x1011c69
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x18], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1011c79
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x24], ebx
je 0x1011c83
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x14], ebx
je 0x1011c93
cmp dword [ebp - 0x20], ebx
je 0x1011c93
push dword [ebp - 0x14]
call dword [ebp - 0x20]
cmp dword [ebp - 0x3c], ebx
pop edi
pop esi
pop ebx
je 0x1011ca4
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0100c0c3
leave
ret