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

Disassembly:
endbr32
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 0x10064d7d
mov ebx, dword [esp + 0x34]
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x10064d7d
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 0x10064d7d
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 0x10064d05
mov dword [esp + 0x10], esi
mov esi, ecx
push 7
push str..trace
push ebp
call fcn.101ac0a0
add esp, 0xc
test eax, eax
jne 0x10064d32
inc ebx
mov dword [esp + 0xc], ebp
add ebp, 0x28
movzx eax, word [esi + 6]
cmp ebx, eax
jae 0x10064db4
mov edi, 1
mov ecx, esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x10064d67
push 6
push 0x102176f8
push ebp
mov dword [esp + 0xc], ecx
call fcn.101ac0a0
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x10064d67
mov dword [esp + 8], ebp
inc ebx
mov esi, 1
add ebp, 0x28
jmp 0x10064d6b
add ebp, 0x28
inc ebx
movzx eax, word [ecx + 6]
cmp ebx, eax
jae 0x10065429
test edi, edi
jne 0x10064d38
jmp 0x10064cff
push str.Unknown
push esi
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.101c9050
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 0x10064dee
cmp eax, edi
jae 0x10064dfa
movzx ebp, byte [ecx]
inc eax
inc ecx
cmp ebp, 0xcc
je 0x10064ddd
cmp eax, edi
jae 0x10064dfa
cmp ebp, 0xe9
je 0x10064d7d
mov eax, dword [edx + 8]
mov dword [esp], eax
cmp eax, 0x16
jb 0x10064d7d
mov eax, dword [edx + 0xc]
add ebx, eax
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x10064e1a
mov edx, dword [ecx]
jmp 0x10064e1c
xor edx, edx
add ebx, edx
xor ebp, ebp
mov dword [esp + 0x4c], ebx
jmp 0x10064e28
add ebx, edi
movzx eax, byte [ebx]
test eax, eax
jne 0x10064e36
mov edi, 1
jmp 0x10064e80
cmp eax, 0xa
jne 0x10064f1d
test edx, edx
je 0x10064e4c
cmp edx, dword [ebx + 8]
jbe 0x10064e4c
mov eax, edx
jmp 0x10064e4e
xor eax, eax
movzx ecx, word [ebx + 1]
cmp ecx, 2
jne 0x100653ee
cmp byte [ebx + 3], 0
ja 0x100653ee
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 0x10064e80
add esi, eax
cmp esi, dword [esp + 0x68]
jbe 0x10064e8d
add ebp, edi
cmp ebp, dword [esp]
jae 0x10064f58
jmp 0x10064e26
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x64]
cmp byte [ebx], 0xa
jne 0x10064ee6
movzx eax, word [ebx + 1]
cmp eax, 2
je 0x10064f93
push str.Unknown
push esi
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.101c9050
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
push str.Unknown
push esi
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.101c9050
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.101c9050
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.101c9050
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.101c9050
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.101c9050
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
cmp byte [ebx + 3], 0
ja 0x10064eaf
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.101ab210
add esp, 0xc
mov edi, dword [esp + 0x28]
test edi, edi
jbe 0x10065036
mov eax, dword [esp + 0xc]
mov ecx, 0x16
mov dword [esp + 8], eax
mov eax, edi
shr eax, 1
je 0x1006533c
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 0x10064ff6
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 0x1006503b
mov eax, dword [esp + 8]
movzx edx, word [eax]
lea ecx, [ecx + edx + 2]
jmp 0x1006503b
mov ecx, 0x16
imul eax, dword [esp + 0x24], 0x19
lea edx, [ecx + ebx]
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 0x100653b3
movzx edi, byte [esi]
mov eax, edi
and eax, 0xc0
cmp eax, 0x80
jne 0x10065097
movzx eax, byte [esi]
and eax, 0x3f
inc dword [esp + 0x1c]
lea edx, [edx + eax + 1]
cmp edx, dword [esp + 0x68]
jae 0x10065194
inc esi
mov ecx, esi
sub ecx, dword [esp + 0x4c]
jmp 0x1006505d
cmp eax, 0xc0
jne 0x100650c5
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 0x10065194
add esi, 2
mov ecx, esi
sub ecx, dword [esp + 0x4c]
jmp 0x1006505d
cmp edi, 0xd
ja 0x100652fa
movzx eax, word [edi*2 + 0x102176b4]
add eax, 0x100650de
notrack jmp eax
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
cmp dword [0x102372a0], 0
je 0x10065364
mov edx, dword [0x10237310]
push dword [esp + 0x1c]
push 0x102145c0
lea eax, [esi + 0x208]
push eax
call edx
add esp, 0xc
test edi, edi
je 0x10065346
push ebp
push edi
push esi
call fcn.101ab210
add esp, 0xc
mov byte [ebp + esi], 0
push dword [esp + 0x14]
push dword [esp + 0x14]
lea eax, [esi + 0x104]
push eax
call fcn.101ab210
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.101c9050
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.101c9050
xor eax, eax
add esp, 0x68
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, 1
jmp 0x10065024
push str.Unknown
call fcn.101b2040
push eax
push str.Unknown
push esi
call fcn.101ab210
add esp, 0x10
jmp 0x100651dc
call fcn.10061c60
jmp 0x100651a9
mov esi, dword [esp + 0x64]
push str.Unknown
push esi
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.101c9050
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.101c9050
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.101c9050
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.101c9050
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 0x10064dc4
jmp 0x10064d7d