Function at 0x40c36e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b0
push ebx
push esi
push edi
mov dword [ebp - 0x7b0], ecx
push 0x401df4
push 0x401e00
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x508], eax
push 0x401e10
push 0x401e28
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x618], eax
push 0x401e38
push 0x401e50
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x644], eax
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x401e60
push 0x401e70
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x640], eax
push 0x401e80
push 0x401e94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x504], eax
push 0x401ea4
push 0x401eb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x634], eax
mov dword [ebp - 0x630], 0
mov byte [ebp - 0x400], 0x67
lea eax, [ebp - 0x500]
push eax
push 0x100
call dword [ebp - 0x618]
lea ecx, [ebp - 0x500]
mov dword [ebp - 0x630], ecx
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x61c], 0
push 0x401ec0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x628], eax
push 0x401ecc
mov edx, dword [ebp - 0x628]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x510], eax
mov dword [ebp - 0x62c], 1
jmp 0x40c507
mov eax, dword [ebp - 0x630]
push eax
call dword [ebp - 0x634]
mov ecx, dword [ebp - 0x630]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x630], edx
mov eax, dword [ebp - 0x630]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40c743
push 0x104
push 0
lea edx, [ebp - 0x614]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x614]
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x630]
push ecx
call dword [ebp - 0x644]
push 0x410
push 0x160
lea edx, [ebp - 0x7a4]
push edx
push 0x80
mov eax, dword [ebp - 0x630]
push eax
call dword [ebp - 0x510]
lea ecx, [ebp - 0x694]
push ecx
call dword [ebp - 0x634]
add eax, 1
mov dword [ebp - 0x7ac], eax
lea edx, [ebp - 0x614]
push edx
call dword [ebp - 0x634]
add eax, 1
mov dword [ebp - 0x7a8], eax
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x630]
movsx ecx, byte [eax]
cmp ecx, 0x41
je 0x40c64d
mov edx, dword [ebp - 0x630]
movsx eax, byte [edx]
cmp eax, 0x42
je 0x40c64d
push 0
lea ecx, [ebp - 0x624]
push ecx
lea edx, [ebp - 0x63c]
push edx
mov eax, dword [ebp - 0x630]
push eax
call dword [ebp - 0x504]
test eax, eax
je 0x40c64d
push 0
push 0x400
mov ecx, dword [ebp - 0x620]
push ecx
mov edx, dword [ebp - 0x624]
push edx
call fcn.00426f90
push 0
push 0x400
push edx
push eax
call fcn.00426f90
mov dword [ebp - 0x50c], eax
push 0
push 0x400
mov eax, dword [ebp - 0x638]
push eax
mov ecx, dword [ebp - 0x63c]
push ecx
call fcn.00426f90
push 0
push 0x400
push edx
push eax
call fcn.00426f90
mov dword [ebp - 0x61c], eax
jmp 0x40c661
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x61c], 0
mov edx, dword [ebp - 0x62c]
mov eax, dword [ebp - 0x630]
mov cl, byte [eax]
mov byte [ebp + edx - 0x400], cl
mov edx, dword [ebp - 0x630]
push edx
call dword [ebp - 0x640]
mov ecx, dword [ebp - 0x62c]
mov byte [ebp + ecx - 0x3ff], al
push 4
lea edx, [ebp - 0x50c]
push edx
mov eax, dword [ebp - 0x62c]
lea ecx, [ebp + eax - 0x3fe]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
lea edx, [ebp - 0x61c]
push edx
mov eax, dword [ebp - 0x62c]
lea ecx, [ebp + eax - 0x3fa]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x7ac]
push edx
lea eax, [ebp - 0x694]
push eax
mov ecx, dword [ebp - 0x62c]
lea edx, [ebp + ecx - 0x3f6]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x7a8]
push eax
lea ecx, [ebp - 0x614]
push ecx
mov edx, dword [ebp - 0x62c]
lea eax, [ebp + edx - 0x400]
mov ecx, dword [ebp - 0x7ac]
lea edx, [eax + ecx + 0xa]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x7a8]
mov ecx, dword [ebp - 0x7ac]
lea edx, [ecx + eax + 0xa]
mov eax, dword [ebp - 0x62c]
add eax, edx
mov dword [ebp - 0x62c], eax
jmp 0x40c4ea
mov ecx, dword [ebp - 0x628]
push ecx
call dword [ebp - 0x508]
mov edx, dword [ebp - 0x62c]
push edx
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [ebp - 0x7b0]
call fcn.00410893
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret