Function at 0x4a56f0
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 0x4a5800
mov ebx, dword [esp + 0x24]
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x4a5800
mov edx, dword [ebx + 0x3c]
movzx eax, word [edx + ebx + 0x14]
movzx edi, word [edx + ebx + 6]
lea ecx, [ebx + edx + 0x18]
add ecx, eax
test edi, edi
jbe 0x4a5800
mov dword [esp + 8], ebx
mov ebx, ecx
mov dword [esp], edx
xor eax, eax
mov dword [esp + 0xc], eax
mov esi, eax
mov dword [esp + 0x18], eax
mov ebp, eax
mov dword [esp + 4], eax
xor edi, edi
mov dword [esp + 0x14], eax
jmp 0x4a5773
mov edi, dword [esp + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov esi, edx
push 7
push str..trace
push ebx
call fcn.0047f2e0
add esp, 0xc
test eax, eax
je 0x4a579a
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], edi
mov edi, dword [esp]
mov edx, esi
mov esi, dword [esp + 4]
jmp 0x4a57c3
mov ecx, dword [esp + 8]
mov edi, ebx
mov dword [esp + 0x10], edi
mov edi, dword [esp]
add ebx, 0x28
inc esi
mov ebp, 1
mov edx, esi
mov esi, dword [esp + 4]
movzx eax, word [edi + ecx + 6]
cmp edx, eax
jae 0x4a5837
test ebp, ebp
je 0x4a5765
test esi, esi
jne 0x4a57fa
push 6
push str..text
push ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call fcn.0047f2e0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x4a57fa
mov dword [esp + 0x14], ebx
add ebx, 0x28
inc edx
mov esi, 1
jmp 0x4a57b6
add ebx, 0x28
inc edx
jmp 0x4a57b6
push str.Unknown
push esi
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x18], ebp
mov ebx, ecx
mov ebp, dword [esp + 0x58]
cmp dword [esp + 0x18], 0
je 0x4a5800
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
lea edx, [ebx + ecx + 1]
mov dword [esp], edx
movzx edx, byte [ecx + ebx]
xor ecx, ecx
cmp edx, 0xcc
jne 0x4a588c
mov ebp, dword [esp]
cmp ecx, eax
jae 0x4a5e21
movzx edx, byte [ebp]
inc ecx
inc ebp
cmp edx, 0xcc
je 0x4a5872
mov ebp, dword [esp + 0x58]
cmp ecx, eax
jae 0x4a589c
cmp edx, 0xe9
je 0x4a5800
mov eax, dword [edi + 8]
mov dword [esp], eax
cmp eax, 0x16
jb 0x4a5800
mov edx, dword [esp + 0x5c]
add ebx, dword [edi + 0xc]
add ebx, edx
xor edi, edi
mov dword [esp + 0x3c], ebx
jmp 0x4a58be
add ebx, ecx
movzx eax, byte [ebx]
test eax, eax
jne 0x4a58cf
mov ecx, 1
jmp 0x4a59aa
cmp eax, 0xa
jne 0x4a59ba
test edx, edx
je 0x4a58e5
cmp edx, dword [ebx + 8]
jbe 0x4a58e5
mov eax, edx
jmp 0x4a58e7
xor eax, eax
movzx esi, word [ebx + 1]
cmp esi, 2
jne 0x4a5de6
movzx esi, byte [ebx + 3]
test esi, esi
jg 0x4a5de6
add eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
mov esi, dword [ebx + 8]
add eax, esi
cmp ebp, eax
jae 0x4a59aa
cmp ebp, esi
jb 0x4a59aa
mov esi, dword [esp + 0x54]
mov dword [esp + 0x1c], 0
movzx eax, byte [ebx]
cmp eax, 0xa
jne 0x4a5973
movzx eax, word [ebx + 1]
cmp eax, 2
je 0x4a59f5
push str.Unknown
push esi
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
push str.Unknown
push esi
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
add edi, ecx
cmp edi, dword [esp]
jae 0x4a5dab
jmp 0x4a58bc
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [ebx + 3]
test eax, eax
jg 0x4a593c
mov eax, dword [ebx + 4]
mov dword [esp], eax
lea edx, [ebx + 0x16]
movzx eax, word [edx]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
lea edx, [esp + 0x1c]
lea eax, [ebx + 0x18]
mov dword [esp + 8], eax
push 4
lea eax, [ebx + 0xc]
push eax
push edx
call fcn.00460220
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, 0x16
test ecx, ecx
jbe 0x4a5a5c
mov edx, dword [esp + 4]
mov esi, edx
xor edx, edx
movzx ebp, word [esi]
lea eax, [eax + ebp + 2]
lea esi, [ebp + esi + 2]
inc edx
cmp edx, ecx
jb 0x4a5a44
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
lea edx, [ebx + eax]
mov dword [esp + 0x10], edx
imul edx, dword [esp], 0x19
add eax, edi
xor ecx, ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x14], edi
add ebx, edx
mov edx, dword [esp + 0x10]
cmp eax, ebx
je 0x4a5d70
movzx esi, byte [edx]
mov ebp, esi
and ebp, 0xc0
cmp ebp, 0x80
jne 0x4a5ab0
movzx eax, byte [edx]
inc ecx
and eax, 0x3f
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x58]
jae 0x4a5ba4
jmp 0x4a5d02
cmp ebp, 0xc0
jne 0x4a5ad7
movsx eax, byte [edx + 1]
movzx ebp, byte [edx]
add ecx, eax
and ebp, 0x3f
lea edi, [ebp + edi + 1]
cmp edi, dword [esp + 0x58]
jae 0x4a5ba4
jmp 0x4a5c0e
cmp esi, 0xd
ja case.default.0x4a5ae7
mov ebp, dword [esi*4 + 0x4d71f8]
jmp ebp
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
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.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [edx + 1]
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x58]
jae 0x4a5ba4
add edx, 5
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a5a7b
movzx eax, word [edx + 1]
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x58]
jae 0x4a5ba4
add edx, 3
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a5a7b
movzx eax, byte [edx + 1]
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x58]
jb 0x4a5c0e
mov esi, dword [esp + 0x54]
push ecx
push 0x4c4240
lea eax, [esi + 0x208]
push eax
call fcn.00452740
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x4a5d0e
push dword [esp + 0x14]
push dword [esp + 0x1c]
push esi
call fcn.00460220
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.00460220
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 0x4a5a7b
add ecx, dword [edx + 1]
add edx, 5
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a5a7b
movsx eax, word [edx + 1]
add ecx, eax
add edx, 3
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a5a7b
movsx eax, byte [edx + 1]
add ecx, eax
add edx, 2
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a5a7b
mov eax, dword [esp + 4]
mov esi, dword [edx + 1]
mov dword [esp], ecx
mov dword [esp + 0x10], edx
xor ebp, ebp
movzx ecx, word [eax]
lea edx, [eax + 2]
lea eax, [eax + ecx + 2]
inc ebp
cmp ebp, esi
jbe 0x4a5c65
mov dword [esp + 8], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
add edx, 5
mov ecx, dword [esp]
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a5a7b
mov edi, dword [edx + 4]
cmp edi, dword [esp + 0x58]
ja 0x4a5d2c
movzx ebp, word [edx + 2]
mov dword [esp + 0x14], ebp
lea eax, [edx + 8]
test ebp, ebp
lea edx, [edx + ebp + 8]
je 0x4a5cb5
mov dword [esp + 0x18], eax
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a5a7b
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
inc edx
inc eax
jmp 0x4a5a7b
inc edx
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a5a7b
push str.Unknown
call fcn.00460d50
push eax
push str.Unknown
push esi
call fcn.00460220
add esp, 0x10
jmp 0x4a5be1
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov esi, dword [esp + 0x54]
jmp 0x4a5cc4
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
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.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
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.004acb30
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004acb30
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004acb30
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, dword [esp + 0x58]
jmp 0x4a589c