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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x4c
lea eax, [esp + 0x2c]
push 0x1c
push eax
push dword [esp + 0x6c]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [esp + 0x60]
test eax, eax
je 0x4cdbfa
mov ebp, dword [esp + 0x30]
movzx eax, word [ebp]
cmp eax, 0x5a4d
jne 0x4cdbfa
mov ecx, dword [ebp + 0x3c]
add ecx, ebp
movzx ebx, word [ecx + 0x14]
movzx eax, word [ecx + 6]
lea ebx, [ecx + ebx + 0x18]
test eax, eax
jbe 0x4cdbfa
xor edi, edi
mov esi, ecx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov ebp, dword [esp]
jmp 0x4cdb82
mov dword [esp + 0x10], esi
mov esi, ecx
push 7
push 0x521f1c
push ebx
call fcn.004d25f0
add esp, 0xc
test eax, eax
jne 0x4cdbaf
inc ebp
mov dword [esp + 0xc], ebx
add ebx, 0x28
movzx eax, word [esi + 6]
cmp ebp, eax
jae 0x4cdc31
mov edi, 1
mov ecx, esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x4cdbe4
push 6
push 0x521f24
push ebx
mov dword [esp + 0xc], ecx
call fcn.004d25f0
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4cdbe4
mov dword [esp + 8], ebx
inc ebp
mov esi, 1
add ebx, 0x28
jmp 0x4cdbe8
add ebx, 0x28
inc ebp
movzx eax, word [ecx + 6]
cmp ebp, eax
jae 0x4ce2a0
test edi, edi
jne 0x4cdbb5
jmp 0x4cdb7c
push str.Unknown
push esi
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004e47d0
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, dword [esp + 4]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x60]
mov ebx, dword [eax + 0xc]
mov edi, dword [eax + 8]
xor eax, eax
lea ecx, [ebp + ebx + 1]
movzx ebx, byte [ebx + ebp]
cmp ebx, 0xcc
jne 0x4cdc6a
cmp eax, edi
jae 0x4cdc76
movzx ebx, byte [ecx]
inc eax
inc ecx
cmp ebx, 0xcc
je 0x4cdc59
cmp eax, edi
jae 0x4cdc76
cmp ebx, 0xe9
je 0x4cdbfa
mov eax, dword [edx + 8]
mov dword [esp], eax
cmp eax, 0x16
jb 0x4cdbfa
mov eax, dword [edx + 0xc]
add ebp, eax
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4cdc96
mov edx, dword [ecx]
jmp 0x4cdc98
xor edx, edx
add ebp, edx
xor ebx, ebx
mov dword [esp + 0x48], ebp
jmp 0x4cdca4
add ebp, edi
movzx eax, byte [ebp]
test eax, eax
jne 0x4cdcb3
mov edi, 1
jmp 0x4cdcfd
cmp eax, 0xa
jne 0x4cdd9b
test edx, edx
je 0x4cdcc9
cmp edx, dword [ebp + 8]
jbe 0x4cdcc9
mov eax, edx
jmp 0x4cdccb
xor eax, eax
movzx ecx, word [ebp + 1]
cmp ecx, 2
jne 0x4ce265
cmp byte [ebp + 3], 0
ja 0x4ce265
mov ecx, eax
add ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
add ecx, esi
mov edi, dword [ebp + 4]
cmp ecx, dword [esp + 0x64]
jbe 0x4cdcfd
add esi, eax
cmp esi, dword [esp + 0x64]
jbe 0x4cdd0a
add ebx, edi
cmp ebx, dword [esp]
jae 0x4cddd6
jmp 0x4cdca2
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x60]
cmp byte [ebp], 0xa
jne 0x4cdd64
movzx eax, word [ebp + 1]
cmp eax, 2
je 0x4cde11
push str.Unknown
push esi
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004e47d0
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
push str.Unknown
push esi
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004e47d0
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x60]
push str.Unknown
push esi
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004e47d0
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x60]
push str.Unknown
push esi
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004e47d0
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
cmp byte [ebp + 3], 0
ja 0x4cdd2d
mov eax, dword [ebp + 4]
lea edx, [ebp + 0x16]
movzx ecx, word [edx]
lea edi, [ebp + 0x18]
mov dword [esp + 0xc], eax
lea eax, [ebp + 0xc]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x24]
mov dword [edx - 0xc], ecx
mov dword [edx - 0x10], edi
push 4
push eax
push edx
call fcn.004d1b40
add esp, 0xc
mov edi, dword [esp + 0x24]
test edi, edi
jbe 0x4cdeb4
mov eax, dword [esp + 0x10]
mov ecx, 0x16
mov dword [esp + 8], eax
mov eax, edi
shr eax, 1
je 0x4ce1bd
mov dword [esp], edi
xor edx, edx
mov dword [esp + 4], ebx
mov esi, dword [esp + 8]
movzx ebx, word [esi]
inc edx
lea esi, [esi + ebx + 2]
movzx edi, word [esi]
lea ecx, [ecx + ebx + 2]
lea ecx, [ecx + edi + 2]
lea esi, [esi + edi + 2]
cmp edx, eax
jb 0x4cde74
mov dword [esp + 8], esi
lea eax, [edx + edx + 1]
mov edi, dword [esp]
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x60]
dec eax
cmp eax, edi
jae 0x4cdeb9
mov eax, dword [esp + 8]
movzx edx, word [eax]
lea ecx, [ecx + edx + 2]
jmp 0x4cdeb9
mov ecx, 0x16
imul eax, dword [esp + 0xc], 0x19
lea edx, [ecx + ebp]
add ecx, ebx
add ebp, eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov dword [esp + 0x20], ebx
xor edi, edi
mov ebx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x4ce22a
movzx esi, byte [edx]
mov eax, esi
and eax, 0xc0
cmp eax, 0x80
jne 0x4cdf10
movzx eax, byte [edx]
inc edi
and eax, 0x3f
lea ebx, [ebx + eax + 1]
cmp ebx, dword [esp + 0x64]
jae 0x4ce00a
inc edx
mov ecx, edx
sub ecx, dword [esp + 0x48]
jmp 0x4cded9
cmp eax, 0xc0
jne 0x4cdf3c
movzx ecx, byte [edx]
and ecx, 0x3f
movsx eax, byte [edx + 1]
add edi, eax
lea ebx, [ebx + ecx + 1]
cmp ebx, dword [esp + 0x64]
jae 0x4ce00a
add edx, 2
mov ecx, edx
sub ecx, dword [esp + 0x48]
jmp 0x4cded9
cmp esi, 0xd
ja 0x4ce17b
movzx eax, word [esi*2 + 0x521ed0]
add eax, 0x4cdf54
jmp eax
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x60]
mov ebp, 0x508ae0
mov dword [esp], ebp
mov dword [esp + 4], edi
call fcn.0045a3e0
mov ecx, eax
lea eax, [esp + 4]
push eax
push 0
push ebp
push 0xffffffffffffffff
mov ebp, dword [ecx]
lea edx, [esi + 0x208]
push edx
push dword [ecx + 4]
or ebp, 1
push ebp
call fcn.004db990
add esp, 0x1c
test ebx, ebx
je 0x4ce1c7
push dword [esp + 0xc]
push ebx
push esi
call fcn.004d1b40
add esp, 0xc
mov eax, dword [esp + 0xc]
mov byte [eax + esi], 0
push dword [esp + 0x18]
push dword [esp + 0x18]
lea eax, [esi + 0x104]
push eax
call fcn.004d1b40
add esp, 0xc
mov eax, dword [esp + 0x18]
mov byte [eax + esi + 0x104], 0
xor eax, eax
add esp, 0x4c
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x60]
push str.Unknown
push esi
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004e47d0
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, 1
jmp 0x4cdea2
push str.Unknown
call fcn.004e4510
push eax
push str.Unknown
push esi
call fcn.004d1b40
add esp, 0x10
jmp 0x4ce065
mov esi, dword [esp + 0x60]
push str.Unknown
push esi
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004e47d0
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x60]
push str.Unknown
push esi
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004e47d0
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004e47d0
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, dword [esp + 4]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x60]
test edi, edi
jne 0x4cdc41
jmp 0x4cdbfa