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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
nop
nop
nop
nop
nop
nop
push dword [ebp + 0x10]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
test eax, eax
mov dword [ebp - 4], eax
jne 0x401099
leave
ret
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
and dword [ebp - 0x1c], 0
mov ebx, 0x1000
push ebx
push eax
mov dword [ebp - 8], eax
call fcn.004019f7
mov edi, 0x10000
mov esi, eax
push edi
push dword [ebp - 8]
call fcn.004019f7
push ebx
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call fcn.004019f7
push ebx
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
call fcn.004019f7
add esp, 0x20
mov dword [ebp - 0x18], eax
test esi, esi
je 0x401278
cmp dword [ebp - 0x10], 0
je 0x401278
cmp dword [ebp - 0x14], 0
je 0x401278
test eax, eax
je 0x401278
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push edi
push 0
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push 0
push edi
push dword [ebp - 0xc]
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
push 9
push 0x403330
push edi
push dword [ebp - 0xc]
call fcn.00401716
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
add esp, 0x10
test eax, eax
je 0x40115e
mov ecx, dword [ebp + 0x10]
add eax, ecx
jmp 0x401168
push 0x403374
push dword [ebp + 0x10]
call edi
push dword [ebp - 0xc]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
push str.OpenEventA
push dword [ebp + 0x10]
call edi
push 0x403360
mov dword [esi + 8], eax
push dword [ebp + 0x10]
call edi
push 0x403354
mov dword [esi + 0xc], eax
push dword [ebp + 0x10]
call edi
push str.FreeLibrary
mov dword [esi + 0x10], eax
push dword [ebp + 0x10]
call edi
push str.DeleteFileA
mov dword [esi + 0x14], eax
push dword [ebp + 0x10]
call edi
mov dword [esi + 4], eax
lea eax, [esi + 0x18]
test eax, eax
je 0x4011cf
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [esi + 0x11c]
test eax, eax
je 0x4011e4
push dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [esi + 0x220]
push str.68483277
push eax
call sub.MSVCRT.dll_strcpy
mov edi, fcn.00401074
mov eax, section..text
sub edi, eax
push edi
push dword [ebp - 0x10]
push eax
push dword [ebp - 8]
call fcn.0040175a
add esp, 0x18
test eax, eax
je 0x40125f
push 0x230
push esi
push dword [ebp - 0x14]
push dword [ebp - 4]
call fcn.00401773
add esp, 0x10
test eax, eax
je 0x40125f
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.00401773
add esp, 0x10
test eax, eax
je 0x40125f
xor eax, eax
push eax
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x400
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push dword [ebp - 8]
call fcn.00401a0f
push ebx
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.00401a0f
add esp, 0x18
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret