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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x44
mov ebp, dword [esp + 0x5c]
lea eax, [esp + 0x24]
push 0x1c
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [esp + 0x58]
test eax, eax
je 0x4c6827
mov ebx, dword [esp + 0x28]
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x4c6827
mov edx, dword [ebx + 0x3c]
add edx, ebx
movzx eax, word [edx + 0x14]
movzx ecx, word [edx + 6]
test ecx, ecx
lea eax, [edx + eax + 0x18]
jbe 0x4c6827
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, eax
mov dword [esp + 0xc], edx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp]
jmp 0x4c67af
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov edi, dword [esp]
push 7
push str..trace
push ebx
call fcn.004a6950
add esp, 0xc
test eax, eax
je 0x4c67d0
mov dword [esp], edi
mov edi, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x4c67f2
mov edi, ebx
inc ebp
mov dword [esp], edi
mov esi, 1
mov edi, dword [esp + 8]
add ebx, 0x28
mov edx, dword [esp + 0xc]
movzx ecx, word [edx + 6]
cmp ebp, ecx
jae 0x4c685e
test esi, esi
je 0x4c67a4
test edi, edi
jne 0x4c6821
push 6
push str..text
push ebx
mov dword [esp + 0x18], edx
call fcn.004a6950
mov edx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x4c6821
mov dword [esp + 4], ebx
inc ebp
mov edi, 1
add ebx, 0x28
jmp 0x4c67e6
add ebx, 0x28
inc ebp
jmp 0x4c67e6
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x10]
mov edi, dword [esp]
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
cmp dword [esp + 0x14], 0
je 0x4c6827
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 0x4c68b2
mov ebp, dword [esp]
cmp ecx, edx
jae 0x4c6e42
movzx eax, byte [ebp]
inc ecx
inc ebp
cmp eax, 0xcc
je 0x4c6899
mov ebp, dword [esp + 0x5c]
cmp ecx, edx
jae 0x4c68c1
cmp eax, 0xe9
je 0x4c6827
mov eax, dword [edi + 8]
cmp eax, 0x16
mov dword [esp], eax
jb 0x4c6827
add ebx, dword [edi + 0xc]
xor edi, edi
mov edx, dword [esp + 0x60]
add ebx, edx
mov dword [esp + 0x40], ebx
jmp 0x4c68e3
add ebx, esi
movzx eax, byte [ebx]
test eax, eax
jne 0x4c68f4
mov esi, 1
jmp 0x4c69cf
cmp eax, 0xa
jne 0x4c69df
test edx, edx
je 0x4c690a
cmp edx, dword [ebx + 8]
jbe 0x4c690a
mov eax, edx
jmp 0x4c690c
xor eax, eax
movzx ecx, word [ebx + 1]
cmp ecx, 2
jne 0x4c6e07
movzx ecx, byte [ebx + 3]
test ecx, ecx
jg 0x4c6e07
add eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
add eax, ecx
mov esi, dword [ebx + 4]
cmp ebp, eax
jae 0x4c69cf
cmp ebp, ecx
jb 0x4c69cf
mov dword [esp + 0x20], 0
movzx eax, byte [ebx]
cmp eax, 0xa
mov esi, dword [esp + 0x58]
jne 0x4c6998
movzx eax, word [ebx + 1]
cmp eax, 2
je 0x4c6a1a
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
add edi, esi
cmp edi, dword [esp]
jae 0x4c6dcc
jmp 0x4c68e1
mov esi, dword [esp + 0x58]
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
movzx eax, byte [ebx + 3]
test eax, eax
jg 0x4c6961
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 + 4], edx
lea edx, [ebx + 0xc]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 8], eax
push 4
push edx
push ecx
call fcn.00496430
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov eax, 0x16
test ecx, ecx
jbe 0x4c6a87
mov edx, dword [esp + 4]
mov dword [esp], edx
xor edx, edx
mov esi, dword [esp]
movzx ebp, word [esi]
inc edx
cmp edx, ecx
lea eax, [eax + ebp + 2]
lea esi, [ebp + esi + 2]
jb 0x4c6a6f
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
imul edx, dword [esp + 0x1c], 0x19
lea ecx, [ebx + eax]
mov dword [esp + 0x10], ecx
xor ecx, ecx
add eax, edi
add ebx, edx
mov dword [esp + 0x18], edi
xor edi, edi
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
cmp eax, ebx
je 0x4c6d91
movzx esi, byte [edx]
mov ebp, esi
and ebp, 0xc0
cmp ebp, 0x80
jne 0x4c6adc
movzx eax, byte [edx]
inc ecx
and eax, 0x3f
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x5c]
jae 0x4c6bce
jmp 0x4c6d2c
cmp ebp, 0xc0
jne 0x4c6b03
movzx ebp, byte [edx]
and ebp, 0x3f
movsx eax, byte [edx + 1]
add ecx, eax
lea edi, [ebp + edi + 1]
cmp edi, dword [esp + 0x5c]
jae 0x4c6bce
jmp 0x4c6c38
cmp esi, 0xd
ja case.0x4c6b0c.1
jmp dword [esi*4 + 0x502cb8]
mov esi, dword [esp + 0x58]
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x58]
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, dword [edx + 1]
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x5c]
jae 0x4c6bce
add edx, 5
mov eax, edx
sub eax, dword [esp + 0x40]
jmp 0x4c6aa7
movzx eax, word [edx + 1]
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x5c]
jae 0x4c6bce
add edx, 3
mov eax, edx
sub eax, dword [esp + 0x40]
jmp 0x4c6aa7
movzx eax, byte [edx + 1]
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x5c]
jb 0x4c6c38
mov esi, dword [esp + 0x58]
push ecx
push 0x4e9960
lea eax, [esi + 0x208]
push eax
call fcn.004792a0
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x4c6d38
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
call fcn.00496430
add esp, 0xc
mov eax, dword [esp + 0x18]
mov byte [eax + esi], 0
push dword [esp + 0xc]
push dword [esp + 0xc]
lea eax, [esi + 0x104]
push eax
call fcn.00496430
add esp, 0xc
mov edx, dword [esp + 0xc]
xor eax, eax
mov byte [edx + esi + 0x104], 0
add esp, 0x44
pop ebp
pop ebx
pop edi
pop esi
ret
add edx, 2
mov eax, edx
sub eax, dword [esp + 0x40]
jmp 0x4c6aa7
add ecx, dword [edx + 1]
add edx, 5
mov eax, edx
sub eax, dword [esp + 0x40]
jmp 0x4c6aa7
movsx eax, word [edx + 1]
add edx, 3
add ecx, eax
mov eax, edx
sub eax, dword [esp + 0x40]
jmp 0x4c6aa7
movsx eax, byte [edx + 1]
add edx, 2
add ecx, eax
mov eax, edx
sub eax, dword [esp + 0x40]
jmp 0x4c6aa7
mov esi, dword [edx + 1]
xor ebp, ebp
mov eax, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 0x10], edx
movzx ecx, word [eax]
inc ebp
cmp ebp, esi
lea edx, [eax + 2]
lea eax, [eax + ecx + 2]
jbe 0x4c6c8f
mov dword [esp + 8], edx
mov edx, dword [esp + 0x10]
add edx, 5
mov eax, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp]
sub eax, dword [esp + 0x40]
jmp 0x4c6aa7
mov edi, dword [edx + 4]
cmp edi, dword [esp + 0x5c]
ja 0x4c6d56
movzx ebp, word [edx + 2]
lea eax, [edx + 8]
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x4c6cdb
mov dword [esp + 0x14], eax
lea edx, [edx + ebp + 8]
mov eax, edx
sub eax, dword [esp + 0x40]
jmp 0x4c6aa7
mov esi, dword [esp + 0x58]
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
inc edx
inc eax
jmp 0x4c6aa7
inc edx
mov eax, edx
sub eax, dword [esp + 0x40]
jmp 0x4c6aa7
push str.Unknown
call fcn.0048ed00
push eax
push str.Unknown
push esi
call fcn.00496430
add esp, 0x10
jmp 0x4c6c0b
mov esi, dword [esp + 0x58]
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x58]
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x58]
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x58]
push str.Unknown
push esi
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004ce0e0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004ce0e0
xor eax, eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, dword [esp + 0x5c]
jmp 0x4c68c1