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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x4c
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x2c]
push 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ebp, dword [esp + 0x60]
test eax, eax
je 0x4d0657
mov ebx, dword [esp + 0x30]
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x4d0657
mov eax, dword [ebx + 0x3c]
add eax, ebx
movzx edx, word [eax + 0x14]
movzx ecx, word [eax + 6]
test ecx, ecx
lea edx, [eax + edx + 0x18]
jbe 0x4d0657
mov dword [esp + 4], ecx
xor ecx, ecx
mov dword [esp], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], ebx
mov ebx, edx
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x14]
mov esi, dword [esp]
jmp 0x4d05df
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov edi, dword [esp]
push 7
push str..trace
push ebx
call fcn.004ac620
add esp, 0xc
test eax, eax
je 0x4d0600
mov dword [esp], edi
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x4d0622
mov edi, ebx
inc esi
mov dword [esp], edi
mov ebp, 1
mov edi, dword [esp + 8]
add ebx, 0x28
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx + 6]
cmp esi, eax
jae 0x4d068e
test ebp, ebp
je 0x4d05d4
test edi, edi
jne 0x4d0651
push 6
push str..text
push ebx
mov dword [esp + 0x18], ecx
call fcn.004ac620
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x4d0651
mov dword [esp + 4], ebx
inc esi
mov edi, 1
add ebx, 0x28
jmp 0x4d0616
add ebx, 0x28
inc esi
jmp 0x4d0616
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x10]
mov edi, dword [esp]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x14], 0
je 0x4d0657
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 8]
lea eax, [ebx + ecx + 1]
mov dword [esp], eax
movzx eax, byte [ecx + ebx]
xor ecx, ecx
cmp eax, 0xcc
jne 0x4d06e1
mov esi, dword [esp]
cmp ecx, edx
jae 0x4d0d08
movzx eax, byte [esi]
inc ecx
inc esi
cmp eax, 0xcc
je 0x4d06c9
mov esi, dword [esp + 0x64]
cmp ecx, edx
jae 0x4d06f0
cmp eax, 0xe9
je 0x4d0657
mov eax, dword [edi + 8]
cmp eax, 0x16
mov dword [esp], eax
jb 0x4d0657
add ebx, dword [edi + 0xc]
xor edi, edi
mov edx, dword [esp + 0x68]
add ebx, edx
mov dword [esp + 0x48], ebx
jmp 0x4d0712
add ebx, ebp
movzx eax, byte [ebx]
test eax, eax
jne 0x4d0720
mov ebp, 1
jmp 0x4d0762
cmp eax, 0xa
jne 0x4d07fb
test edx, edx
je 0x4d0736
cmp edx, dword [ebx + 8]
jbe 0x4d0736
mov eax, edx
jmp 0x4d0738
xor eax, eax
movzx ecx, word [ebx + 1]
cmp ecx, 2
jne 0x4d0ccd
cmp byte [ebx + 3], 0
ja 0x4d0ccd
add eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
add eax, ecx
mov ebp, dword [ebx + 4]
cmp esi, eax
jae 0x4d0762
cmp esi, ecx
jae 0x4d076f
add edi, ebp
cmp edi, dword [esp]
jae 0x4d0836
jmp 0x4d0710
mov dword [esp + 0x28], 0
mov ebp, dword [esp + 0x60]
cmp byte [ebx], 0xa
jne 0x4d07c4
movzx eax, word [ebx + 1]
cmp eax, 2
je 0x4d0871
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, dword [esp + 0x60]
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, dword [esp + 0x60]
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
cmp byte [ebx + 3], 0
ja 0x4d078d
mov eax, dword [ebx + 4]
lea edx, [ebx + 0x16]
movzx ecx, word [ebx + 0x16]
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [esp + 0x10], edx
lea edx, [ebx + 0xc]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], eax
push 4
push edx
push ecx
call fcn.0047aef0
add esp, 0xc
mov ecx, dword [esp + 0x28]
test ecx, ecx
jbe 0x4d092d
mov edx, ecx
shr edx, 1
mov eax, dword [esp + 0x10]
test edx, edx
mov dword [esp + 0xc], eax
mov eax, 0x16
jbe 0x4d0c19
mov dword [esp + 8], 0
mov dword [esp], ecx
mov dword [esp + 4], edi
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
movzx ebp, word [esi]
inc ecx
cmp ecx, edx
lea esi, [esi + ebp + 2]
movzx edi, word [esi]
lea eax, [eax + ebp + 2]
lea eax, [eax + edi + 2]
lea esi, [esi + edi + 2]
jb 0x4d08e3
mov dword [esp + 8], ecx
mov edx, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp]
mov edi, dword [esp + 4]
lea edx, [edx + edx + 1]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
dec edx
cmp ecx, edx
jbe 0x4d0932
mov edx, dword [esp + 0xc]
movzx ecx, word [edx]
lea eax, [eax + ecx + 2]
jmp 0x4d0932
mov eax, 0x16
imul ecx, dword [esp + 0x1c], 0x19
lea edx, [ebx + eax]
add eax, edi
add ebx, ecx
mov dword [esp + 0x24], edi
xor edi, edi
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 0x20], edi
mov esi, edx
mov ebp, dword [esp + 0xc]
cmp eax, ebx
je 0x4d0c92
movzx edi, byte [ebp]
mov ecx, edi
and ecx, 0xc0
cmp ecx, 0x80
jne 0x4d098b
movzx eax, byte [ebp]
inc edx
and eax, 0x3f
lea esi, [esi + eax + 1]
cmp esi, dword [esp + 0x64]
jae 0x4d0a75
jmp 0x4d0c23
cmp ecx, 0xc0
jne 0x4d09b3
movzx ecx, byte [ebp]
and ecx, 0x3f
movsx eax, byte [ebp + 1]
add edx, eax
lea esi, [esi + ecx + 1]
cmp esi, dword [esp + 0x64]
jae 0x4d0a75
jmp 0x4d0add
cmp edi, 0xd
ja case.0x4d09bc.1
jmp dword [edi*4 + 0x504958]
mov ebp, dword [esp + 0x60]
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, dword [esp + 0x60]
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, dword [ebp + 1]
lea esi, [esi + eax + 1]
cmp esi, dword [esp + 0x64]
jae 0x4d0a75
jmp 0x4d0b9a
movzx eax, word [ebp + 1]
lea esi, [esi + eax + 1]
cmp esi, dword [esp + 0x64]
jae 0x4d0a75
add ebp, 3
mov eax, ebp
sub eax, dword [esp + 0x48]
jmp 0x4d0954
movzx eax, byte [ebp + 1]
lea esi, [esi + eax + 1]
cmp esi, dword [esp + 0x64]
jb 0x4d0add
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x60]
push edx
push 0x4ec580
lea eax, [ebp + 0x208]
push eax
call fcn.0047c0e0
add esp, 0xc
test edi, edi
je 0x4d0c2f
push dword [esp + 0x24]
push edi
push ebp
call fcn.0047aef0
add esp, 0xc
mov eax, dword [esp + 0x24]
mov byte [eax + ebp], 0
push dword [esp + 0x18]
push dword [esp + 0x18]
lea eax, [ebp + 0x104]
push eax
call fcn.0047aef0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov byte [eax + ebp + 0x104], 0
xor eax, eax
add esp, 0x4c
pop ebp
pop ebx
pop edi
pop esi
ret
add ebp, 2
mov eax, ebp
sub eax, dword [esp + 0x48]
jmp 0x4d0954
add edx, dword [ebp + 1]
add ebp, 5
mov eax, ebp
sub eax, dword [esp + 0x48]
jmp 0x4d0954
movsx eax, word [ebp + 1]
add ebp, 3
add edx, eax
mov eax, ebp
sub eax, dword [esp + 0x48]
jmp 0x4d0954
movsx eax, byte [ebp + 1]
add ebp, 2
add edx, eax
mov eax, ebp
sub eax, dword [esp + 0x48]
jmp 0x4d0954
mov eax, dword [ebp + 1]
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], ecx
lea edi, [eax + 1]
mov dword [esp + 4], edi
shr edi, 0x1f
lea eax, [edi + eax + 1]
sar eax, 1
test eax, eax
jbe 0x4d0c4d
mov dword [esp], edx
xor ecx, ecx
mov dword [esp + 0xc], ebp
mov edi, dword [esp + 8]
movzx edx, word [edi]
inc ecx
cmp ecx, eax
lea edi, [edi + edx + 2]
movzx edx, word [edi]
lea ebp, [edi + 2]
lea edi, [edi + edx + 2]
jb 0x4d0b54
mov dword [esp + 0x14], ebp
lea eax, [ecx + ecx + 1]
mov dword [esp + 0x18], edx
mov dword [esp + 8], edi
mov edx, dword [esp]
mov ebp, dword [esp + 0xc]
dec eax
cmp eax, dword [esp + 4]
jae 0x4d0b9a
mov ecx, dword [esp + 8]
movzx eax, word [ecx]
lea edi, [ecx + 2]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
add ebp, 5
mov eax, ebp
sub eax, dword [esp + 0x48]
jmp 0x4d0954
mov esi, dword [ebp + 4]
cmp esi, dword [esp + 0x64]
ja 0x4d0c57
movzx ecx, word [ebp + 2]
lea eax, [ebp + 8]
test ecx, ecx
mov dword [esp + 0x24], ecx
je 0x4d0bc8
mov dword [esp + 0x20], eax
lea ebp, [ebp + ecx + 8]
mov eax, ebp
sub eax, dword [esp + 0x48]
jmp 0x4d0954
mov ebp, dword [esp + 0x60]
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
inc ebp
inc eax
jmp 0x4d0954
mov edx, 1
jmp 0x4d091b
inc ebp
mov eax, ebp
sub eax, dword [esp + 0x48]
jmp 0x4d0954
push str.Unknown
call fcn.00493210
push eax
push str.Unknown
push ebp
call fcn.0047aef0
add esp, 0x10
jmp 0x4d0ab0
mov eax, 1
jmp 0x4d0b81
mov ebp, dword [esp + 0x60]
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, dword [esp + 0x60]
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, dword [esp + 0x60]
push str.Unknown
push ebp
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x104]
push eax
call fcn.004d2c40
push str.Unknown
lea eax, [ebp + 0x208]
push eax
call fcn.004d2c40
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x64]
jmp 0x4d06f0