Function at 0x40e074
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x40e07c
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x40e4fd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 0x40e514
call fcn.00404d28
mov edx, dword [ebp - 4]
mov eax, 0x420210
call fcn.004031d0
lea edx, [ebp - 8]
mov eax, 0x40e530
call fcn.00404d28
mov edx, dword [ebp - 8]
mov eax, 0x420220
call fcn.004031d0
lea edx, [ebp - 0xc]
mov eax, 0x40e550
call fcn.00404d28
mov edx, dword [ebp - 0xc]
mov eax, 0x420224
call fcn.004031d0
lea edx, [ebp - 0x10]
mov eax, 0x40e564
call fcn.00404d28
mov edx, dword [ebp - 0x10]
mov eax, 0x420228
call fcn.004031d0
lea edx, [ebp - 0x14]
mov eax, 0x40e57c
call fcn.00404d28
mov edx, dword [ebp - 0x14]
mov eax, 0x42022c
call fcn.004031d0
lea edx, [ebp - 0x18]
mov eax, 0x40e590
call fcn.00404d28
mov edx, dword [ebp - 0x18]
mov eax, 0x420240
call fcn.004031d0
lea edx, [ebp - 0x1c]
mov eax, 0x40e5a4
call fcn.00404d28
mov edx, dword [ebp - 0x1c]
mov eax, 0x420248
call fcn.004031d0
lea edx, [ebp - 0x20]
mov eax, 0x40e5bc
call fcn.00404d28
mov edx, dword [ebp - 0x20]
mov eax, 0x42024c
call fcn.004031d0
lea edx, [ebp - 0x24]
mov eax, 0x40e5cc
call fcn.00404d28
mov edx, dword [ebp - 0x24]
mov eax, 0x420250
call fcn.004031d0
lea edx, [ebp - 0x28]
mov eax, 0x40e5e0
call fcn.00404d28
mov edx, dword [ebp - 0x28]
mov eax, 0x420258
call fcn.004031d0
lea edx, [ebp - 0x2c]
mov eax, 0x40e5f0
call fcn.00404d28
mov edx, dword [ebp - 0x2c]
mov eax, 0x420254
call fcn.004031d0
lea edx, [ebp - 0x30]
mov eax, 0x40e600
call fcn.00404d28
mov edx, dword [ebp - 0x30]
mov eax, 0x420244
call fcn.004031d0
lea edx, [ebp - 0x34]
mov eax, 0x40e614
call fcn.00404d28
mov edx, dword [ebp - 0x34]
mov eax, 0x42025c
call fcn.004031d0
lea edx, [ebp - 0x38]
mov eax, 0x40e634
call fcn.00404d28
mov edx, dword [ebp - 0x38]
mov eax, 0x420260
call fcn.004031d0
lea edx, [ebp - 0x3c]
mov eax, 0x40e658
call fcn.00404d28
mov edx, dword [ebp - 0x3c]
mov eax, 0x420204
call fcn.004031d0
lea edx, [ebp - 0x40]
mov eax, 0x40e670
call fcn.00404d28
mov edx, dword [ebp - 0x40]
mov eax, 0x420218
call fcn.004031d0
lea edx, [ebp - 0x44]
mov eax, 0x40e684
call fcn.00404d28
mov edx, dword [ebp - 0x44]
mov eax, 0x420214
call fcn.004031d0
lea edx, [ebp - 0x48]
mov eax, 0x40e69c
call fcn.00404d28
mov edx, dword [ebp - 0x48]
mov eax, 0x42021c
call fcn.004031d0
lea edx, [ebp - 0x4c]
mov eax, 0x40e6b4
call fcn.00404d28
mov edx, dword [ebp - 0x4c]
mov eax, 0x42020c
call fcn.004031d0
lea edx, [ebp - 0x50]
mov eax, 0x40e6d4
call fcn.00404d28
mov edx, dword [ebp - 0x50]
mov eax, 0x420208
call fcn.004031d0
lea edx, [ebp - 0x54]
mov eax, 0x40e6ec
call fcn.00404d28
mov edx, dword [ebp - 0x54]
mov eax, 0x420230
call fcn.004031d0
lea edx, [ebp - 0x58]
mov eax, 0x40e708
call fcn.00404d28
mov edx, dword [ebp - 0x58]
mov eax, 0x420234
call fcn.004031d0
lea edx, [ebp - 0x5c]
mov eax, 0x40e738
call fcn.00404d28
mov edx, dword [ebp - 0x5c]
mov eax, 0x420238
call fcn.004031d0
lea edx, [ebp - 0x60]
mov eax, 0x40e744
call fcn.00404d28
mov edx, dword [ebp - 0x60]
mov eax, 0x42023c
call fcn.004031d0
push 0x40e758
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x40e3de
lea edx, [ebp - 0x64]
mov eax, 0x40e770
call fcn.00404d28
mov eax, dword [ebp - 0x64]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x4139d0], eax
lea edx, [ebp - 0x68]
mov eax, 0x40e78c
call fcn.00404d28
mov eax, dword [ebp - 0x68]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x4139d4], eax
lea edx, [ebp - 0x6c]
mov eax, 0x40e7b0
call fcn.00404d28
mov eax, dword [ebp - 0x6c]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x4139d8], eax
lea edx, [ebp - 0x70]
mov eax, 0x40e7d0
call fcn.00404d28
mov eax, dword [ebp - 0x70]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x4139dc], eax
lea edx, [ebp - 0x74]
mov eax, 0x40e7ec
call fcn.00404d28
mov eax, dword [ebp - 0x74]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x4139e0], eax
lea edx, [ebp - 0x78]
mov eax, 0x40e810
call fcn.00404d28
mov eax, dword [ebp - 0x78]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x4139e4], eax
mov edi, 0x2f
mov ebx, 0x412144
mov esi, 0x4138e8
lea edx, [ebp - 0x7c]
mov eax, dword [ebx]
call fcn.00404d28
mov edx, dword [ebp - 0x7c]
mov eax, esi
call fcn.004031d0
add esi, 4
add ebx, 4
dec edi
jne 0x40e3ed
call fcn.004060a8
mov byte [0x4201ec], al
lea edx, [ebp - 0x80]
mov eax, 0x40e82c
call fcn.00404d28
mov eax, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
call fcn.004083c4
mov edx, dword [ebp - 0x84]
mov eax, 0x420200
pop ecx
call fcn.00403408
cmp byte [0x4201ec], 0
jne 0x40e4d5
lea edx, [ebp - 0x88]
mov eax, 0x40e840
call fcn.00404d28
mov eax, dword [ebp - 0x88]
call fcn.004035bc
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4201f8], eax
cmp dword [0x4201f8], 0
je 0x40e4d5
lea edx, [ebp - 0x8c]
mov eax, 0x40e858
call fcn.00404d28
mov eax, dword [ebp - 0x8c]
call fcn.004035bc
push eax
mov eax, dword [0x4201f8]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4201f0], eax
lea edx, [ebp - 0x90]
mov eax, 0x40e874
call fcn.00404d28
mov eax, dword [ebp - 0x90]
call fcn.004035bc
push eax
mov eax, dword [0x4201f8]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4201f4], eax
mov al, byte [0x4201ec]
call fcn.004055e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e504
lea eax, [ebp - 0x90]
mov edx, 0x24
call fcn.004031a0
ret