Function at 0x418db4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471cc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ecx
add ecx, 4
call fcn.0040aec4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0xa8
call fcn.0040b8bc
mov ecx, dword [ebp - 0x20]
add ecx, 0xdb88
lea eax, [ebp - 0x12c]
push eax
call fcn.0041b248
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xdb94
lea eax, [ebp - 0x128]
push eax
call fcn.0041b248
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0xdbd4
call fcn.004491a8
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xdbec
call fcn.0040b8bc
mov ecx, dword [ebp - 0x20]
add ecx, 0xe060
call fcn.0040b8bc
mov ecx, dword [ebp - 0x20]
add ecx, 0xe088
call fcn.0040b8bc
mov ecx, dword [ebp - 0x20]
add ecx, 0xe0bc
call fcn.004491a8
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ecx + 0xdbb4], eax
mov dword [ecx + 0xdbb8], eax
mov dword [ecx + 0xdbbc], eax
mov dword [ecx + 0xdbc0], eax
mov dword [ecx + 0xe054], eax
mov dword [ecx + 0xe058], eax
mov dword [ecx + 0xe070], eax
mov dword [ecx + 0xe074], eax
mov byte [0x481f08], al
mov dword [ecx + 0xdbcc], eax
mov dword [ecx + 0xdbc8], eax
mov dword [ecx + 0xdbd0], eax
mov dword [ecx], eax
mov dword [ecx + 0xe084], eax
mov dword [ecx + 0xe078], eax
mov dword [ecx + 0xe07c], eax
mov dword [ecx + 0xdbc4], eax
mov dword [ecx + 0xe080], eax
add ecx, 0xdb94
call fcn.0041b3e8
mov ecx, dword [ebp - 0x20]
add ecx, 0xdb88
call fcn.00419100
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [edx + 0xdba0], eax
mov dword [edx + 0xdba4], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov dword [edx + 0xdba8], eax
lea eax, [ebp - 0x124]
mov dword [edx + 0xe0b8], ecx
mov dword [edx + 0x6c], ecx
mov dword [edx + 0x70], ecx
mov dword [edx + 0xa0], ecx
mov dword [edx + 0xe0dc], ecx
mov dword [edx + 0xe0fc], ecx
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x418fae
lea eax, [ebp - 0x124]
push 0x5c
push eax
call fcn.00463550
add esp, 8
test eax, eax
jne 0x418f8c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [eax], 0
lea edi, [ebp - 0x124]
mov edx, 0x49ac00
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x418fa4
mov edx, dword [ebp - 0x20]
xor eax, eax
lea ecx, [ebp - 0x124]
mov dword [edx + 0xe104], eax
mov dword [edx + 0xe10c], eax
mov dword [edx + 0xe108], eax
mov dword [edx + 0xe100], eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x20]
test eax, eax
mov dword [edx + 0xe0fc], eax
je 0x419048
push 0x49ac10
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xe104], eax
push 0x49ac1c
push dword [edx + 0xe0fc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xe10c], eax
push 0x49ac30
push dword [edx + 0xe0fc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xe108], eax
push 0x49ac48
push dword [edx + 0xe0fc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xe100], eax
mov dword [edx + 0xe0e8], 0
mov byte [0x481ef0], 1
push 0x4977bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xe114], eax
push 0x49ac54
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov edi, dword [ebp - 0x1c]
mov dword [ecx + 0xe110], eax
mov eax, ecx
mov esi, dword [ebp - 0x18]
mov dword [ecx + 0xe118], edx
mov ebx, dword [ebp - 0x14]
mov dword [ecx + 0xe11c], edx
mov dword [ecx + 0xe120], edx
mov dword [ecx + 0xe12c], edx
mov dword [ecx + 0xe1d0], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret