Function at 0x491000
Capabilities:
Create thread
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4915c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push 0x2710
mov dword [0x4cd240], 1
call ebx
lea eax, [ebp - 0x14]
push 0x4ad684
push eax
call section..s388xe
add esp, 8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x49106e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x49111c
lea eax, [ebp - 0x18]
push 0x4ad6a0
push eax
call section..s388xe
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 8
push dword [eax]
push esi
call edi
mov edx, dword [ebp - 0x18]
mov dword [0x4cd280], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4910b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
push 0x4ad6bc
push eax
call section..s388xe
add esp, 8
push dword [eax]
push esi
call edi
mov edx, dword [ebp - 0x1c]
mov dword [0x4cd284], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4910e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4ad6dc
push esi
call edi
push 0x4ad6f0
push esi
mov dword [0x4cd264], eax
call edi
push 0x4ad700
push esi
mov dword [0x4cd268], eax
call edi
push 0x4ad710
push esi
mov dword [0x4cd26c], eax
call edi
mov dword [0x4cd278], eax
call fcn.0048e190
call fcn.00403fe0
lea eax, [ebp - 0x10]
push 0x4ad418
push eax
call section..s388xe
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
cmp dword [eax - 4], 1
jle 0x491155
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00408c30
mov eax, dword [ebp - 0x10]
push eax
call fcn.004046d0
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.00452e6f
add esp, 0xc
test eax, eax
js 0x49124f
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x49124f
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
push 0x104
push 0
mov byte [eax + ecx], 0
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x20], 0
call fcn.0044ebb0
add esp, 0xc
lea eax, [ebp - 0x128]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4911d6
push 0
push 0x10
push 0
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00456ce1
add esp, 0x14
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
xor esi, esi
mov dword [ebp - 0x24], 0
cmp dword [0x4cd24c], 0
jne 0x491217
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x48cb20
push 0
push 0
call edi
mov dword [0x4cd24c], eax
test eax, eax
jne 0x491217
push 0xbb8
call ebx
inc esi
cmp esi, 3
jl 0x4911e5
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
pop edi
pop esi
pop ebx
test eax, eax
jg 0x49123c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, 1
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00408b40
int3