Function at 0x4011c0
Capabilities:
Acquire debug privileges
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1234
call fcn.0040c320
mov eax, dword [0x413004]
xor eax, esp
mov dword [esp + 0x1230], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40125c
lea eax, [esp + 0x18]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x401256
mov eax, dword [esp + 0x18]
push 0
push 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
push 0x10
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
push eax
push 0
push dword [esp + 0x28]
mov dword [esp + 0x38], 1
mov dword [esp + 0x44], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x401256
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x14]
call ebx
lea eax, [esp + 0x14]
push eax
push 0x1000
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x4012b6
push 0x10
push str.Error
push str.Failed_to_enumerate_processes_
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x10
push str.Error
push str.Internet_Explorer_is_not_running_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1230]
xor ecx, esp
call fcn.0040140c
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
xor edi, edi
shr eax, 2
mov dword [esp + 0xc], eax
test eax, eax
je 0x401288
nop word [eax + eax]
mov esi, dword [esp + edi*4 + 0x30]
test esi, esi
je 0x401393
mov eax, dword [0x411d38]
movups xmm0, xmmword [str._unknown_]
push 0x1f4
mov dword [esp + 0x1044], eax
lea eax, [esp + 0x1048]
push 0
push eax
movups xmmword [esp + 0x103c], xmm0
call fcn.00402130
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401354
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x401351
push 0x104
lea eax, [esp + 0x1034]
push eax
push dword [esp + 0x18]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
push esi
call ebx
mov ecx, str.PEview.exe
lea eax, [esp + 0x1030]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401386
test dx, dx
je 0x401382
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401386
add eax, 4
add ecx, 4
test dx, dx
jne 0x401360
xor eax, eax
jmp 0x40138b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4013a1
mov eax, dword [esp + 0xc]
inc edi
cmp edi, eax
jb 0x4012d0
jmp 0x401288
mov ecx, dword [esp + edi*4 + 0x30]
test ecx, ecx
je 0x401288
call fcn.00401000
test eax, eax
je 0x4013e1
push 0x40
push str.Success
push str.DLL_injection_successful_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1230]
xor ecx, esp
call fcn.0040140c
mov esp, ebp
pop ebp
ret
push 0x10
push str.Error
push str.DLL_injection_failed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x123c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040140c
mov esp, ebp
pop ebp
ret