Function at 0x6661aed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0xac
mov edi, dword [edx + 0x44]
mov ebp, dword [eax + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
mov edi, dword [edi + 0xc]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], edi
test ebp, ebp
je 0x6661b998
mov eax, dword [ebx + 0x20]
xor edx, edx
mov edi, dword [eax + 0x34]
mov eax, dword [eax + 0x18]
movsx eax, word [eax + 0x2a]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x54], esi
sub esi, 1
mov dword [esp + 0x48], esi
mov dword [eax + 0x38], esi
xor eax, eax
mov dword [esp + eax + 0x80], edx
add eax, 4
cmp eax, 0x20
jb 0x6661af27
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x30]
lea edx, [eax + 2]
mov dword [esp + 0x90], eax
lea ebx, [eax + 1]
add eax, 3
mov dword [esp + 0x88], edx
mov dword [esp + 0x98], eax
movzx edx, byte [esi + 0x11]
mov dword [esp + 0x4c], ebx
cmp dl, 0x56
je 0x6661b9d8
cmp dl, 0x5a
je 0x6661ba18
mov dword [esp + 0x84], 2
mov esi, dword [esp + 0x1c]
movzx eax, byte [esi + 0x10]
mov byte [esp + 0x3c], al
movzx eax, byte [esi + 0x12]
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x24]
sub edx, 0x56
mov eax, dword [eax + 0x2c]
lea esi, [eax + 1]
add eax, dword [esp + 0x20]
and edx, 0xfd
lea ebx, [eax + 1]
lea ecx, [eax + 2]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ecx
jne 0x6661b881
mov ebx, dword [esp + 0x24]
add eax, 3
mov dword [esp + 0x28], eax
mov dword [ebx + 0x2c], eax
movzx eax, byte [esp + 0x2c]
mov dword [esp + 0x2c], 0
sub eax, 0x56
test al, 0xfd
jne 0x6661b01a
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
mov ebx, ecx
add ebx, 1
mov dword [esp + 0x2c], ebx
mov dword [eax + 0x2c], ebx
cmp byte [esp + 0x3c], 0x4c
je 0x6661b9b8
mov eax, dword [esp + 0x38]
xor edx, edx
test eax, eax
je 0x6661b031
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x4c]
mov eax, dword [eax + 8]
add ecx, esi
mov dword [esp + 0x50], ecx
test eax, eax
je 0x6661b04d
mov eax, dword [eax]
add ecx, eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
lea eax, [ecx + edx]
lea ebx, [eax + 1]
add eax, edx
mov dword [esp + 0x8c], ebx
lea ebx, [eax + 1]
add eax, edx
mov dword [esp + 0x94], ebx
lea ebx, [eax + 1]
add eax, edx
add ecx, 1
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x24]
setne dl
mov dword [esp + 0x44], ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x38]
test eax, eax
setne al
and edx, eax
mov byte [esp + 0x5f], dl
mov eax, dword [esp + 0x20]
xor ebx, ebx
test eax, eax
jle 0x6661b0c9
lea esi, [esi]
lea eax, [esi + ebx]
mov dword [esp], ebx
mov ecx, edi
mov edx, 0x5a
mov dword [esp + 4], eax
mov eax, ebp
add ebx, 1
call fcn.6659fdb0
cmp dword [esp + 0x20], ebx
jne 0x6661b0a8
mov eax, dword [esp + 0x34]
mov edx, 0x5c
mov ecx, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, ebp
call fcn.6659fdb0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 8]
test edx, edx
je 0x6661b960
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
xor ecx, ecx
mov edi, dword [edx]
add esi, dword [eax + 0x4c]
mov dword [esp], 0
mov eax, ebx
call fcn.665b58d0
mov dword [esp + 0x3c], eax
mov eax, ebx
mov ebx, dword [ebx + 0x2c]
mov ecx, ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [ebp + 0x6c]
add ecx, 1
mov dword [eax + 0x2c], ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x44]
cmp ebx, dword [ebp + 0x70]
jge 0x6661c148
mov ecx, dword [ebp + 0x68]
lea eax, [ebx + 1]
mov dword [ebp + 0x6c], eax
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov dword [eax], 0x57
mov eax, dword [ebp]
cmp byte [eax + 0x53], 0
jne 0x6661bf00
mov eax, dword [ebp + 0x6c]
mov ecx, dword [esp + 0x3c]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x68]
lea eax, [eax + edx*4 - 0x14]
mov byte [eax + 1], 0xf7
mov dword [eax + 0x10], ecx
lea ecx, [ebx + 2]
lea eax, [ebx + 4]
mov edx, 0x10
mov dword [esp], eax
mov eax, ebp
mov dword [esp + 4], ecx
call fcn.6659fdb0
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x3c], eax
cmp eax, dword [ebp + 0x70]
jge 0x6661c168
mov ebx, dword [esp + 0x3c]
mov edx, dword [ebp + 0x68]
mov ecx, dword [esp + 0x40]
lea eax, [ebx + 1]
mov dword [ebp + 0x6c], eax
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0xc
mov eax, dword [esp + 0x1c]
sub edi, 1
mov ecx, esi
mov edx, 0x4d
mov dword [esp + 4], edi
mov eax, dword [eax + 0x44]
mov dword [esp], eax
mov eax, ebp
call fcn.6659fdb0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x4c]
mov edx, 0x7a
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp], edi
mov ecx, esi
call fcn.6659fdb0
mov eax, dword [esp + 0x34]
mov dword [esp + 4], edi
mov ecx, esi
mov edx, 0x7b
mov dword [esp], eax
mov eax, ebp
call fcn.6659fdb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x54]
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x20], eax
cmp eax, dword [ebp + 0x70]
jge 0x6661be70
mov edi, dword [esp + 0x20]
mov edx, dword [ebp + 0x68]
lea eax, [edi + 1]
mov dword [ebp + 0x6c], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x30]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov dword [eax], 0x34
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 8]
test esi, esi
je 0x6661b978
mov dword [esp + 0x30], ebp
mov ebx, dword [esp + 0x1c]
xor edi, edi
jmp 0x6661b31f
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x48
mov dword [eax + 4], 0
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0x14]
xor eax, eax
test edx, edx
je 0x6661b2e3
mov eax, dword [edx]
cmp edi, eax
cmovl edi, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x58]
test eax, eax
jne 0x6661b318
mov eax, dword [ebp + 0x20]
cmp eax, str.nth_value
je 0x6661b350
cmp eax, str.first_value
je 0x6661b350
test byte [ebp + 5], 0x10
je 0x6661b318
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
jne 0x6661b810
lea esi, [esi]
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x6661b390
mov ebp, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x70]
jl 0x6661b2a8
mov dword [esp], edx
xor ecx, ecx
mov edx, 0x48
mov eax, esi
mov dword [esp + 4], 0
call fcn.6659fd40
jmp 0x6661b2d5
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x40]
xor ecx, ecx
mov edx, 0x45
mov dword [esp], eax
mov eax, esi
call fcn.6659fdb0
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x40]
xor ecx, ecx
mov edx, 0x45
add eax, 1
mov dword [esp], eax
mov eax, esi
call fcn.6659fdb0
jmp 0x6661b304
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
mov eax, dword [esi + 0x2c]
add edi, eax
add eax, 1
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x2c], edi
test eax, eax
je 0x6661b411
mov edi, esi
mov esi, dword [esi + 8]
test esi, esi
je 0x6661b3f4
mov esi, dword [esp + 0x1c]
mov ecx, eax
mov ebx, dword [esi + 0x18]
mov esi, eax
mov eax, edi
mov edx, ebx
call fcn.6660ea60
mov ecx, eax
cmp esi, eax
je 0x6661b3f4
mov eax, dword [edi + 8]
xor edx, edx
test byte [ebx + 6], 0x20
mov dword [esp], esi
mov dword [esp + 4], 0
sete dl
add edx, 0x4d
call fcn.6659fdb0
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, dword [esp + 0x28]
cmp byte [eax + 0x10], 0x59
mov eax, dword [esp + 0x24]
sete cl
lea ecx, [ecx + ecx*2]
call fcn.665a2090
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x6661b479
mov esi, dword [esp + 0x24]
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x6661b45b
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov ebx, dword [eax + 0x1c]
mov eax, esi
mov edx, ebx
call fcn.6660ea60
mov ecx, eax
cmp edi, eax
je 0x6661b45b
mov eax, dword [esi + 8]
xor edx, edx
test byte [ebx + 6], 0x20
mov dword [esp], edi
mov dword [esp + 4], 0
sete dl
add edx, 0x4d
call fcn.6659fdb0
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, dword [esp + 0x2c]
cmp byte [eax + 0x10], 0x59
mov eax, dword [esp + 0x24]
sete cl
lea ecx, [ecx + ecx*2 + 1]
call fcn.665a2090
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x6c]
cmp byte [esi + 0x10], 0x59
movzx eax, byte [esi + 0x11]
je 0x6661b8a0
cmp byte [esi + 0x12], al
jne 0x6661b4a0
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x6661c048
cmp al, 0x56
je 0x6661be28
cmp al, 0x5a
jne 0x6661b8a8
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x90]
mov edx, 0x25
mov eax, ebp
mov dword [esp], 1
call fcn.6659fdb0
mov dword [esp + 4], 0
mov edx, 0x25
mov eax, ebp
mov dword [esp], 1
mov ecx, dword [esp + 0x98]
call fcn.6659fdb0
cmp byte [esp + 0x5f], 0
jne 0x6661baf0
mov eax, dword [esp + 0x48]
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0xb
mov dword [esp], eax
mov eax, ebp
call fcn.6659fdb0
mov esi, dword [esp + 0x20]
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp]
test esi, esi
lea edx, [eax - 1]
cmovns edx, esi
cmp byte [ecx + 0x53], 0
mov esi, edx
mov edx, 0x666b004c
jne 0x6661b544
mov edx, dword [ebp + 0x68]
lea ecx, [esi + esi*4]
lea edx, [edx + ecx*4]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x6661ba80
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x11], 0x56
je 0x6661baae
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x12], 0x58
je 0x6661bc40
mov dword [esp], 0
xor ecx, ecx
mov edx, 3
mov eax, edi
call fcn.66618ab0
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x12], 0x5a
je 0x6661bc1a
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x10], 0x59
je 0x6661bf90
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jne 0x6661bb8c
mov dword [esp], 0
xor ecx, ecx
mov edx, 1
mov eax, edi
call fcn.66618ab0
mov ecx, dword [esp + 0x28]
mov edx, 2
mov eax, edi
mov dword [esp], 0
call fcn.66618ab0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x38]
add edx, dword [eax + 0x3c]
js 0x6661bc29
mov ecx, dword [esp + 0x54]
mov edx, dword [ebp + 0x6c]
shl ecx, 2
neg ecx
add ecx, dword [eax + 0x40]
mov dword [ecx], edx
mov eax, dword [esp + 0x58]
call fcn.665a22f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x6661b8d0
mov esi, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x70]
cmp esi, eax
jge 0x6661c190
mov ecx, dword [ebp + 0x68]
lea edx, [esi + esi*4]
lea ebx, [esi + 1]
mov dword [ebp + 0x6c], ebx
lea edx, [ecx + edx*4]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], 0
mov dword [edx + 8], ecx
mov dword [edx + 0x10], 0
mov dword [edx], 0x45
mov dword [edx + 4], 0
mov ecx, dword [esp + 0x3c]
lea edx, [ebx - 1]
test ecx, ecx
cmovns edx, ecx
mov ecx, dword [ebp]
cmp byte [ecx + 0x53], 0
mov dword [esp + 0x3c], edx
mov edx, 0x666b004c
jne 0x6661b67a
mov edx, dword [esp + 0x3c]
lea ecx, [edx + edx*4]
mov edx, dword [ebp + 0x68]
lea edx, [edx + ecx*4]
mov dword [edx + 8], ebx
cmp ebx, eax
jge 0x6661b8e0
mov edx, dword [ebp + 0x68]
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x6c], eax
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov dword [eax + 0x10], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], 0x25
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x12], 0x58
je 0x6661b90f
mov eax, dword [esp + 0x1c]
mov ecx, 0
mov edx, 3
cmp byte [eax + 0x11], 0x56
mov dword [esp], 0
mov eax, edi
je 0x6661bca0
call fcn.66618ab0
mov eax, dword [ebp + 0x6c]
xor ecx, ecx
mov edx, 1
mov dword [esp], 1
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.66618ab0
mov dword [esp], 0
mov ecx, dword [esp + 0x28]
mov edx, 2
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.66618ab0
mov ecx, dword [esp + 0x24]
mov edx, 0xb
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp], ecx
xor ecx, ecx
call fcn.6659fdb0
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 0x6c]
mov ecx, 0x666b004c
test edi, edi
lea edx, [eax - 1]
cmovns edx, edi
mov edi, edx
mov edx, dword [ebp]
movzx edx, byte [edx + 0x53]
test dl, dl
jne 0x6661b768
lea ecx, [edi + edi*4]
mov edi, dword [ebp + 0x68]
lea ecx, [edi + ecx*4]
mov dword [ecx + 8], eax
lea ecx, [eax - 1]
test ebx, ebx
cmovs ebx, ecx
mov ecx, 0x666b004c
test dl, dl
jne 0x6661b785
mov edx, dword [ebp + 0x68]
lea ecx, [ebx + ebx*4]
lea ecx, [edx + ecx*4]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x90]
mov edx, 0x8d
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.6659fdb0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 8]
test edx, edx
je 0x6661b804
mov eax, dword [eax + 0x58]
test eax, eax
jne 0x6661bde0
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp]
test esi, esi
lea edx, [eax - 1]
cmovs esi, edx
cmp byte [ecx + 0x53], 0
mov edx, 0x666b004c
jne 0x6661b7e2
mov edx, dword [ebp + 0x68]
lea ecx, [esi + esi*4]
lea edx, [edx + ecx*4]
mov dword [edx + 4], eax
mov ecx, dword [esp + 0x40]
mov edx, 0x41
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.6659fdb0
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0
mov edx, 0x8d
mov eax, esi
mov dword [esp], 0
call fcn.6659fdb0
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x40]
xor ecx, ecx
mov edx, 0x45
add eax, 1
mov dword [esp], eax
mov eax, esi
call fcn.6659fdb0
jmp 0x6661b318
cmp byte [esp + 0x2c], 0x58
je 0x6661c1e2
mov dword [esp + 0x84], 1
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x2c]
lea esi, [eax + 1]
add eax, dword [esp + 0x20]
lea ebx, [eax + 1]
add eax, 2
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
mov dword [eax + 0x2c], ebx
jmp 0x6661aff3
cmp al, 0x56
jne 0x6661b4a8
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x88]
mov edx, 0x25
mov eax, ebp
mov dword [esp], 1
call fcn.6659fdb0
jmp 0x6661b4b0
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x70]
xor esi, esi
cmp ebx, eax
jl 0x6661b685
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x4c]
mov edx, 0x25
mov eax, ebp
mov dword [esp], 0
call fcn.6659fd40
mov ebx, eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x12], 0x58
jne 0x6661b6c4
movzx eax, word [eax + 0x10]
mov dword [esp], 0
mov edx, 3
mov ecx, dword [esp + 0x2c]
mov word [esp + 0x20], ax
mov eax, edi
call fcn.66618ab0
cmp word [esp + 0x20], 0x5859
je 0x6661c254
mov dword [esp], 0
mov edx, 1
xor ecx, ecx
mov eax, edi
call fcn.66618ab0
mov edx, dword [ebp]
mov eax, dword [ebp + 0x6c]
movzx edx, byte [edx + 0x53]
jmp 0x6661b76b
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
jmp 0x6661b205
mov edx, dword [eax + 0x74]
test edx, edx
je 0x6661bf40
mov eax, dword [esp + 0x24]
call fcn.6659fe10
mov esi, eax
jmp 0x6661b296
mov edx, dword [eax + 0x74]
test edx, edx
je 0x6661bf60
mov eax, dword [esp + 0x24]
call fcn.6659fe10
mov ebp, eax
jmp 0x6661aefd
mov byte [esp + 0x5f], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x50], 0
jmp 0x6661b09b
mov esi, dword [esp + 0x1c]
movzx eax, byte [esi + 0x10]
mov byte [esp + 0x3c], al
cmp al, 0x59
jne 0x6661be98
movzx eax, byte [esi + 0x12]
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x2c]
lea esi, [eax + 1]
add eax, dword [esp + 0x20]
lea ebx, [eax + 1]
mov dword [esp + 0x34], ebx
lea ebx, [eax + 2]
mov dword [esp + 0x30], ebx
jmp 0x6661afe5
mov esi, dword [esp + 0x1c]
movzx eax, byte [esi + 0x12]
mov byte [esp + 0x2c], al
movzx eax, byte [esi + 0x10]
mov byte [esp + 0x3c], al
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x6661b865
mov ecx, esi
jmp 0x6661ba56
cmp eax, 0x6668f488
je 0x6661b865
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x6661b84f
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
sete dl
cmp eax, str.first_value
sete bl
or edx, ebx
cmp eax, str.lead
sete bl
or dl, bl
je 0x6661ba40
jmp 0x6661b865
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call fcn.665b5960
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x11], 0x56
jne 0x6661b561
mov dword [esp], 0
xor ecx, ecx
mov edx, 3
mov eax, edi
call fcn.66618ab0
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x12], 0x5a
je 0x6661bc1a
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x10], 0x59
je 0x6661c270
mov dword [esp], 0
mov ecx, dword [esp + 0x2c]
jmp 0x6661b5b5
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov edx, 0x4d
mov ecx, dword [esp + 0x50]
mov eax, dword [esi]
mov dword [esp], ebx
mov dword [esp + 0x30], eax
sub eax, 1
mov dword [esp + 4], eax
mov eax, ebp
call fcn.6659fdb0
mov eax, dword [esi]
mov ecx, ebx
mov edx, 0x4d
mov dword [esp + 0x30], eax
sub eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, ebp
call fcn.6659fdb0
mov eax, dword [esi]
mov ecx, ebx
mov edx, 0x4d
mov dword [esp + 0x30], eax
sub eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, ebp
call fcn.6659fdb0
mov eax, dword [esi]
mov ecx, ebx
mov edx, 0x4d
mov dword [esp + 0x30], eax
sub eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, ebp
call fcn.6659fdb0
jmp 0x6661b4ff
mov ebx, dword [ebp + 0x6c]
cmp ebx, dword [ebp + 0x70]
jge 0x6661c331
mov edx, dword [ebp + 0x68]
lea eax, [ebx + 1]
mov esi, dword [esp + 0x2c]
mov dword [ebp + 0x6c], eax
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 0
mov dword [eax], 0x30
mov dword [esp], 0
xor ecx, ecx
mov edx, 1
mov eax, edi
call fcn.66618ab0
mov ecx, dword [esp + 0x28]
mov edx, 2
mov eax, edi
mov dword [esp], 0
call fcn.66618ab0
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp]
test ebx, ebx
lea edx, [eax - 1]
cmovs ebx, edx
cmp byte [ecx + 0x53], 0
mov edx, 0x666b004c
jne 0x6661bc17
mov edx, dword [ebp + 0x68]
lea ecx, [ebx + ebx*4]
lea edx, [edx + ecx*4]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x38]
add edx, dword [eax + 0x3c]
jns 0x6661b5e7
mov ecx, dword [esp + 0x54]
mov edx, ebp
neg ecx
call fcn.6659a020
jmp 0x6661b5f8
movzx ebx, word [eax + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, 3
mov eax, edi
mov dword [esp], 0
call fcn.66618ab0
mov dword [esp], 0
cmp bx, 0x5859
jne 0x6661b5b3
mov ecx, dword [esp + 0x28]
mov edx, 2
mov eax, edi
call fcn.66618ab0
mov dword [esp], 0
xor ecx, ecx
mov eax, edi
mov edx, 1
call fcn.66618ab0
mov eax, dword [ebp + 0xc]
jmp 0x6661b5db
call fcn.66618ab0
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x10], 0x59
je 0x6661c214
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x12], 0x5a
mov eax, dword [ebp + 0x6c]
mov dword [esp], 1
mov dword [esp + 0x20], eax
je 0x6661becb
mov ecx, dword [esp + 0x2c]
mov edx, 1
mov eax, edi
call fcn.66618ab0
mov dword [esp], 1
mov ecx, dword [esp + 0x28]
mov edx, 2
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.66618ab0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0xb
mov dword [esp], eax
mov eax, ebp
call fcn.6659fdb0
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp]
mov dword [esp + 0x20], eax
sub eax, 1
test ecx, ecx
cmovns eax, ecx
cmp byte [edx + 0x53], 0
mov ecx, eax
mov eax, 0x666b004c
jne 0x6661bd47
mov eax, dword [ebp + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov ecx, dword [esp + 0x20]
mov edx, 1
mov dword [eax + 8], ecx
xor ecx, ecx
mov eax, edi
mov dword [esp], 1
call fcn.66618ab0
mov ecx, dword [esp + 0x20]
mov edx, 0xb
mov dword [esp + 4], 0
mov dword [esp + 0x28], eax
mov eax, ebp
mov dword [esp], ecx
xor ecx, ecx
call fcn.6659fdb0
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x6c]
test edx, edx
lea edi, [eax - 1]
cmovs edx, edi
mov dword [esp + 0x20], edi
mov ecx, edx
mov edx, dword [ebp]
movzx edx, byte [edx + 0x53]
test dl, dl
jne 0x6661bf80
mov edi, dword [ebp + 0x68]
mov dword [esp + 0x24], edi
lea edi, [ecx + ecx*4]
mov ecx, edi
mov edi, dword [esp + 0x24]
mov dword [edi + ecx*4 + 8], eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov edi, ecx
cmovs edi, dword [esp + 0x20]
lea ecx, [edi + edi*4]
mov edi, dword [esp + 0x24]
lea ecx, [edi + ecx*4]
jmp 0x6661b768
mov dword [esp], eax
mov ecx, 1
mov edx, 0x45
mov eax, ebp
mov dword [esp + 4], 0
call fcn.6659fdb0
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, 0x45
mov dword [esp + 4], 0
mov eax, dword [eax + 0x5c]
mov dword [esp], eax
mov eax, ebp
call fcn.6659fdb0
jmp 0x6661b7c0
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x10], 0x59
je 0x6661b8a8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x6661b8a8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, 0x6b
mov dword [esp], eax
mov eax, ebp
mov dword [esp + 4], ecx
call fcn.6659fdb0
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 0x11]
jmp 0x6661b4a8
mov eax, dword [esp + 0x30]
mov dword [esp], 0
mov edx, 0x34
mov dword [esp + 4], eax
mov eax, ebp
call fcn.6659fd40
mov dword [esp + 0x20], eax
jmp 0x6661b287
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 0x18]
mov eax, dword [eax]
call fcn.665be820
test eax, eax
jne 0x6661c1ba
movzx eax, byte [ebx + 0x10]
movzx edx, byte [ebx + 0x11]
mov byte [esp + 0x3c], al
movzx eax, byte [ebx + 0x12]
mov byte [esp + 0x2c], al
jmp 0x6661afba
mov ecx, dword [esp + 0x28]
mov edx, 1
mov eax, edi
call fcn.66618ab0
mov dword [esp], 1
xor ecx, ecx
mov edx, 2
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.66618ab0
mov dword [esp + 0x28], eax
jmp 0x6661bcfe
mov eax, dword [eax + 0x200]
test eax, eax
jne 0x6661b188
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x6661b188
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
sub eax, 1
mov dword [ecx], eax
jne 0x6661b188
mov eax, dword [ecx + 0xc]
mov edx, ecx
call fcn.665926e0
jmp 0x6661b188
mov edi, eax
mov eax, dword [eax]
test byte [eax + 0x4c], 8
jne 0x6661b983
mov byte [edi + 0x17], 1
jmp 0x6661b983
mov edi, eax
mov eax, dword [eax]
test byte [eax + 0x4c], 8
jne 0x6661b9a3
mov byte [edi + 0x17], 1
jmp 0x6661b9a3
mov dword [0x666b0054], eax
mov ecx, 0x666b004c
jmp 0x6661b768
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x6661b5ac
mov ecx, dword [esp + 0x24]
mov esi, dword [ebp + 0x6c]
mov edx, 0x39
mov ebx, dword [ecx + 0x38]
lea eax, [ebx - 1]
mov dword [ecx + 0x38], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, edi
call fcn.665b5ab0
mov dword [esp], 0
xor ecx, ecx
mov eax, edi
mov edx, 1
call fcn.66618ab0
mov ecx, dword [esp + 0x28]
mov edx, 2
mov eax, edi
mov dword [esp], 0
call fcn.66618ab0
mov dword [esp], esi
xor ecx, ecx
mov edx, 0xb
mov dword [esp + 4], 0
mov eax, ebp
call fcn.6659fdb0
mov eax, dword [ebp + 0xc]
mov ecx, ebx
neg ecx
mov edx, dword [eax + 0x38]
add edx, dword [eax + 0x3c]
js 0x6661c357
mov ecx, dword [ebp + 0x6c]
lea edx, [ebx*4]
neg edx
add edx, dword [eax + 0x40]
mov dword [edx], ecx
jmp 0x6661b5db
xor edx, edx
cmp al, 0x56
mov ebx, dword [ebp + 0x6c]
sete dl
lea edx, [edx + edx + 0x37]
cmp ebx, dword [ebp + 0x70]
jge 0x6661c310
mov ecx, dword [ebp + 0x68]
lea eax, [ebx + 1]
mov edi, dword [esp + 0x28]
mov dword [ebp + 0x6c], eax
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x2c]
mov byte [eax], dl
xor edx, edx
mov word [eax + 2], dx
mov dword [eax + 8], 0
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
xor ecx, ecx
lea edi, [esp + 0x6c]
call fcn.6659fee0
mov dword [esp + 4], 0
mov edx, 0x25
mov eax, ebp
mov dword [esp], 1
mov ecx, dword [esp + 0x90]
call fcn.6659fdb0
mov eax, edi
call fcn.666180a0
mov dword [esp + 4], 0
mov edx, 0x8d
mov eax, ebp
mov dword [esp], 0
mov ecx, dword [esp + 0x90]
call fcn.6659fdb0
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov edx, 0xb
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, ebp
call fcn.6659fdb0
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp]
test ebx, ebx
lea edx, [eax - 1]
cmovs ebx, edx
cmp byte [ecx + 0x53], 0
mov edx, 0x666b004c
jne 0x6661c133
mov edx, dword [ebp + 0x68]
lea ecx, [ebx + ebx*4]
lea edx, [edx + ecx*4]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 0x11]
jmp 0x6661b4a0
mov dword [esp], edx
mov ecx, esi
mov edx, 0x57
mov eax, ebp
mov dword [esp + 4], edi
call fcn.6659fd40
mov ebx, eax
jmp 0x6661b163
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x40]
mov edx, 0xc
mov eax, ebp
mov dword [esp], 0
call fcn.6659fd40
mov dword [esp + 0x3c], eax
jmp 0x6661b1e6
mov eax, dword [esp + 0x40]
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0x45
mov dword [esp], eax
mov eax, ebp
call fcn.6659fd40
mov ebx, dword [ebp + 0x6c]
mov esi, eax
mov eax, dword [ebp + 0x70]
jmp 0x6661b64f
mov dword [esp + 0x84], 1
mov esi, dword [esp + 0x1c]
movzx eax, byte [esi + 0x10]
movzx edx, byte [esi + 0x11]
mov byte [esp + 0x3c], al
movzx eax, byte [esi + 0x12]
mov byte [esp + 0x2c], al
jmp 0x6661afba
cmp byte [esp + 0x3c], 0x59
je 0x6661b865
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x1c]
mov eax, dword [eax]
call fcn.665be820
test eax, eax
je 0x6661c1c9
mov dword [esp + 0x84], 3
mov esi, dword [esp + 0x1c]
jmp 0x6661c1c9
mov eax, dword [ebp + 0x6c]
mov dword [esp], 1
mov edx, 2
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.66618ab0
mov dword [esp], 1
xor ecx, ecx
mov edx, 1
mov dword [esp + 0x28], eax
mov eax, edi
call fcn.66618ab0
mov dword [esp + 0x24], eax
jmp 0x6661bcfe
mov dword [esp], 0
mov ecx, dword [esp + 0x28]
mov edx, 2
mov eax, edi
call fcn.66618ab0
jmp 0x6661b93c
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
mov edx, 0x39
mov ebx, dword [esi + 0x38]
lea eax, [ebx - 1]
mov dword [esi + 0x38], eax
mov esi, dword [ebp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, edi
call fcn.665b5ab0
mov ecx, dword [esp + 0x28]
mov edx, 2
mov eax, edi
mov dword [esp], 0
call fcn.66618ab0
mov dword [esp], 0
xor ecx, ecx
mov eax, edi
mov edx, 1
call fcn.66618ab0
mov dword [esp], esi
xor ecx, ecx
mov edx, 0xb
mov dword [esp + 4], 0
mov eax, ebp
call fcn.6659fdb0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x38]
add edx, dword [eax + 0x3c]
jns 0x6661c02d
neg ebx
mov edx, ebp
mov ecx, ebx
call fcn.6659a020
mov eax, dword [ebp + 0xc]
jmp 0x6661b5db
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, ebp
call fcn.6659fd40
mov ebx, eax
jmp 0x6661c096
mov dword [esp + 4], 1
mov ecx, dword [esp + 0x2c]
mov edx, 0x30
mov eax, ebp
mov dword [esp], 0
call fcn.6659fd40
mov ebx, eax
jmp 0x6661bbc9
mov edx, ebp
call fcn.6659a020
mov eax, dword [ebp + 0xc]
jmp 0x6661b5db