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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x4c
lea eax, [esp + 0x2c]
push 0x1c
push eax
push dword [esp + 0x6c]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [esp + 0x60]
test eax, eax
je 0x6698e9
mov ebx, dword [esp + 0x30]
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x6698e9
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 0x6698e9
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 0x669871
mov dword [esp + 0x10], esi
mov esi, ecx
push 7
push 0x758f98
push ebp
call fcn.00696e67
add esp, 0xc
test eax, eax
jne 0x66989e
inc ebx
mov dword [esp + 0xc], ebp
add ebp, 0x28
movzx eax, word [esi + 6]
cmp ebx, eax
jae 0x669920
mov edi, 1
mov ecx, esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x6698d3
push 6
push 0x758fa0
push ebp
mov dword [esp + 0xc], ecx
call fcn.00696e67
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x6698d3
mov dword [esp + 8], ebp
inc ebx
mov esi, 1
add ebp, 0x28
jmp 0x6698d7
add ebp, 0x28
inc ebx
movzx eax, word [ecx + 6]
cmp ebx, eax
jae 0x669f9b
test edi, edi
jne 0x6698a4
jmp 0x66986b
push str.Unknown
push esi
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.006dc020
xor eax, eax
add esp, 0x64
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 + 0x60]
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 0x66995a
cmp eax, edi
jae 0x669966
movzx ebp, byte [ecx]
inc eax
inc ecx
cmp ebp, 0xcc
je 0x669949
cmp eax, edi
jae 0x669966
cmp ebp, 0xe9
je 0x6698e9
mov eax, dword [edx + 8]
mov dword [esp], eax
cmp eax, 0x16
jb 0x6698e9
mov eax, dword [edx + 0xc]
add ebx, eax
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x669986
mov edx, dword [ecx]
jmp 0x669988
xor edx, edx
add ebx, edx
xor ebp, ebp
mov dword [esp + 0x48], ebx
jmp 0x669994
add ebx, edi
movzx eax, byte [ebx]
test eax, eax
jne 0x6699a2
mov edi, 1
jmp 0x6699ec
cmp eax, 0xa
jne 0x669a89
test edx, edx
je 0x6699b8
cmp edx, dword [ebx + 8]
jbe 0x6699b8
mov eax, edx
jmp 0x6699ba
xor eax, eax
movzx ecx, word [ebx + 1]
cmp ecx, 2
jne 0x669f60
cmp byte [ebx + 3], 0
ja 0x669f60
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 + 0x64]
jbe 0x6699ec
add esi, eax
cmp esi, dword [esp + 0x64]
jbe 0x6699f9
add ebp, edi
cmp ebp, dword [esp]
jae 0x669ac4
jmp 0x669992
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x60]
cmp byte [ebx], 0xa
jne 0x669a52
movzx eax, word [ebx + 1]
cmp eax, 2
je 0x669aff
push str.Unknown
push esi
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.006dc020
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
push str.Unknown
push esi
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.006dc020
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x60]
push str.Unknown
push esi
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.006dc020
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x60]
push str.Unknown
push esi
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.006dc020
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
cmp byte [ebx + 3], 0
ja 0x669a1b
mov eax, dword [ebx + 4]
lea edx, [ebx + 0x16]
movzx ecx, word [edx]
lea edi, [ebx + 0x18]
mov dword [esp + 0xc], eax
lea eax, [ebx + 0xc]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x24]
mov dword [edx - 0xc], ecx
mov dword [edx - 0x10], edi
push 4
push eax
push edx
call fcn.00695b20
add esp, 0xc
mov ecx, dword [esp + 0x24]
test ecx, ecx
jbe 0x669ba4
mov eax, dword [esp + 0x10]
mov edi, 0x16
mov dword [esp + 8], eax
mov eax, ecx
shr eax, 1
je 0x669eb2
mov dword [esp + 4], ebp
xor edx, edx
mov dword [esp], ecx
mov ebp, dword [esp + 8]
movzx ecx, word [ebp]
inc edx
lea ebp, [ebp + ecx + 2]
movzx esi, word [ebp]
lea edi, [edi + ecx + 2]
lea edi, [edi + esi + 2]
lea ebp, [ebp + esi + 2]
cmp edx, eax
jb 0x669b62
mov dword [esp + 8], ebp
lea eax, [edx + edx + 1]
mov ecx, dword [esp]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 0x60]
dec eax
cmp eax, ecx
jae 0x669ba9
mov eax, dword [esp + 8]
movzx edx, word [eax]
lea edi, [edi + edx + 2]
jmp 0x669ba9
mov edi, 0x16
imul eax, dword [esp + 0xc], 0x19
lea edx, [edi + ebx]
add edi, ebp
xor ebp, ebp
mov dword [esp + 0x1c], edx
xor ecx, ecx
mov dword [esp + 0x20], ebp
add ebx, eax
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
cmp edi, ebx
je 0x669f25
movzx esi, byte [ebp]
mov eax, esi
and eax, 0xc0
cmp eax, 0x80
jne 0x669c02
movzx eax, byte [ebp]
inc ecx
and eax, 0x3f
lea edx, [edx + eax + 1]
cmp edx, dword [esp + 0x64]
jae 0x669cfd
inc ebp
mov edi, ebp
sub edi, dword [esp + 0x48]
jmp 0x669bc9
cmp eax, 0xc0
jne 0x669c2f
movzx esi, byte [ebp]
and esi, 0x3f
movsx eax, byte [ebp + 1]
add ecx, eax
lea edx, [edx + esi + 1]
cmp edx, dword [esp + 0x64]
jae 0x669cfd
add ebp, 2
mov edi, ebp
sub edi, dword [esp + 0x48]
jmp 0x669bc9
cmp esi, 0xd
ja 0x669e70
movzx eax, word [esi*2 + 0x758f4c]
add eax, 0x669c47
jmp eax
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x60]
mov ebx, 0x74ac54
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00692c20
mov ecx, eax
lea eax, [esp + 4]
push eax
push 0
push ebx
push 0xffffffffffffffff
mov ebx, dword [ecx]
lea edx, [esi + 0x208]
push edx
push dword [ecx + 4]
or ebx, 1
push ebx
call fcn.006bd03d
add esp, 0x1c
test ebp, ebp
je 0x669ebc
push dword [esp + 0xc]
push ebp
push esi
call fcn.00695b20
add esp, 0xc
mov eax, dword [esp + 0xc]
mov byte [eax + esi], 0
push dword [esp + 0x18]
push dword [esp + 0x18]
lea eax, [esi + 0x104]
push eax
call fcn.00695b20
add esp, 0xc
mov eax, dword [esp + 0x18]
mov byte [eax + esi + 0x104], 0
xor eax, eax
add esp, 0x4c
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x60]
push str.Unknown
push esi
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.006dc020
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, 1
jmp 0x669b92
push str.Unknown
call fcn.006db820
mov ebx, eax
push ebx
push str.Unknown
push esi
call fcn.00695b20
add esp, 0x10
mov byte [ebx + esi], 0
jmp 0x669d58
mov esi, dword [esp + 0x60]
push str.Unknown
push esi
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.006dc020
xor eax, eax
add esp, 0x64
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, dword [esp + 0x60]
push str.Unknown
push esi
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x104]
push eax
call fcn.006dc020
push str.Unknown
lea eax, [esi + 0x208]
push eax
call fcn.006dc020
xor eax, eax
add esp, 0x64
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 + 0x60]
test edi, edi
jne 0x669930
jmp 0x6698e9