Function at 0x409e73
Capabilities:
Copy file
Create thread
Delete file
Get common file path
Link many functions at runtime
Set file attributes

Disassembly:
push ebp
sub esp, 0x308
lea ebp, [esp - 4]
mov eax, dword [0x452724]
xor eax, ebp
mov dword [ebp + 0x308], eax
push 0x38
mov eax, 0x42d756
call fcn.00415554
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov esi, dword [ebp + 0x314]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x318]
mov dword [ebp - 0x38], eax
or dword [ebp - 0x24], 0xffffffff
and dword [ebp - 0x30], 0
and dword [ebp - 0x1c], 0
mov byte [ebp - 0x11], 0
cmp byte [ebp + 0x324], 0
je 0x409ede
push esi
call fcn.00409910
test eax, eax
jl 0x409ede
push 0x1d4c0
push eax
mov ecx, ebx
call fcn.00409c10
xor edi, edi
inc edi
push edi
lea eax, [ebx + 0x18bc]
push eax
lea ecx, [ebp - 0x44]
call fcn.00409a37
and dword [ebp - 4], 0
and dword [ebp - 0x18], 0
lea eax, [ebx + 0x38]
cmp byte [eax], 0
je 0x409f11
inc dword [ebp - 0x18]
add eax, 0x13c
cmp dword [ebp - 0x18], 0x14
jl 0x409efc
jmp 0x409f23
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x13c
mov byte [eax + ebx + 0x38], 1
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], vtable.CriticalSectionLock.0
lea ecx, [ebp - 0x44]
call fcn.004098e8
cmp byte [ebp - 0x11], 0
je 0x40a23e
mov dword [ebp - 4], edi
push 0x5c
push esi
call fcn.0041352b
pop ecx
pop ecx
test eax, eax
lea eax, [ebp + 0x204]
jge 0x409f83
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str._f0h1v
lea eax, [ebp + 0x204]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call edi
push esi
lea eax, [ebp + 0x204]
push eax
call edi
jmp 0x409f8b
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x204]
push eax
push dword [ebp - 0x18]
push str.CModule::StartModule_Loading:__ld__s
call fcn.004140dd
push 0x5c
lea eax, [ebp + 0x204]
push eax
call fcn.0041352b
add esp, 0x14
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x20], 0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
cmp dword [ebp - 0x20], 0x64
jge 0x40a06b
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x13c
lea esi, [eax + ebx]
lea ebx, [esi + 0x39]
push dword [ebp - 0x2c]
lea eax, [ebp + 0x204]
push eax
push ebx
call fcn.00417920
push dword [ebp - 0x20]
push 0x430844
mov eax, dword [ebp - 0x2c]
lea eax, [esi + eax + 0x39]
push eax
call edi
push ebx
push str._s.lck
lea eax, [ebp + 0x100]
push eax
call edi
add esp, 0x24
push str..ntr
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor eax, eax
push eax
mov esi, 0x122
push esi
push 2
push eax
push eax
push 0x40000000
lea eax, [ebp + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x40a166
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push ebx
lea eax, [ebp + 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40a14c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebx, dword [ebp - 0x28]
mov al, 1
test al, al
je 0x40a204
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x13c
lea esi, [eax + ebx]
lea eax, [esi + 0x39]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x20], eax
test eax, eax
je 0x40a1f1
push str.Start
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x40a1e3
push str.Stop
push dword [esi + 0x20]
call edi
mov dword [esi + 0x28], eax
test eax, eax
je 0x40a1e3
push str.Data
push dword [esi + 0x20]
call edi
mov dword [esi + 0x2c], eax
push str.DataExt
push dword [esi + 0x20]
call edi
mov dword [esi + 0x30], eax
test eax, eax
je 0x40a0ed
push str.CModule::StartModule:_Module_accepts_extended_data
call fcn.004140dd
pop ecx
lea eax, [esi + 0xc]
push 0
push dword [ebp - 0x34]
push eax
call fcn.004135cd
lea eax, [esi + 0x10]
push 0
push dword [ebp - 0x38]
push eax
call fcn.004135cd
add esp, 0x18
mov eax, dword [ebp + 0x31c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x320]
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x18], eax
test byte [ebp + 0x31c], 2
je 0x40a171
push str.Event
push dword [esi + 0x20]
call edi
mov dword [esi + 0x34], eax
mov edi, dword [ebp - 0x18]
test eax, eax
je 0x40a174
mov dword [ebx + 0x18b4], edi
jmp 0x40a174
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x1c], 0
lea eax, [ebp + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
jmp 0x409fbd
mov edi, dword [ebp - 0x18]
test byte [ebp + 0x31c], 4
je 0x40a1a1
mov dword [ebx + 0x18b8], edi
lea eax, [ebp - 0x30]
push eax
xor eax, eax
push eax
push ebx
push fcn.00409d88
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x40a204
jmp 0x40a1de
test byte [ebp + 0x31c], 1
je 0x40a1b8
mov dword [ebx + 0x18b8], edi
push ebx
call fcn.00409d88
jmp 0x40a1de
push dword [esi + 0xc]
push edi
push str.CModule::StartModule_Start:__ld__s
call fcn.004140dd
add esp, 0xc
cmp dword [esi + 0x24], 0
je 0x40a1de
push dword [esi + 0x1c]
push dword [esi + 0x10]
call fcn.0041282f
push eax
call dword [esi + 0x24]
mov dword [ebp - 0x24], edi
jmp 0x40a204
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CModule::StartModule_GetProcAddress_Error___ld_
jmp 0x40a1fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CModule::StartModule_LoadLibrary_Error___ld_
call fcn.004140dd
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x40a249
push str.CModule::StartModule_no_empty_position_found
call fcn.004140dd
pop ecx
cmp dword [ebp - 0x1c], 0
je 0x40a265
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x308]
xor ecx, ebp
call fcn.00414b1e
add ebp, 0x30c
leave
ret 0x18