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

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x74]
movzx eax, byte [eax]
mov byte [esp + 0x24], al
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
test edx, edx
je 0x6661a1b0
mov eax, dword [esp + 0x74]
movzx eax, byte [eax + 1]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x66619f68
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
test edx, edx
je 0x66619f68
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + 0x1c]
test ecx, ecx
sete cl
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov ebp, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x2c]
test ebp, ebp
jne 0x66619fd2
mov ebp, dword [edx]
mov edx, dword [esp + 0x70]
movzx edx, byte [edx + 0x20]
mov byte [esp + 0x28], dl
and edx, 1
cmp dl, 1
adc ebp, 0
mov dword [esp + 0x38], ebp
add eax, ebp
mov edx, dword [esp + 0x78]
lea ebp, [eax + 1]
add eax, dword [esp + 0x10]
mov dword [edx + 0xc], ebp
mov edx, dword [esp + 0x14]
mov dword [edx + 0x2c], eax
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
mov dword [edx + 0x10], eax
test edi, edi
js 0x6661a006
test eax, eax
jle 0x66619e31
xor esi, esi
lea esi, [esi]
nop
lea eax, [esi + ebp]
mov dword [esp], esi
mov ecx, edi
mov edx, 0x5a
mov dword [esp + 4], eax
mov eax, ebx
add esi, 1
call fcn.6659fdb0
cmp esi, dword [esp + 0x10]
jne 0x66619e10
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6661a130
mov eax, dword [esp + 0x74]
movzx eax, byte [eax + 1]
cmp al, 1
je 0x6661a788
cmp al, 2
jne 0x6661a720
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x2c]
lea ecx, [eax + 1]
add eax, dword [esp + 0x10]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [ebx]
movzx edx, byte [eax + 0x53]
test dl, dl
je 0x6661a2c0
mov esi, dword [ebx + 0x6c]
mov eax, 0x666b004c
test ecx, ecx
js 0x6661a4d8
mov edi, dword [esp + 0x1c]
mov byte [eax], 0x48
mov dword [eax + 4], 1
mov dword [eax + 8], edi
mov eax, dword [esp + 0x10]
add esi, eax
lea edi, [eax - 1]
mov dword [esp + 0x3c], esi
xor esi, esi
mov dword [esp + 0x28], edi
test eax, eax
jle 0x6661a6e4
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x14]
jmp 0x66619f1e
mov eax, dword [esp + 0x3c]
mov edx, 0x34
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
mov dword [esp], 0xfffffffe
mov eax, ebx
mov ecx, edi
mov edx, 0xffffffff
call fcn.6659aa70
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x66619f11
mov edx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
mov ecx, pe_nt_image_headers32
lea eax, [edx + eax*4]
mov word [eax - 0x12], cx
add esi, 1
cmp dword [esp + 0x10], esi
je 0x6661a6e0
mov edi, dword [esp + 0x18]
lea eax, [esi + esi*4]
shl eax, 2
add eax, dword [edi + 0x1c]
mov edx, dword [eax + 4]
mov eax, ebp
call fcn.665b4ee0
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x1c]
add ecx, esi
add eax, esi
cmp dword [esp + 0x28], esi
mov dword [esp + 4], eax
jg 0x66619ed0
mov eax, dword [esp + 0x7c]
mov edx, 0x35
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
jmp 0x66619ee3
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x6661aad1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x66619f9a
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], 1
mov edx, 0x30
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
mov esi, dword [eax + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov ebp, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x2c]
test ebp, ebp
je 0x6661a7c8
mov dword [esp + 0x70], 0
mov ecx, 1
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], 0
add edx, ebp
cmp edx, eax
jle 0x66619dee
mov edx, dword [esp + 0x14]
add eax, dword [esp + 0x10]
mov dword [edx + 0x2c], eax
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
mov dword [edx + 0x10], eax
test edi, edi
jns 0x66619e01
mov edi, dword [esp + 0x20]
cmp edi, 3
je 0x6661a620
lea eax, [edi - 9]
cmp eax, 1
setbe dl
cmp edi, 0xd
sete al
mov edi, edx
or edi, eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x6661a180
test cl, cl
je 0x6661a180
movzx eax, byte [esp + 0x24]
and eax, 0xfffffffd
cmp al, 0xc
je 0x6661a180
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x70]
or edi, 0xc
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
cmp eax, edx
jge 0x6661a0a5
lea edx, [eax + eax*4 + 5]
mov dword [esp + 0x30], ebp
lea edx, [ecx + edx*4]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x28], ebx
sub ecx, eax
xor eax, eax
lea esi, [esi]
nop
movzx ebx, word [edx]
test ebx, ebx
je 0x6661a093
lea ebx, [ebx + ebx*4 - 5]
lea ebp, [eax + 1]
mov word [esi + ebx*4 + 0x14], bp
add eax, 1
add edx, 0x14
cmp eax, ecx
jne 0x6661a080
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x6661ab69
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ebp
lea edx, [esi + 0x14]
xor eax, eax
mov dword [esp + 0x28], ebx
mov ebx, ecx
lea esi, [esi]
cmp word [edx], 0
je 0x6661a0d9
mov dword [esp + 0x34], 0
sub ecx, 1
add eax, 1
add edx, 0x14
cmp eax, ebx
jne 0x6661a0c8
mov ebx, dword [esp + 0x28]
mov eax, edi
mov dword [esp + 0x48], ebp
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x6661a825
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x6661a825
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], 0
mov dword [edi + 0x24], eax
jmp 0x66619e35
cmp byte [esp + 0x24], 0xf
ja case.0x6661a13b.0
mov eax, dword [esp + 0x20]
jmp dword [eax*4 + 0x666824f4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ebp
mov edx, 0x87
mov dword [esp + 4], eax
mov eax, ebx
call fcn.6659fdb0
lea esi, [esi]
nop
mov eax, dword [esp + 0x70]
test eax, eax
je case.0x6661a77c.0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
mov dword [esp + 0x48], ebp
mov byte [esp + 0x4c], al
mov dword [esp + 0x34], ebp
mov eax, edi
mov dword [esp], 0
mov ecx, ebp
mov edx, esi
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
call fcn.666177a0
jmp 0x66619e35
mov eax, dword [esp + 0x70]
test eax, eax
je 0x66619f74
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
test edx, edx
je 0x66619f74
mov dword [esp + 0x1c], 0
jmp 0x66619d90
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x6661a32c
lea esi, [esi]
nop
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
test ecx, ecx
je case.0x6661a718.0
mov eax, dword [esp + 0x80]
mov dword [esp + 4], 0
mov edx, 0x3b
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
jmp case.0x6661a718.0
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
lea edi, [esi + 1]
mov edx, edi
call fcn.66588c30
mov ecx, ebp
mov edx, 0x5c
add esi, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
cmp dword [esp + 0x20], 5
je 0x6661a966
mov ebp, dword [esp + 0x70]
test ebp, ebp
je 0x6661a82e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], 1
mov dword [esp], esi
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
call fcn.666196c0
cmp edi, 1
je 0x6661a958
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 0x1c]
jle case.0x6661a13b.0
mov dword [eax + 0x1c], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + 0x20], edi
jmp case.0x6661a13b.0
mov edx, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov edi, 0xb0
lea esi, [edx + ecx*4]
mov ecx, dword [esi + 0x10]
movsx edx, byte [esi + 1]
call fcn.6659a7d0
mov eax, dword [esp + 0x74]
mov word [esi], di
mov dword [esi + 0x10], 0
mov esi, dword [ebx + 0x6c]
mov ecx, dword [eax + 8]
mov eax, dword [ebx]
movzx edx, byte [eax + 0x53]
test ecx, ecx
js 0x6661a4d8
mov eax, 0x666b004c
test dl, dl
jne 0x66619e93
mov eax, dword [ebx + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
jmp 0x66619e93
mov edi, dword [esp + 0x70]
test edi, edi
je case.0x6661a77c.9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp], ebp
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
call fcn.666196c0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x18]
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0x13]
test al, al
je 0x6661a8e1
mov ecx, dword [esp + 0x14]
sub eax, 1
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x94]
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 2]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.66588c30
add esi, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], esi
add esi, 1
cmp dword [esp + 0x20], 6
je 0x6661a9be
mov eax, dword [esp + 0x10]
mov dword [esp + 4], esi
mov ecx, ebp
mov edx, 0x5c
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 0
test eax, eax
jle 0x6661ab09
add edi, 0x14
xor esi, esi
lea esi, [esi]
movzx eax, word [edi]
mov dword [esp + 4], 0
mov edx, 0x4e
add edi, 0x14
lea ecx, [ebp + eax - 1]
mov eax, dword [esp + 0x24]
add eax, esi
add esi, 1
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
cmp dword [esp + 0x1c], esi
jg 0x6661a3f8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, 0x79
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov eax, ebx
mov ebp, dword [esp + 0x24]
mov edx, 0x5c
mov dword [esp + 4], edi
mov dword [esp], esi
mov ecx, ebp
call fcn.6659fdb0
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x2c]
mov eax, ebx
mov dword [esp + 4], ebp
mov edx, 0x85
mov dword [esp], edi
call fcn.665a0980
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x6661a8fb
mov edi, dword [esp + 0x30]
test edi, edi
je 0x6661a4a7
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 0x13]
cmp al, 7
jbe 0x6661a7e2
cmp dword [esp + 0x28], 1
je 0x6661a92a
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
cmp edi, dword [eax + 0x1c]
jle case.0x6661a13b.0
mov dword [eax + 0x1c], edi
mov edi, dword [esp + 0x24]
mov dword [eax + 0x20], edi
jmp case.0x6661a13b.0
lea ecx, [esi - 1]
jmp 0x6661a2fc
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x6661a32c
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0x13]
test al, al
je 0x6661aa68
mov ecx, dword [esp + 0x14]
sub eax, 1
mov byte [ecx + 0x13], al
movzx eax, al
mov esi, dword [ecx + eax*4 + 0x94]
mov eax, dword [esp + 0x80]
mov dword [esp + 4], 0
mov ecx, ebp
mov edx, 0x32
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
mov edx, dword [esp + 0x10]
mov eax, edi
mov dword [esp + 4], esi
shr eax, 0x1f
sub edx, eax
lea ecx, [eax + ebp]
mov eax, ebx
mov dword [esp], edx
mov edx, 0x5c
call fcn.6659fdb0
test edi, edi
js 0x6661aa4c
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x2c]
mov edx, 0x85
mov eax, ebx
mov dword [esp + 4], ebp
mov dword [esp], esi
call fcn.665a0980
jmp case.0x6661a77c.0
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x6661a32c
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0x13]
test al, al
je 0x6661aa7e
mov edi, dword [esp + 0x14]
sub eax, 1
mov byte [edi + 0x13], al
movzx eax, al
mov esi, dword [edi + eax*4 + 0x94]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
mov ecx, ebp
mov edx, 0x5c
mov dword [esp + 0xc], edi
mov eax, dword [eax + 0x14]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, ebx
mov dword [esp], edi
call fcn.665a0890
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x2c]
mov eax, ebx
mov dword [esp + 4], ebp
mov edx, 0x85
mov dword [esp], esi
call fcn.665a0980
test esi, esi
je case.0x6661a77c.0
mov edi, dword [esp + 0x14]
movzx eax, byte [edi + 0x13]
cmp al, 7
ja case.0x6661a77c.0
lea edx, [eax + 1]
mov byte [edi + 0x13], dl
mov dword [edi + eax*4 + 0x94], esi
jmp case.0x6661a77c.0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], ebp
test edx, edx
jne 0x66619e41
mov eax, dword [esp + 0x2c]
mov ecx, 1
mov edx, 0x45
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
jmp case.0x6661a13b.0
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0x13]
test al, al
je 0x6661a8cb
mov edi, dword [esp + 0x14]
sub eax, 1
mov byte [edi + 0x13], al
movzx eax, al
mov esi, dword [edi + eax*4 + 0x94]
mov edi, dword [esp + 0x10]
mov dword [esp + 4], esi
mov ecx, ebp
mov edx, 0x5c
mov eax, ebx
mov dword [esp], edi
call fcn.6659fdb0
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x2c]
mov eax, ebx
mov dword [esp + 4], ebp
mov edx, 0x85
mov dword [esp], esi
call fcn.665a0980
test esi, esi
je case.0x6661a13b.0
mov edi, dword [esp + 0x14]
movzx eax, byte [edi + 0x13]
cmp al, 7
ja case.0x6661a13b.0
lea edx, [eax + 1]
mov byte [edi + 0x13], dl
mov dword [edi + eax*4 + 0x94], esi
jmp case.0x6661a13b.0
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ecx, ebp
mov edx, 0x4d
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x6661a747
cmp byte [esp + 0x24], 0xf
ja case.0x6661a718.0
mov eax, dword [esp + 0x20]
jmp dword [eax*4 + 0x66682534]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 4], ebp
mov dword [esp], eax
mov eax, dword [esp + 0x14]
call fcn.665a1380
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x6661a709
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x6661a76d
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], 1
mov edx, 0x30
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
cmp byte [esp + 0x24], 0xf
ja case.0x6661a77c.0
mov eax, dword [esp + 0x20]
jmp dword [eax*4 + 0x66682574]
mov eax, dword [ebx]
cmp byte [eax + 0x53], 0
jne 0x6661a701
mov edi, dword [esp + 0x74]
mov edx, dword [edi + 8]
lea ecx, [edx + edx*4]
mov edx, dword [ebx + 0x68]
lea esi, [edx + ecx*4]
mov ecx, dword [esi + 0x10]
movsx edx, byte [esi + 1]
call fcn.6659a7d0
mov eax, 0xb0
mov dword [esi + 0x10], 0
mov word [esi], ax
jmp 0x6661a701
mov dword [esp + 0x38], 0
mov ecx, 1
mov dword [esp + 0x70], 0
jmp 0x66619dd9
lea edx, [eax + 1]
mov byte [ecx + 0x13], dl
mov dword [ecx + eax*4 + 0x94], edi
jmp 0x6661a4a7
cmp dword [esp + 0x20], 0xd
je 0x6661aa94
mov eax, dword [esp + 0x10]
mov dword [esp + 4], 0
mov ecx, ebp
mov edx, 0x51
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
jmp case.0x6661a77c.0
mov dword [esp + 0x10], ecx
jmp 0x6661a18e
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0x13]
test al, al
je 0x6661aabb
mov ecx, dword [esp + 0x14]
sub eax, 1
mov byte [ecx + 0x13], al
movzx eax, al
mov esi, dword [ecx + eax*4 + 0x94]
mov ebp, dword [esp + 0x2c]
mov dword [esp], esi
mov edx, 0x7a
mov eax, ebx
mov dword [esp + 4], 0
mov ecx, ebp
call fcn.6659fdb0
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], esi
mov ecx, ebp
mov edx, 0x7b
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x6661a8a1
mov edx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
mov ecx, 8
lea eax, [edx + eax*4]
mov word [eax - 0x12], cx
test esi, esi
je 0x6661a294
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 0x13]
cmp al, 7
ja 0x6661a294
lea edx, [eax + 1]
mov byte [ecx + 0x13], dl
mov dword [ecx + eax*4 + 0x94], esi
jmp 0x6661a294
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x2c]
lea esi, [edi + 1]
mov dword [esp + 0x1c], edi
mov dword [eax + 0x2c], esi
jmp 0x6661a67c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x24], ecx
add ecx, 1
mov dword [esp + 0x30], ecx
mov dword [eax + 0x2c], ecx
jmp 0x6661a395
mov edi, dword [esp + 0x20]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx]
test edi, edi
lea edx, [eax - 1]
cmovns edx, edi
cmp byte [ecx + 0x53], 0
mov edi, edx
mov edx, 0x666b004c
jne 0x6661a922
mov edx, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
lea edx, [edx + ecx*4]
mov dword [edx + 8], eax
jmp 0x6661a48f
mov edi, dword [esp + 0x24]
test edi, edi
je case.0x6661a13b.0
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 0x13]
cmp al, 7
ja case.0x6661a13b.0
lea edx, [eax + 1]
mov byte [ecx + 0x13], dl
mov dword [ecx + eax*4 + 0x94], edi
jmp case.0x6661a13b.0
mov edi, dword [esp + 0x1c]
test edi, edi
je case.0x6661a13b.0
jmp 0x6661a936
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0
lea ecx, [eax + 1]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 4], eax
mov edx, dword [ebx + 0x6c]
lea eax, [edx + 4]
mov edx, 0x1e
mov dword [esp], eax
mov eax, ebx
call fcn.665a0980
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ebp
mov edx, 0x85
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov eax, ebx
call fcn.665a0980
jmp 0x6661a25c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov edx, 0x1e
mov dword [esp], 0
mov dword [esp + 8], ecx
add eax, 1
mov ecx, eax
mov dword [esp + 0x38], eax
mov eax, ebx
call fcn.665a0980
mov edx, dword [esp + 0x10]
mov dword [esp + 4], esi
mov ecx, ebp
mov dword [esp + 0x20], eax
mov eax, ebx
mov dword [esp], edx
mov edx, 0x5c
call fcn.6659fdb0
mov dword [esp], esi
mov ecx, dword [esp + 0x38]
mov eax, ebx
mov dword [esp + 4], 0
mov edx, 0x85
call fcn.6659fdb0
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x6661aa3b
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
mov esi, 0x10
lea eax, [ecx + eax*4]
mov word [eax - 0x12], si
mov edx, dword [esp + 0x1c]
test edx, edx
jg 0x6661a3f0
jmp 0x6661a428
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0x2c]
mov edx, 0x7b
mov eax, ebx
mov dword [esp], esi
call fcn.6659fdb0
jmp case.0x6661a77c.0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
lea esi, [ecx + 1]
mov dword [esp + 0x14], ecx
mov dword [eax + 0x2c], esi
jmp 0x6661a517
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x2c]
lea esi, [edi + 1]
mov dword [esp + 0x1c], edi
mov dword [eax + 0x2c], esi
jmp 0x6661a5b0
mov eax, dword [esp + 0x78]
mov edx, 0xe
mov ecx, dword [eax + 4]
mov dword [esp + 4], 0
mov eax, ebx
mov dword [esp], 0
call fcn.6659fdb0
jmp case.0x6661a77c.0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
lea esi, [ecx + 1]
mov dword [esp + 0x10], ecx
mov dword [eax + 0x2c], esi
jmp 0x6661a852
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], 0
xor ecx, ecx
mov esi, dword [eax + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 0x2c]
mov ebp, edx
test edx, edx
je 0x66619dd9
jmp 0x66619fd2
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, 0x79
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov eax, ebx
mov ebp, dword [esp + 0x24]
mov edx, 0x5c
mov dword [esp + 4], edi
mov dword [esp], esi
mov ecx, ebp
call fcn.6659fdb0
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x2c]
mov eax, ebx
mov dword [esp + 4], ebp
mov edx, 0x85
mov dword [esp], edi
call fcn.665a0980
jmp 0x6661a48f
mov dword [esp + 0x34], ebp
mov ecx, dword [esp + 0x10]
jmp 0x6661a0e7