Function at 0x70001000
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4cc
push ebx
push esi
push edi
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x118], 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [ebp - 0x21c]
lea edx, [ebp - 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
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, [ebp - 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov edx, dword [0x70003120]
mov dword [ebp + ecx - 0x117], edx
push 8
push 0
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x220], eax
push str.USER32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x700010b9
push str.MessageBoxA
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x700010d3
push 0x30040
push 0x700030f0
push str._Patched_by_Mohammad_Heskol._Compiled_using_RemoteSoft_Lionker_________________________________________________________________________________________________________________________Copyright
push 0
nop
nop
nop
cmp dword [ebp - 0x220], 0
jne 0x700010fe
cmp dword [ebp - 8], 0
je 0x700010f6
push 0x30010
push str.Fatal_Error
push str.Image_cant_be_loaded.
push 0
call dword [ebp - 8]
or eax, 0xffffffff
jmp 0x700012f7
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
jne 0x70001120
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x3c], 0
jg 0x7000112f
mov dword [ebp - 0x224], 0xb
jmp 0x700012e4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x220]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x430], ecx
mov edx, dword [ebp - 0x430]
cmp dword [edx], 0x4550
jne 0x70001176
mov eax, dword [ebp - 0x430]
xor ecx, ecx
mov cx, word [eax + 0x14]
cmp ecx, 0xe0
jne 0x70001176
mov edx, dword [ebp - 0x430]
xor eax, eax
mov ax, word [edx + 0x18]
cmp eax, 0x10b
je 0x70001185
mov dword [ebp - 0x224], 0xbf
jmp 0x700012e4
mov ecx, dword [ebp - 0x430]
mov edx, dword [ebp - 0x220]
add edx, dword [ecx + 0xe8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x700011af
mov dword [ebp - 0x224], 0xc0
jmp 0x700012e4
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax + 0x34]
cmp ecx, dword [ebp - 0x220]
je 0x7000128b
mov dword [ebp - 0x4c8], 0x94
lea edx, [ebp - 0x4c8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [ebp - 0x4b8], 1
sete al
mov dword [ebp - 0x4cc], eax
cmp dword [ebp - 0x4cc], 0
jne 0x7000122c
mov ecx, dword [ebp - 0x430]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call sub.rsdeploy.dll_Reloc
test eax, eax
je 0x7000122c
cmp dword [ebp - 8], 0
je 0x70001227
push 0x30010
push str.Fatal_Error
push str.Image_cant_be_relocated.
push 0
call dword [ebp - 8]
jmp 0x700012e4
lea eax, [ebp - 0x434]
push eax
push 4
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x430]
add ecx, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x70001253
jmp 0x700012e4
mov edx, dword [ebp - 0x430]
mov eax, dword [ebp - 0x220]
mov dword [edx + 0x34], eax
lea ecx, [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x434]
push edx
push pe_nt_image_headers32
mov eax, dword [ebp - 0x430]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x7000128b
jmp 0x700012e4
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x220]
push eax
call sub.rsdeploy.dll_Initialize
mov ecx, dword [ebp - 0x220]
push ecx
call sub.rsdeploy.dll_ResolveImportDLL
mov edx, dword [ebp - 0x430]
mov eax, dword [ebp - 0x220]
add eax, dword [edx + 0x28]
mov dword [ebp - 0x118], eax
jmp dword [ebp - 0x118]
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x224]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret