Function at 0x40c6e8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4150e8]
mov dword [ebp - 0x10], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
add eax, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x18]
xor eax, dword [ecx]
cmp eax, 0x46534252
jne 0x40c74d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
cmp dword [eax + 0x14], ecx
je 0x40c74d
mov dword [0x4150e0], 0x40c608
jmp 0x40c764
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
xor dword [0x4150e0], eax
mov eax, dword [0x4150e8]
add dword [0x4150e0], eax
call fcn.0040c3a7
mov dword [ebp - 0x14], 0
jmp 0x40c778
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x2bc
jge 0x40c7ce
mov eax, dword [ebp - 0x14]
shl eax, 2
mov dword [eax + eax*4 + 0x415558], 0xffffffff
mov eax, dword [ebp - 0x14]
shl eax, 2
mov dword [eax + eax*4 + 0x41555c], 0
mov eax, dword [ebp - 0x14]
shl eax, 2
mov dword [eax + eax*4 + 0x415560], 0
mov eax, dword [ebp - 0x14]
shl eax, 2
mov dword [eax + eax*4 + 0x415564], 0
jmp 0x40c775
mov dword [ebp - 0x14], 0
push 0x423070
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0xc], eax
push 0x423080
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415510], eax
push 0x42308c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415514], eax
push 0x423098
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415518], eax
push 0x4230a4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x41551c], eax
push 0x4230b0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415520], eax
push 0x4230c0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415524], eax
push 0x4230cc
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415530], eax
push 0x4230d4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415534], eax
push 0x4230dc
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415538], eax
push 0x4230e4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x41553c], eax
push 0x4230ec
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415540], eax
push 0x4230f4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415544], eax
push 0x423100
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415528], eax
push 0x42310c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x41552c], eax
push 0x423118
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x415548], eax
push 0x423124
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x41554c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
xor dword [0x415104], eax
mov eax, dword [0x415104]
mov dword [0x415408], eax
cmp dword [0x415110], 0
je 0x40c951
mov eax, dword [0x415114]
xor dword [0x415408], eax
cmp dword [0x4150ec], 0
je 0x40c96a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
xor dword [0x4150f8], eax
push 0x415410
push 0x415308
push 0x415408
call fcn.0040c090
add esp, 0xc
jmp 0x40c986
pop edi
pop esi
pop ebx
leave
ret