Function at 0x4e50a0
Capabilities:
Check for software breakpoints
Enumerate pe sections

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x40
mov ebp, dword [esp + 0x58]
lea eax, [esp + 0x20]
push 0x1c
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [esp + 0x54]
test eax, eax
je 0x4e51a9
mov ebx, dword [esp + 0x24]
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x4e51a9
mov ecx, dword [ebx + 0x3c]
movzx eax, word [ecx + ebx + 0x14]
movzx edi, word [ecx + ebx + 6]
lea edx, [ebx + ecx + 0x18]
add edx, eax
test edi, edi
jbe 0x4e51a9
mov dword [esp + 4], ebx
mov ebx, edx
mov dword [esp + 8], ecx
xor eax, eax
mov esi, eax
mov dword [esp + 0x14], eax
mov ebp, eax
mov dword [esp], eax
xor edi, edi
mov dword [esp + 0x10], eax
jmp 0x4e5120
mov dword [esp + 4], edx
mov dword [esp], edi
mov edi, dword [esp + 0xc]
mov dword [esp + 8], ecx
push 7
push str..trace
push ebx
call fcn.004ddd68
add esp, 0xc
test eax, eax
je 0x4e5145
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], edi
mov edi, dword [esp]
jmp 0x4e516c
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edi, ebx
mov dword [esp + 0xc], edi
add ebx, 0x28
inc esi
mov edi, dword [esp]
mov ebp, 1
movzx eax, word [ecx + edx + 6]
cmp esi, eax
jae 0x4e51e0
test ebp, ebp
je 0x4e5111
test edi, edi
jne 0x4e51a3
push 6
push str..text
push ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.004ddd68
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add esp, 0xc
test eax, eax
jne 0x4e51a3
mov dword [esp + 0x10], ebx
add ebx, 0x28
inc esi
mov edi, 1
jmp 0x4e515f
add ebx, 0x28
inc esi
jmp 0x4e515f
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x14], ebp
mov ebx, edx
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4e51a9
mov edx, dword [eax + 0xc]
lea ecx, [ebx + edx + 1]
movzx edx, byte [edx + ebx]
cmp edx, 0xcc
je 0x4e5218
mov ecx, dword [eax + 8]
xor eax, eax
jmp 0x4e5239
mov ebp, ecx
mov ecx, dword [eax + 8]
xor eax, eax
cmp eax, ecx
jae 0x4e57d6
movzx edx, byte [ebp]
inc eax
inc ebp
cmp edx, 0xcc
je 0x4e521f
mov ebp, dword [esp + 0x58]
cmp eax, ecx
jae 0x4e5249
cmp edx, 0xe9
je 0x4e51a9
mov eax, dword [edi + 8]
mov dword [esp], eax
cmp eax, 0x16
jb 0x4e51a9
mov edx, dword [esp + 0x5c]
add ebx, dword [edi + 0xc]
add ebx, edx
xor edi, edi
mov dword [esp + 0x3c], ebx
jmp 0x4e526b
add ebx, esi
movzx eax, byte [ebx]
test eax, eax
jne 0x4e527c
mov esi, 1
jmp 0x4e5357
cmp eax, 0xa
jne 0x4e5367
test edx, edx
je 0x4e5292
cmp edx, dword [ebx + 8]
jbe 0x4e5292
mov eax, edx
jmp 0x4e5294
xor eax, eax
movzx ecx, word [ebx + 1]
cmp ecx, 2
jne 0x4e579b
movzx ecx, byte [ebx + 3]
test ecx, ecx
jg 0x4e579b
add eax, dword [ebx + 0x10]
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 8]
add eax, ecx
cmp ebp, eax
jae 0x4e5357
cmp ebp, ecx
jb 0x4e5357
mov esi, dword [esp + 0x54]
mov dword [esp + 0x1c], 0
movzx eax, byte [ebx]
cmp eax, 0xa
jne 0x4e5320
movzx eax, word [ebx + 1]
cmp eax, 2
je 0x4e53a2
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
add edi, esi
cmp edi, dword [esp]
jae 0x4e5760
jmp 0x4e5269
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [ebx + 3]
test eax, eax
jg 0x4e52e9
mov eax, dword [ebx + 4]
mov dword [esp], eax
lea ecx, [ebx + 0x16]
movzx eax, word [ecx]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x1c]
lea eax, [ebx + 0x18]
mov dword [esp + 8], eax
push 4
lea eax, [ebx + 0xc]
push eax
push ecx
call fcn.004d0990
add esp, 0xc
mov edx, dword [esp + 0x1c]
test edx, edx
ja 0x4e53eb
mov eax, 0x16
jmp 0x4e5410
mov eax, dword [esp + 4]
mov esi, eax
mov eax, 0x16
xor ecx, ecx
movzx ebp, word [esi]
lea eax, [eax + ebp + 2]
lea esi, [ebp + esi + 2]
inc ecx
cmp ecx, edx
jb 0x4e53f8
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
imul edx, dword [esp], 0x19
lea ecx, [ebx + eax]
add eax, edi
mov dword [esp + 0x10], ecx
xor edi, edi
mov dword [esp + 0x18], edi
xor ecx, ecx
mov dword [esp + 0x14], ecx
add ebx, edx
mov edx, dword [esp + 0x10]
cmp eax, ebx
je 0x4e5725
movzx esi, byte [edx]
mov ebp, esi
and ebp, 0xc0
cmp ebp, 0x80
jne 0x4e5464
movzx eax, byte [edx]
inc edi
and eax, 0x3f
lea ecx, [eax + ecx + 1]
cmp ecx, dword [esp + 0x58]
jae 0x4e5558
jmp 0x4e56b7
cmp ebp, 0xc0
jne 0x4e548b
movsx eax, byte [edx + 1]
movzx ebp, byte [edx]
add edi, eax
and ebp, 0x3f
lea ecx, [ebp + ecx + 1]
cmp ecx, dword [esp + 0x58]
jae 0x4e5558
jmp 0x4e55c3
cmp esi, 0xd
ja case.default.0x4e549b
mov ebp, dword [esi*4 + 0x507e60]
jmp ebp
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [edx + 1]
lea ecx, [eax + ecx + 1]
cmp ecx, dword [esp + 0x58]
jae 0x4e5558
add edx, 5
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4e542f
movzx eax, word [edx + 1]
lea ecx, [eax + ecx + 1]
cmp ecx, dword [esp + 0x58]
jae 0x4e5558
add edx, 3
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4e542f
movzx eax, byte [edx + 1]
lea ecx, [eax + ecx + 1]
cmp ecx, dword [esp + 0x58]
jb 0x4e55c3
mov esi, dword [esp + 0x54]
push edi
push 0x4fc140
lea eax, [esi + 0x208]
push eax
call fcn.004d2c54
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e56c3
push dword [esp + 0x14]
push dword [esp + 0x1c]
push esi
call fcn.004d0990
add esp, 0xc
mov eax, dword [esp + 0x14]
mov byte [eax + esi], 0
push dword [esp + 0xc]
push dword [esp + 0xc]
lea eax, [esi + 0x104]
push eax
call fcn.004d0990
add esp, 0xc
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 0x104], 0
xor eax, eax
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
add edx, 2
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4e542f
add edi, dword [edx + 1]
add edx, 5
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4e542f
movsx eax, word [edx + 1]
add edi, eax
add edx, 3
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4e542f
movsx eax, byte [edx + 1]
add edi, eax
add edx, 2
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4e542f
mov eax, dword [esp + 4]
mov esi, dword [edx + 1]
mov dword [esp], edi
mov dword [esp + 0x10], edx
xor ebp, ebp
movzx edx, word [eax]
lea edi, [eax + 2]
lea eax, [eax + edx + 2]
inc ebp
cmp ebp, esi
jbe 0x4e561a
mov dword [esp + 8], edi
mov edi, dword [esp]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
add edx, 5
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4e542f
mov ecx, dword [edx + 4]
cmp ecx, dword [esp + 0x58]
ja 0x4e56e1
movzx ebp, word [edx + 2]
mov dword [esp + 0x14], ebp
lea eax, [edx + 8]
test ebp, ebp
lea edx, [edx + ebp + 8]
je 0x4e566a
mov dword [esp + 0x18], eax
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4e542f
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
inc edx
inc eax
jmp 0x4e542f
inc edx
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4e542f
push str.Unknown
call fcn.004d1160
push eax
push str.Unknown
push esi
call fcn.004d0990
add esp, 0x10
jmp 0x4e5596
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov esi, dword [esp + 0x54]
jmp 0x4e5679
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004d1060
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004d1060
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, dword [esp + 0x58]
jmp 0x4e5249