Function at 0x11196200
Capabilities:
Allocate or change rwx memory
Check os version
Create process on windows
Execute shellcode via indirect call
Get common file path
Resume thread
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10a0
call fcn.111d92c0
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x44
lea eax, [ebp - 0x10a0]
push 0
push eax
call sub.MSVCR100.dll_memset
push 0x114
lea ecx, [ebp - 0x938]
push 0
push ecx
mov dword [ebp - 0x10a0], 0x44
call sub.MSVCR100.dll_memset
add esp, 0x18
lea edx, [ebp - 0x938]
push edx
mov dword [ebp - 0x938], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x934], 6
jb 0x111963f7
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
jmp 0x11196290
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x11196290
mov ecx, 6
mov esi, str.NSelfDel.exe
rep movsd dword es:[edi], dword [esi]
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x414]
push 0x5c
push edx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x111963e5
cmp dword [ebp + 8], 0
je 0x111962ff
mov ecx, 0x1120ae5c
lea edx, [eax + 2]
sub edx, ecx
jmp 0x111962f0
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x111962f0
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 2
push 0
push 5
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x111963e5
push ebx
push 0
lea ecx, [ebp - 0x1058]
push ecx
push 0x4d0
push 0x11238bc0
push esi
mov dword [ebp - 0x1058], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
push 0
push 0x4000000
push 3
push 0
push 5
push closesocket
lea edx, [ebp - 0x20c]
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x111963e4
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x824]
push str.__s___d__s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x1054]
push eax
lea ecx, [ebp - 0x10a0]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
lea edx, [ebp - 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x111963e1
mov eax, dword [ebp - 0x1054]
push eax
call ebx
mov ecx, dword [ebp - 0x1050]
push ecx
call ebx
push esi
call ebx
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1054]
push edx
lea eax, [ebp - 0x10a0]
push eax
push 0
push 0
push 0x44
push 0
push 0
push 0
push str.explorer.exe
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x111963e5
mov edx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xe34], edx
mov edx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0xe30], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
mov dword [ebp - 0xe3c], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0xe28], edx
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0
mov dword [ebp - 0xe24], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xe2c], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xe1c], edx
push 0
lea edx, [ebp - 0xe40]
mov dword [ebp - 0xe18], eax
mov eax, dword [ebp - 0x1054]
mov dword [ebp - 0xe20], ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
mov dword [ebp - 0xe38], edi
mov dword [ebp - 0xe14], ecx
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0x104
lea ecx, [ebp - 0xe0c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0xe0c]
push 0x5c
push edx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x11196509
push 0x12e
push str.selfdelete.cpp
push str.pSlash
call fcn.11067750
add esp, 0xc
jmp 0x1119653f
mov ecx, eax
lea edx, [ebp - 0xe0c]
sub ecx, edx
sar ecx, 1
cmp dword [ebp + 8], 0
mov dword [ebp - 0xe10], ecx
je 0x1119653f
mov ecx, 0x1120ae5c
lea edx, [eax + 2]
sub edx, ecx
jmp 0x11196530
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x11196530
mov esi, 0x111961f0
sub esi, 0x111960c0
cmp esi, 0x200
jbe 0x11196569
push 0x13d
push str.selfdelete.cpp
push str.iCodeSize___sizeof_local.opCodes_
call fcn.11067750
add esp, 0xc
push esi
lea eax, [ebp - 0x1040]
push 0x111960c0
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0x1050]
add esp, 0xc
lea ecx, [ebp - 0xc04]
push ecx
push edx
mov dword [ebp - 0xc04], 0x10003
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov esi, dword [ebp - 0xb40]
lea edx, [ebp - 0x105c]
push edx
add esi, 0xfffffbc0
and esi, 0xffffffe0
push 0x40
lea eax, [esi - 4]
push 0x440
mov dword [ebp - 0xb40], eax
mov eax, dword [ebp - 0x1054]
push esi
lea ecx, [esi + 4]
push eax
mov dword [ebp - 0x1044], esi
mov dword [ebp - 0xb4c], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edx, dword [ebp - 0x1054]
push 0
push 0x440
lea ecx, [ebp - 0x1044]
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 0x1054]
push 0x440
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [ebp - 0x1050]
lea ecx, [ebp - 0xc04]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov eax, dword [ebp - 0x1050]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x1050]
push ecx
call edi
mov edx, dword [ebp - 0x1054]
push edx
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret