Function at 0x4b7ff0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x559448
push 0x4d2010
mov eax, dword fs:[0]
push eax
add esp, 0xfffffebc
push ebx
push esi
push edi
lea edi, [ebp - 0x94]
mov ecx, 0x1f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x55ec40]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ecx, 0x563062
call fcn.004d007c
mov esi, esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp esi, esp
call fcn.004d0059
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x4b808f
mov byte [ebp - 0x119], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x119]
jmp 0x4b8173
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0x4550
je 0x4b80bf
mov byte [ebp - 0x125], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x125]
jmp 0x4b8173
mov eax, 8
imul ecx, eax, 0xc
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x44]
add eax, dword [edx + ecx + 0x78]
cmp dword [ebp + 0xc], eax
jb 0x4b8112
mov eax, 8
imul ecx, eax, 0xc
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x44]
add eax, dword [edx + ecx + 0x78]
mov ecx, 8
imul edx, ecx, 0xc
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx + edx + 0x7c]
cmp dword [ebp + 0xc], eax
jae 0x4b8112
mov byte [ebp - 0x131], 1
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x131]
jmp 0x4b8173
mov dword [ebp - 4], 0xfffffffe
jmp 0x4b8171
xor al, al
push edx
mov ecx, ebp
push eax
lea edx, [0x4b81a4]
call fcn.004d0005
pop eax
pop edx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x154
cmp ebp, esp
call fcn.004d0059
mov esp, ebp
pop ebp
ret

Function at 0x4b81c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x563062
call fcn.004d007c
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x4b81f4
xor eax, eax
jmp 0x4b8262
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 0x10000
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0
jmp 0x4b8220
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x38d
jae 0x4b825d
imul eax, dword [ebp - 0x2c], 0x48
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + eax + 0x40], 0
je 0x4b825b
imul eax, dword [ebp - 0x2c], 0x48
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax + 0x40]
cmp edx, dword [ebp - 8]
jb 0x4b8257
imul eax, dword [ebp - 0x2c], 0x48
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax + 0x40]
cmp edx, dword [ebp - 0x14]
jb 0x4b825b
xor eax, eax
jmp 0x4b8262
jmp 0x4b8217
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.004d0059
mov esp, ebp
pop ebp
ret