Function at 0x401110
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], 0
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0x10], ebx
je 0x401325
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x401325
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x401150
sub esi, ecx
sar esi, 1
je 0x401325
push 0x1000
call fcn.0040720a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x401184
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x40132c
lea edx, [ebp - 0xc]
mov ecx, edi
call fcn.00401090
test al, al
jne 0x40119e
mov dword [ebp - 0x10], 0xfffffffd
jmp 0x40132c
movzx eax, word [edi]
cmp eax, 0x5f
je 0x4011b0
cmp eax, 0x40
je 0x4011b0
cmp eax, 0x3f
jne 0x4011d3
lea eax, [edi + 2]
push 0x41d9f8
push eax
call fcn.004024c7
add esp, 8
test eax, eax
je 0x4011d3
cmp word [eax - 2], 0x57
mov byte [ebp - 1], 1
sete al
jmp 0x401214
movzx eax, word [edi + esi*2 - 2]
cmp eax, 0x57
mov byte [ebp - 1], 0
sete byte [ebp - 2]
je 0x4011fd
push dword [ebp - 0xc]
push 0x41d9f4
push 0xffffffffffffffff
push 0x1000
push ebx
call fcn.00401050
add esp, 0x14
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x401312
mov al, byte [ebp - 2]
mov esi, dword [ebp - 0xc]
test al, al
je 0x401230
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x40130f
cmp byte [ebp - 1], 0
jne 0x401260
push esi
push 0x41d9f0
push 0xffffffffffffffff
push 0x1000
push ebx
call fcn.00401050
add esp, 0x14
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x4012e3
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x4012e3
movzx eax, word [edi]
cmp eax, 0x23
je 0x401281
cmp eax, 0x40
mov eax, edi
jne 0x401284
lea eax, [edi + 2]
push eax
call fcn.00404ab2
add esp, 4
cmp eax, 1
jl 0x4012ac
cmp eax, 0xffff
jg 0x4012ac
movzx eax, ax
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x4012e3
push edi
push dword [ebp + 0xc]
push str.Error_in__s_nMissing_entry:__s
push 0xffffffffffffffff
push 0x800
push ebx
call fcn.00401010
add esp, 0x18
push 0x10
push str.DllLoader
push ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x10], 0xfffffffc
jmp 0x40132c
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 8]
call fcn.00401090
mov edi, dword [ebp - 8]
test al, al
jne 0x4012fe
mov dword [ebp - 0x10], 0xfffffffb
jmp 0x40132f
push 1
push edi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call esi
jmp 0x40132f
mov esi, dword [ebp - 0x14]
push 1
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call esi
jmp 0x40132c
mov dword [ebp - 0x10], 0xffffffff
mov edi, dword [ebp - 8]
push ebx
call fcn.00407081
push dword [ebp - 0xc]
call fcn.00407081
push edi
call fcn.00407081
mov eax, dword [ebp - 0x10]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret