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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x44
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x14]
push 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4a6b98
mov ebx, dword [esp + 0x18]
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x4a6b98
mov ecx, dword [ebx + 0x3c]
movzx eax, word [ecx + ebx + 0x14]
movzx ebp, word [ecx + ebx + 6]
lea edx, [ebx + ecx + 0x18]
add edx, eax
test ebp, ebp
mov dword [esp], edx
jbe 0x4a6b98
mov edi, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
xor edx, edx
mov dword [esp + 0x30], edx
mov esi, edx
xor ebp, ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov ebx, edx
jmp 0x4a6b0d
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 4]
push 7
push str..trace
push edi
call fcn.00499438
add esp, 0xc
test eax, eax
jne 0x4a6b43
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
movzx ecx, word [eax + edx + 6]
mov ebp, edi
add esi, 1
add edi, 0x28
cmp esi, ecx
jae 0x4a6bcf
mov ebx, 1
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jne 0x4a6b74
push 6
push str..text
push edi
call fcn.00499438
add esp, 0xc
test eax, eax
jne 0x4a6b74
mov dword [esp + 0x40], edi
add edi, 0x28
add esi, 1
mov ebp, 1
jmp 0x4a6b7a
add edi, 0x28
add esi, 1
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
movzx eax, word [eax + ecx + 6]
cmp esi, eax
jae 0x4a71fd
test ebx, ebx
jne 0x4a6b4b
jmp 0x4a6b05
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebx, edx
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
mov edx, dword [eax + 0xc]
add edx, ebx
mov dword [esp], edx
movzx edx, byte [edx]
cmp edx, 0xcc
je 0x4a6bf7
mov ecx, dword [eax + 8]
xor eax, eax
jmp 0x4a6c1c
mov edi, dword [esp]
mov ecx, dword [eax + 8]
xor eax, eax
cmp eax, ecx
jae 0x4a71f4
add edi, 1
movzx edx, byte [edi]
add eax, 1
cmp edx, 0xcc
je 0x4a6bff
mov edi, dword [esp + 0x58]
cmp eax, ecx
jae 0x4a6c2c
cmp edx, 0xe9
je 0x4a6b98
mov eax, dword [ebp + 8]
cmp eax, 0x16
jb 0x4a6b98
add ebx, dword [ebp + 0xc]
add ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], eax
xor ebp, ebp
jmp 0x4a6c51
add ebx, eax
movzx eax, byte [ebx]
test eax, eax
jne 0x4a6c62
mov eax, 1
jmp 0x4a6d3d
cmp eax, 0xa
jne 0x4a6d50
test ecx, ecx
je 0x4a6c78
cmp ecx, dword [ebx + 8]
jbe 0x4a6c78
mov edx, ecx
jmp 0x4a6c7a
xor edx, edx
movzx eax, word [ebx + 1]
cmp eax, 2
jne 0x4a71b9
movzx eax, byte [ebx + 3]
test eax, eax
jg 0x4a71b9
add edx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 8]
add edx, edi
cmp esi, edx
jae 0x4a6d3d
cmp esi, edi
jb 0x4a6d3d
mov edi, dword [esp + 0x58]
mov dword [esp + 0x10], 0
movzx eax, byte [ebx]
cmp eax, 0xa
jne 0x4a6d06
movzx eax, word [ebx + 1]
cmp eax, 2
je 0x4a6d8b
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x40]
add ebp, eax
cmp ebp, edx
jae 0x4a717e
jmp 0x4a6c4f
mov edi, dword [esp + 0x58]
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [ebx + 3]
test eax, eax
jg 0x4a6ccf
mov eax, dword [ebx + 4]
movzx edx, word [ebx + 0x16]
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x18]
mov dword [esp + 8], ecx
lea eax, [ebx + 0xc]
push 4
push eax
push edx
call fcn.00490ed0
add esp, 0xc
mov edx, dword [esp + 0x10]
test edx, edx
ja 0x4a6dd3
mov eax, 0x16
mov dword [esp + 0x40], eax
jmp 0x4a6e06
lea eax, [ebx + 0x16]
mov ecx, 0x16
mov dword [esp + 0x40], ecx
mov esi, ecx
xor ecx, ecx
mov dword [esp], ecx
mov edi, ecx
movzx ecx, word [eax]
lea esi, [esi + ecx + 2]
lea eax, [ecx + eax + 2]
add edi, 1
cmp edi, edx
jb 0x4a6de8
mov edi, dword [esp + 0x58]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], ebx
lea ecx, [ebx + eax]
add eax, ebp
xor ebp, ebp
mov dword [esp], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x30], ebp
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x3c], edx
imul edx, eax, 0x19
mov eax, dword [esp]
add edx, ebx
mov ebx, dword [esp + 0x40]
cmp ebx, edx
je 0x4a7143
movzx edi, byte [eax]
mov esi, edi
and esi, 0xc0
cmp esi, 0x80
jne 0x4a6e71
mov esi, dword [esp + 0x5c]
movzx ebx, byte [eax]
add ebp, 1
and ebx, 0x3f
lea ecx, [ebx + ecx + 1]
cmp ecx, esi
jae 0x4a6f64
jmp 0x4a70d3
cmp esi, 0xc0
jne 0x4a6e9a
mov edi, dword [esp + 0x5c]
movsx ebx, byte [eax + 1]
movzx esi, byte [eax]
add ebp, ebx
and esi, 0x3f
lea ecx, [esi + ecx + 1]
cmp ecx, edi
jae 0x4a6f64
jmp 0x4a6fd0
cmp edi, 0xd
ja case.default.0x4a6eaa
mov esi, dword [edi*4 + 0x4c51e4]
jmp esi
mov edi, dword [esp + 0x58]
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, dword [esp + 0x58]
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
mov esi, dword [esp + 0x5c]
mov ebx, dword [eax + 1]
lea ecx, [ebx + ecx + 1]
cmp ecx, esi
jae 0x4a6f64
jmp 0x4a704e
mov esi, dword [esp + 0x5c]
movzx ebx, word [eax + 1]
lea ecx, [ebx + ecx + 1]
cmp ecx, esi
jae 0x4a6f64
add eax, 3
mov ebx, eax
sub ebx, dword [esp + 0x38]
jmp 0x4a6e38
mov esi, dword [esp + 0x5c]
movzx ebx, byte [eax + 1]
lea ecx, [ebx + ecx + 1]
cmp ecx, esi
jb 0x4a6fd0
mov edi, dword [esp + 0x58]
push ebp
push 0x4b9a40
lea eax, [edi + 0x208]
push eax
call fcn.0048ad06
add esp, 0xc
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a70e1
mov eax, dword [esp + 0x3c]
push eax
mov edx, dword [esp + 0x34]
push edx
push edi
call fcn.00490ed0
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov byte [edi + eax], 0
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [esp + 0xc]
lea ecx, [edi + 0x104]
push edx
push ecx
call fcn.00490ed0
mov edx, dword [esp + 0x18]
mov byte [edi + edx + 0x104], 0
xor eax, eax
add esp, 0x50
pop ebx
pop ebp
pop esi
pop edi
ret
add eax, 2
mov ebx, eax
sub ebx, dword [esp + 0x38]
jmp 0x4a6e38
add ebp, dword [eax + 1]
add eax, 5
mov ebx, eax
sub ebx, dword [esp + 0x38]
jmp 0x4a6e38
movsx ebx, word [eax + 1]
add ebp, ebx
add eax, 3
mov ebx, eax
sub ebx, dword [esp + 0x38]
jmp 0x4a6e38
movsx ebx, byte [eax + 1]
add ebp, ebx
add eax, 2
mov ebx, eax
sub ebx, dword [esp + 0x38]
jmp 0x4a6e38
mov ebx, dword [esp + 0x34]
mov edi, dword [eax + 1]
lea esi, [ebx + 0x16]
test edi, edi
jb 0x4a704e
mov dword [esp], ecx
mov dword [esp + 4], ebp
xor ebx, ebx
movzx ebp, word [esi]
lea ecx, [esi + 2]
lea esi, [esi + ebp + 2]
add ebx, 1
cmp ebx, edi
jbe 0x4a702e
mov dword [esp + 8], ecx
mov ecx, dword [esp]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 4]
add eax, 5
mov ebx, eax
sub ebx, dword [esp + 0x38]
jmp 0x4a6e38
mov ebx, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
cmp ebx, ecx
jb 0x4a70ff
movzx esi, word [eax + 2]
mov dword [esp + 0x3c], esi
lea ebx, [eax + 8]
test esi, esi
lea eax, [eax + esi + 8]
je 0x4a7082
mov dword [esp + 0x30], ebx
mov ebx, eax
sub ebx, dword [esp + 0x38]
jmp 0x4a6e38
mov edi, dword [esp + 0x58]
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
add eax, 1
add ebx, 1
jmp 0x4a6e38
add eax, 1
mov ebx, eax
sub ebx, dword [esp + 0x38]
jmp 0x4a6e38
push str.Unknown
call fcn.00492480
push eax
push str.Unknown
push edi
call fcn.00490ed0
add esp, 0x10
jmp 0x4a6fa4
mov edi, dword [esp + 0x58]
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, dword [esp + 0x58]
jmp 0x4a7091
mov edi, dword [esp + 0x58]
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, dword [esp + 0x58]
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, dword [esp + 0x58]
push str.Unknown
push edi
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x104]
push eax
call fcn.004ada10
push str.Unknown
lea eax, [edi + 0x208]
push eax
call fcn.004ada10
xor eax, eax
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, dword [esp + 0x58]
jmp 0x4a6c2c
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
mov edx, ebx
test edx, edx
mov ebx, ecx
jne 0x4a6bdd
jmp 0x4a6b98