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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x50
lea eax, [esp + 0x30]
push 0x1c
push eax
push dword [esp + 0x70]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [esp + 0x64]
test eax, eax
je 0x4a3c99
mov ebx, dword [esp + 0x34]
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x4a3c99
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
movzx ebp, word [ecx + 0x14]
movzx eax, word [ecx + 6]
lea ebp, [ecx + ebp + 0x18]
test eax, eax
jbe 0x4a3c99
xor edi, edi
mov esi, ecx
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov ebx, dword [esp]
jmp 0x4a3c21
mov dword [esp + 0x10], esi
mov esi, ecx
push 7
push 0x4d806c
push ebp
call fcn.004aae04
add esp, 0xc
test eax, eax
jne 0x4a3c4e
inc ebx
mov dword [esp + 0xc], ebp
add ebp, 0x28
movzx eax, word [esi + 6]
cmp ebx, eax
jae 0x4a3cd0
mov edi, 1
mov ecx, esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x4a3c83
push 6
push 0x4d8074
push ebp
mov dword [esp + 0xc], ecx
call fcn.004aae04
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4a3c83
mov dword [esp + 8], ebp
inc ebx
mov esi, 1
add ebp, 0x28
jmp 0x4a3c87
add ebp, 0x28
inc ebx
movzx eax, word [ecx + 6]
cmp ebx, eax
jae 0x4a434d
test edi, edi
jne 0x4a3c54
jmp 0x4a3c1b
push str.Unknown
push esi
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0d40
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebx, dword [esp + 4]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x64]
mov ebp, dword [eax + 0xc]
mov edi, dword [eax + 8]
xor eax, eax
lea ecx, [ebx + ebp + 1]
movzx ebp, byte [ebp + ebx]
cmp ebp, 0xcc
jne 0x4a3d0a
cmp eax, edi
jae 0x4a3d16
movzx ebp, byte [ecx]
inc eax
inc ecx
cmp ebp, 0xcc
je 0x4a3cf9
cmp eax, edi
jae 0x4a3d16
cmp ebp, 0xe9
je 0x4a3c99
mov eax, dword [edx + 8]
mov dword [esp], eax
cmp eax, 0x16
jb 0x4a3c99
mov eax, dword [edx + 0xc]
add ebx, eax
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4a3d36
mov edx, dword [ecx]
jmp 0x4a3d38
xor edx, edx
add ebx, edx
xor ebp, ebp
mov dword [esp + 0x4c], ebx
jmp 0x4a3d44
add ebx, edi
movzx eax, byte [ebx]
test eax, eax
jne 0x4a3d52
mov edi, 1
jmp 0x4a3d9c
cmp eax, 0xa
jne 0x4a3e39
test edx, edx
je 0x4a3d68
cmp edx, dword [ebx + 8]
jbe 0x4a3d68
mov eax, edx
jmp 0x4a3d6a
xor eax, eax
movzx ecx, word [ebx + 1]
cmp ecx, 2
jne 0x4a4312
cmp byte [ebx + 3], 0
ja 0x4a4312
mov ecx, eax
add ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
add ecx, esi
mov edi, dword [ebx + 4]
cmp ecx, dword [esp + 0x68]
jbe 0x4a3d9c
add esi, eax
cmp esi, dword [esp + 0x68]
jbe 0x4a3da9
add ebp, edi
cmp ebp, dword [esp]
jae 0x4a3e74
jmp 0x4a3d42
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x64]
cmp byte [ebx], 0xa
jne 0x4a3e02
movzx eax, word [ebx + 1]
cmp eax, 2
je 0x4a3eaf
push str.Unknown
push esi
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0d40
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
push str.Unknown
push esi
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0d40
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x64]
push str.Unknown
push esi
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0d40
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x64]
push str.Unknown
push esi
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0d40
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
cmp byte [ebx + 3], 0
ja 0x4a3dcb
mov eax, dword [ebx + 4]
lea edx, [ebx + 0x16]
movzx ecx, word [edx]
lea edi, [ebx + 0x18]
mov dword [esp + 0x24], eax
lea eax, [ebx + 0xc]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x28]
mov dword [edx - 0x14], ecx
mov dword [edx - 0x18], edi
push 4
push eax
push edx
call fcn.004aa890
add esp, 0xc
mov edi, dword [esp + 0x28]
test edi, edi
jbe 0x4a3f54
mov eax, dword [esp + 0xc]
mov ecx, 0x16
mov dword [esp + 8], eax
mov eax, edi
shr eax, 1
test eax, eax
jbe 0x4a4260
mov dword [esp], edi
xor edx, edx
mov dword [esp + 4], ebp
mov esi, dword [esp + 8]
movzx ebp, word [esi]
inc edx
lea esi, [esi + ebp + 2]
movzx edi, word [esi]
lea ecx, [ecx + ebp + 2]
lea ecx, [ecx + edi + 2]
lea esi, [esi + edi + 2]
cmp edx, eax
jb 0x4a3f14
mov dword [esp + 8], esi
lea eax, [edx + edx + 1]
mov edi, dword [esp]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 0x64]
dec eax
cmp eax, edi
jae 0x4a3f59
mov eax, dword [esp + 8]
movzx edx, word [eax]
lea ecx, [ecx + edx + 2]
jmp 0x4a3f59
mov ecx, 0x16
imul eax, dword [esp + 0x24], 0x19
lea edx, [ebx + ecx]
mov dword [esp + 0x18], edx
xor edi, edi
mov edx, dword [esp + 0x2c]
add ecx, ebp
mov esi, dword [esp + 0x18]
add ebx, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
cmp ecx, ebx
je 0x4a42d7
movzx edi, byte [esi]
mov eax, edi
and eax, 0xc0
cmp eax, 0x80
jne 0x4a3fb5
movzx eax, byte [esi]
and eax, 0x3f
inc dword [esp + 0x1c]
lea edx, [edx + eax + 1]
cmp edx, dword [esp + 0x68]
jae 0x4a40b1
inc esi
mov ecx, esi
sub ecx, dword [esp + 0x4c]
jmp 0x4a3f7b
cmp eax, 0xc0
jne 0x4a3fe3
movzx ecx, byte [esi]
and ecx, 0x3f
movsx eax, byte [esi + 1]
add dword [esp + 0x1c], eax
lea edx, [edx + ecx + 1]
cmp edx, dword [esp + 0x68]
jae 0x4a40b1
add esi, 2
mov ecx, esi
sub ecx, dword [esp + 0x4c]
jmp 0x4a3f7b
cmp edi, 0xd
ja 0x4a421e
movzx eax, word [edi*2 + 0x4d8030]
add eax, 0x4a3ffb
jmp eax
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
cmp dword [0x4f1980], 0
je 0x4a4288
mov edx, dword [0x4f19f0]
push dword [esp + 0x1c]
push 0x4ce6f4
lea eax, [esi + 0x208]
push eax
call edx
add esp, 0xc
test edi, edi
je 0x4a426a
push ebp
push edi
push esi
call fcn.004aa890
add esp, 0xc
mov byte [ebp + esi], 0
push dword [esp + 0x14]
push dword [esp + 0x14]
lea eax, [esi + 0x104]
push eax
call fcn.004aa890
add esp, 0xc
mov eax, dword [esp + 0x14]
mov byte [eax + esi + 0x104], 0
xor eax, eax
add esp, 0x50
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x64]
push str.Unknown
push esi
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0d40
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, 1
jmp 0x4a3f42
push str.Unknown
call fcn.004b0c40
push eax
push str.Unknown
push esi
call fcn.004aa890
add esp, 0x10
jmp 0x4a40f9
call fcn.004a0af0
jmp 0x4a40c6
mov esi, dword [esp + 0x64]
push str.Unknown
push esi
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0d40
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x64]
push str.Unknown
push esi
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.004b0d40
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.004b0d40
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebx, dword [esp + 4]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x64]
test edi, edi
jne 0x4a3ce0
jmp 0x4a3c99