Function at 0x4a9ac0
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 0x4a9bd0
mov ebx, dword [esp + 0x24]
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x4a9bd0
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 0x4a9bd0
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 0x4a9b43
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.00486660
add esp, 0xc
test eax, eax
je 0x4a9b6a
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], edi
mov edi, dword [esp]
mov edx, esi
mov esi, dword [esp + 4]
jmp 0x4a9b93
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 0x4a9c07
test ebp, ebp
je 0x4a9b35
test esi, esi
jne 0x4a9bca
push 6
push str..text
push ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call fcn.00486660
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x4a9bca
mov dword [esp + 0x14], ebx
add ebx, 0x28
inc edx
mov esi, 1
jmp 0x4a9b86
add ebx, 0x28
inc edx
jmp 0x4a9b86
push str.Unknown
push esi
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
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 0x4a9bd0
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 0x4a9c5c
mov ebp, dword [esp]
cmp ecx, eax
jae 0x4aa1f1
movzx edx, byte [ebp]
inc ecx
inc ebp
cmp edx, 0xcc
je 0x4a9c42
mov ebp, dword [esp + 0x58]
cmp ecx, eax
jae 0x4a9c6c
cmp edx, 0xe9
je 0x4a9bd0
mov eax, dword [edi + 8]
mov dword [esp], eax
cmp eax, 0x16
jb 0x4a9bd0
mov edx, dword [esp + 0x5c]
add ebx, dword [edi + 0xc]
add ebx, edx
xor edi, edi
mov dword [esp + 0x3c], ebx
jmp 0x4a9c8e
add ebx, ecx
movzx eax, byte [ebx]
test eax, eax
jne 0x4a9c9f
mov ecx, 1
jmp 0x4a9d7a
cmp eax, 0xa
jne 0x4a9d8a
test edx, edx
je 0x4a9cb5
cmp edx, dword [ebx + 8]
jbe 0x4a9cb5
mov eax, edx
jmp 0x4a9cb7
xor eax, eax
movzx esi, word [ebx + 1]
cmp esi, 2
jne 0x4aa1b6
movzx esi, byte [ebx + 3]
test esi, esi
jg 0x4aa1b6
add eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
mov esi, dword [ebx + 8]
add eax, esi
cmp ebp, eax
jae 0x4a9d7a
cmp ebp, esi
jb 0x4a9d7a
mov esi, dword [esp + 0x54]
mov dword [esp + 0x1c], 0
movzx eax, byte [ebx]
cmp eax, 0xa
jne 0x4a9d43
movzx eax, word [ebx + 1]
cmp eax, 2
je 0x4a9dc5
push str.Unknown
push esi
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
push str.Unknown
push esi
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
add edi, ecx
cmp edi, dword [esp]
jae 0x4aa17b
jmp 0x4a9c8c
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [ebx + 3]
test eax, eax
jg 0x4a9d0c
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.0046fe60
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, 0x16
test ecx, ecx
jbe 0x4a9e2c
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 0x4a9e14
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 0x4aa140
movzx esi, byte [edx]
mov ebp, esi
and ebp, 0xc0
cmp ebp, 0x80
jne 0x4a9e80
movzx eax, byte [edx]
inc ecx
and eax, 0x3f
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x58]
jae 0x4a9f74
jmp 0x4aa0d2
cmp ebp, 0xc0
jne 0x4a9ea7
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 0x4a9f74
jmp 0x4a9fde
cmp esi, 0xd
ja case.default.0x4a9eb7
mov ebp, dword [esi*4 + 0x4dc4b8]
jmp ebp
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
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.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
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 0x4a9f74
add edx, 5
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a9e4b
movzx eax, word [edx + 1]
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x58]
jae 0x4a9f74
add edx, 3
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a9e4b
movzx eax, byte [edx + 1]
lea edi, [eax + edi + 1]
cmp edi, dword [esp + 0x58]
jb 0x4a9fde
mov esi, dword [esp + 0x54]
push ecx
push 0x4c86c0
lea eax, [esi + 0x208]
push eax
call fcn.004532e0
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x4aa0de
push dword [esp + 0x14]
push dword [esp + 0x1c]
push esi
call fcn.0046fe60
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.0046fe60
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 0x4a9e4b
add ecx, dword [edx + 1]
add edx, 5
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a9e4b
movsx eax, word [edx + 1]
add ecx, eax
add edx, 3
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a9e4b
movsx eax, byte [edx + 1]
add ecx, eax
add edx, 2
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a9e4b
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 0x4aa035
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 0x4a9e4b
mov edi, dword [edx + 4]
cmp edi, dword [esp + 0x58]
ja 0x4aa0fc
movzx ebp, word [edx + 2]
mov dword [esp + 0x14], ebp
lea eax, [edx + 8]
test ebp, ebp
lea edx, [edx + ebp + 8]
je 0x4aa085
mov dword [esp + 0x18], eax
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a9e4b
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
inc edx
inc eax
jmp 0x4a9e4b
inc edx
mov eax, edx
sub eax, dword [esp + 0x3c]
jmp 0x4a9e4b
push str.Unknown
call fcn.004694f0
push eax
push str.Unknown
push esi
call fcn.0046fe60
add esp, 0x10
jmp 0x4a9fb1
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov esi, dword [esp + 0x54]
jmp 0x4aa094
mov esi, dword [esp + 0x54]
push str.Unknown
push esi
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
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.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
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.004b0f00
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0f00
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0f00
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, dword [esp + 0x58]
jmp 0x4a9c6c