Function at 0x10004d20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x10023cc6
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x100385e0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100385e0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10004d77
push eax
push str.Error
push str.Cant_get_module_handle
jmp 0x1000505f
mov ecx, 0x5a4d
mov dword [0x1003b804], eax
cmp word [eax], cx
je 0x10004d97
push 0
push str.Error
push str.exe_DOS_signature_error
jmp 0x1000505f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
je 0x10004db5
push 0
push str.Error
push str.exe_PE_signature_error
jmp 0x1000505f
movzx edx, word [ecx + 0x14]
mov ebp, dword [ecx + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [edx + ecx + 0x18]
mov dword [0x1003b808], edx
mov edx, dword [ecx + 0x80]
add edx, eax
add ebp, eax
lea eax, [esp + 0x18]
push eax
push 0x40
push 5
push ebp
mov dword [0x1003b7e0], edx
call ebx
mov ecx, dword [ebp]
mov dl, byte [ebp + 4]
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x90], dl
mov eax, dword [esp + 0x8d]
mov dword [esp + 0x95], 0
cmp eax, dword [esp + 0x95]
jne 0x10004f63
mov eax, 0x10028804
lea edi, [esp + 0x1c]
call fcn.10003f60
mov eax, str.kernel32.dll
lea edi, [esp + 0x38]
mov dword [esp + 0xa8], 0
call fcn.10003f60
lea ecx, [esp + 0x1c]
mov eax, edi
mov byte [esp + 0xa8], 1
call fcn.100054f0
test eax, eax
mov esi, edi
sete byte [esp + 0x17]
call fcn.10002bb0
lea esi, [esp + 0x1c]
mov dword [esp + 0xa8], 0xffffffff
call fcn.10002bb0
cmp byte [esp + 0x17], 0
je 0x10004e92
push 0
push str.error
push str.fail_to_hook_IsDebuggerPresent
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x10028850
lea edi, [esp + 0x38]
call fcn.10003f60
mov eax, str.kernel32.dll
lea edi, [esp + 0x1c]
mov dword [esp + 0xa8], 2
call fcn.10003f60
mov ecx, edi
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 3
call fcn.10005580
test eax, eax
mov esi, edi
sete byte [esp + 0x17]
call fcn.10002bb0
lea esi, [esp + 0x38]
mov dword [esp + 0xa8], 0xffffffff
call fcn.10002bb0
cmp byte [esp + 0x17], 0
je 0x10004f63
mov eax, 0x10028850
lea edi, [esp + 0x54]
call fcn.10003f60
mov eax, str.kernel32.dll
lea edi, [esp + 0x70]
mov dword [esp + 0xa8], 4
call fcn.10003f60
mov edx, edi
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xac], 5
call fcn.10005780
test eax, eax
mov esi, edi
sete byte [esp + 0x17]
call fcn.10002bb0
lea esi, [esp + 0x54]
call fcn.10002bb0
cmp byte [esp + 0x17], 0
je 0x10004f63
push 0
push str.error
push str.fail_to_hook_GetTickCount
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp + 1]
mov cl, byte [ebp + 5]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], cl
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x8c]
cmp cl, 0x50
jb 0x10005067
cmp cl, 0x57
ja 0x10005067
inc eax
cmp eax, 5
jb 0x10004f80
lea edi, [ebp + 0x1351]
mov eax, edi
mov edx, dword [eax]
cmp edx, dword [0x100394d8]
jne 0x10004ffc
mov cl, byte [0x100394dc]
cmp cl, byte [eax + 4]
jne 0x10004ffc
mov dl, byte [0x100394dd]
cmp dl, byte [eax + 5]
jne 0x10004ffc
lea eax, [esp + 0x18]
push eax
push 0x40
push 6
mov esi, edi
push esi
call ebx
mov eax, 0x10004b60
sub eax, esi
mov byte [esi], 0xe8
sub eax, 5
mov dword [esi + 1], eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esi + 5], 0x90
mov edx, dword [esp + 0x1c]
push edx
push 6
push edi
call ebx
mov al, 1
jmp 0x10005069
mov ecx, dword [eax]
cmp ecx, dword [0x100394ec]
jne 0x10005053
mov dl, byte [0x100394f0]
add eax, 4
cmp dl, byte [eax]
jne 0x10005053
mov cl, byte [0x100394f1]
cmp cl, byte [eax + 1]
jne 0x10005053
lea edx, [esp + 0x18]
push edx
push 0x40
push 6
mov esi, edi
push esi
call ebx
mov eax, 0x10004c60
sub eax, esi
sub eax, 5
mov byte [esi], 0xe8
mov dword [esi + 1], eax
lea eax, [esp + 0x18]
push eax
mov byte [esi + 5], 0x90
mov ecx, dword [esp + 0x1c]
push ecx
push 6
push edi
call ebx
mov al, 1
jmp 0x10005069
push 0
push 0x1002887c
push 0x10028884
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10010f62
add esp, 0x98
ret