Function at 0x404200
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x405cb2
mov eax, dword fs:[0]
push eax
sub esp, 0xf58
mov eax, dword [0x408018]
xor eax, esp
mov dword [esp + 0xf50], eax
push ebx
push esi
push edi
mov eax, dword [0x408018]
xor eax, esp
push eax
lea eax, [esp + 0xf68]
mov dword fs:[0], eax
push 0x2c8
xor ebx, ebx
lea eax, [esp + 0x16c]
push ebx
push eax
mov esi, ecx
mov edi, edx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esp + 0x164], 0x1003f
cmp dword [0x408774], ebx
jne 0x404281
push esi
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x408774], eax
push edi
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp dword [0x408770], ebx
jne 0x4042b7
mov ecx, dword [0x408774]
push 0x40
push 0x3000
push 0x1000
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x408770], eax
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.GetModuleHandleA
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x14]
push 0x406558
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
cmp edi, ebx
je 0x404948
cmp eax, ebx
je 0x404948
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [esp + 0x164]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [0x408770]
lea edx, [eax + 0x80f]
mov dword [0x40833d], edx
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [eax + 0x800]
mov dword [str.DDDD], edx
lea edx, [eax + 0x83f]
push 0x52
mov dword [0x408331], ecx
mov dword [0x40834a], edx
lea edx, [eax + 0x400]
mov dword [0x408358], ecx
lea ecx, [eax + 0x85c]
push 0x408330
push eax
mov dword [0x408376], eax
mov eax, dword [0x408774]
mov dword [0x40834f], edx
mov edx, dword [esp + 0x22c]
mov dword [0x408364], ecx
mov ecx, dword [esp + 0x24]
mov dword [str.____], edi
mov dword [0x40835d], edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
mov dword [0x40836a], ecx
mov dword [0x40837d], edx
call edi
mov ecx, dword [0x408770]
mov edx, dword [0x408774]
push ebx
push 0x7c
push str.KernelUtil.dll
add ecx, 0x800
push ecx
push edx
call edi
mov eax, dword [0x408770]
lea ecx, [esp + 0x164]
push ecx
push esi
mov dword [esp + 0x224], eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x102
lea eax, [esp + 0x95a]
xor edx, edx
push ebx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x960], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x3fe
lea edx, [esp + 0xb62]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0xb68], cx
call sub.MSVCR100.dll_memset
mov ecx, dword [0x408770]
mov edx, dword [0x408774]
add esp, 0xc
push ebx
push 4
lea eax, [esp + 0x20]
push eax
add ecx, 0x400
push ecx
push edx
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call esi
mov ecx, dword [esp + 0x18]
mov edx, dword [0x408774]
push ebx
push 0x80
lea eax, [esp + 0x95c]
push eax
push ecx
push edx
call esi
mov ecx, dword [0x408770]
mov edx, dword [0x408774]
push ebx
push 4
lea eax, [esp + 0x24]
push eax
push ecx
push edx
call esi
push 1
lea eax, [esp + 0x958]
push eax
mov ecx, eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push str.Hello_QQ:
lea edx, [esp + 0xb60]
push 0x200
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
mov eax, dword [esp + 0x28]
add esp, 0xc
push ebx
push eax
lea esi, [esp + 0x40]
call fcn.00403f10
mov edi, 8
add esp, 8
cmp dword [eax + 0x14], edi
jb 0x4044d6
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCR100.dll_wcscat_s]
push eax
lea ecx, [esp + 0xb60]
push 0x200
push ecx
call esi
add esp, 0xc
cmp dword [esp + 0x4c], edi
jb 0x404503
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push str._Key:
lea eax, [esp + 0xb60]
push 0x200
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x954]
push ecx
lea edx, [esp + 0xb60]
push 0x200
push edx
call esi
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [esp + 0xb70]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
push edi
call fcn.00404ecd
add esp, 4
push ebx
push ebx
push edi
mov esi, eax
push esi
push 0xffffffffffffffff
lea ecx, [esp + 0xb70]
push ecx
push ebx
push ebx
mov dword [esp + 0x40], esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
push 0xff
lea edx, [esp + 0xa61]
push ebx
push edx
mov dword [esp + 0x20], 0x82dc9d3
mov byte [esp + 0x908], bl
mov dword [esp + 0x909], eax
mov dword [esp + 0x90d], eax
mov word [esp + 0x911], ax
mov byte [esp + 0x913], al
mov byte [esp + 0x44], bl
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov byte [esp + 0x59], al
mov byte [esp + 0x924], bl
mov dword [esp + 0x925], eax
mov dword [esp + 0x929], eax
mov dword [esp + 0x92d], eax
mov word [esp + 0x931], ax
mov byte [esp + 0x933], al
mov byte [esp + 0xa68], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov byte [esp + 0x908], bl
mov dword [esp + 0x909], eax
mov dword [esp + 0x90d], eax
mov dword [esp + 0x911], eax
mov byte [esp + 0x928], bl
mov dword [esp + 0x929], eax
mov dword [esp + 0x92d], eax
mov dword [esp + 0x931], eax
mov dword [esp + 0x935], eax
mov dword [esp + 0x939], eax
mov word [esp + 0x93d], ax
mov byte [esp + 0x940], bl
mov dword [esp + 0x941], eax
mov dword [esp + 0x945], eax
lea ebx, [esp + 0x14]
lea ecx, [esp + 0x54]
mov dword [esp + 0x949], eax
mov dword [esp + 0x94d], eax
call fcn.004010b0
lea eax, [esp + 0x8fc]
push eax
mov ecx, 0xc
mov edx, 0x4081f4
lea eax, [esp + 0x58]
call section..text
mov ecx, eax
call fcn.004010b0
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x16
mov edx, 0x408308
lea eax, [esp + 0x58]
call section..text
mov ecx, eax
call fcn.004010b0
lea edx, [esp + 0x918]
push edx
mov ecx, 0x10
mov edx, 0x408320
lea eax, [esp + 0x58]
call section..text
mov ecx, eax
call fcn.004010b0
lea eax, [esp + 0xa5c]
push eax
mov ecx, 0x100
mov edx, 0x408206
lea eax, [esp + 0x58]
call section..text
mov ecx, dword [esp + 0x8fc]
mov eax, dword [esp + 0x904]
mov edx, dword [esp + 0x900]
mov dword [esp + 0x908], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x928], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x910], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x90c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x934], ecx
mov ecx, dword [esp + 0x918]
mov dword [esp + 0x930], eax
mov ax, word [esp + 0x4c]
mov dword [esp + 0x92c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x940], ecx
mov ecx, dword [esp + 0x924]
mov word [esp + 0x93c], ax
mov eax, dword [esp + 0x920]
mov dword [esp + 0x938], edx
mov edx, dword [esp + 0x91c]
mov dword [esp + 0x94c], ecx
sub esp, 0x1c
mov dword [esp + 0x964], eax
mov ecx, esp
mov dword [esp + 0x960], edx
xor ebx, ebx
mov eax, esi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
mov dword [esp + 0x30], esp
mov byte [ecx], bl
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4047c3
sub eax, edi
mov edi, eax
mov eax, esi
mov esi, ecx
call fcn.00403b10
sub esp, 0x1c
mov dword [esp + 0xfa8], ebx
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov edi, 5
mov eax, str.Hello
mov dword [esp + 0x6c], esp
mov byte [esi], bl
call fcn.00403b10
sub esp, 0x1c
mov byte [esp + 0xfc4], 1
mov esi, esp
lea eax, [esp + 0xab0]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0x80], esp
mov byte [esi], bl
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404830
sub eax, edi
mov edi, eax
lea eax, [esp + 0xab0]
call fcn.00403b10
sub esp, 0x1c
mov byte [esp + 0xfe0], 2
mov esi, esp
lea eax, [esp + 0x9b0]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0x94], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404871
sub eax, edi
mov edi, eax
lea eax, [esp + 0x9b0]
call fcn.00403b10
sub esp, 0x1c
mov byte [esp + 0xffc], 3
mov esi, esp
lea eax, [esp + 0x9b4]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0xbc], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4048b2
sub eax, edi
mov edi, eax
lea eax, [esp + 0x9b4]
call fcn.00403b10
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x1018], 4
lea eax, [esp + 0x9b0]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0xd0], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4048f3
sub eax, edi
mov edi, eax
lea eax, [esp + 0x9b0]
call fcn.00403b10
lea esi, [esp + 0x4dc]
mov dword [esp + 0x1018], 0xffffffff
call fcn.00401500
mov eax, esi
mov dword [esp + 0xf70], 5
call fcn.004026b0
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, esi
call fcn.004013d0
xor eax, eax
mov ecx, dword [esp + 0xf68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf50]
xor ecx, esp
call fcn.00404eea
mov esp, ebp
pop ebp
ret