Function at 0x40c93f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov dword [ebp - 0x28c], ecx
push 0x401f88
push 0x401f94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x401fa4
push 0x401fb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 0x401fc0
push 0x401fd0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x130], eax
push 0x401fe0
push 0x401fec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x401ffc
push 0x40200c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x40201c
push 0x40202c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x278], eax
push 0x40203c
push 0x402048
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x28c]
mov dword [eax + 0x1c], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0x2800
mov ecx, dword [ebp - 0x27c]
push ecx
push 0x40
call dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x25
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x5c
mov byte [ebp - 0x11], 0x2a
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x2a
mov byte [ebp - 0xe], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x128]
push ecx
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x128]
push eax
call dword [ebp - 0x278]
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0xffffffff
jne 0x40cad2
mov byte [ebp - 0x288], 0x68
push 1
lea ecx, [ebp - 0x288]
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.00410893
jmp 0x40cc58
mov edx, dword [ebp - 0x18]
mov byte [edx], 0x68
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x27c]
sub eax, 0x208
cmp dword [ebp - 0x24], eax
jbe 0x40cb17
mov ecx, dword [ebp - 0x27c]
add ecx, 0x208
mov dword [ebp - 0x27c], ecx
push 0x42
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [ebp - 0x130]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x1c], ecx
push 0x402058
mov edx, dword [ebp - 0x1c]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x40cb4a
push 0x40205c
mov eax, dword [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x40cb4f
jmp 0x40cc0f
mov ecx, dword [ebp - 0x270]
and ecx, 0x10
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x24]
mov byte [edx], cl
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 0x274]
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x24]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x280]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
mov byte [eax], 0
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
push 4
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx + 4]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
add edx, 8
mov dword [ebp - 0x24], edx
push 8
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x24]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
add edx, 8
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [ebp - 0x284]
push ecx
call dword [ebp - 8]
test eax, eax
jne 0x40cadf
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.00410893
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [ebp - 0x20]
mov edx, dword [ebp - 0x284]
push edx
call dword [ebp - 0xc]
mov eax, dword [ebp - 0x12c]
mov esp, ebp
pop ebp
ret 4