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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov esi, dword [eax + 0x24]
mov ebp, dword [eax]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
test esi, esi
jne 0x6663854d
cmp byte [ebp + 0x53], 0
je 0x66638588
mov edx, dword [esp + 0x28]
mov eax, ebp
xor ebx, ebx
call fcn.66597680
mov eax, dword [esp + 0x24]
test eax, eax
je 0x6663857a
mov edx, dword [esp + 0x24]
mov eax, ebp
call fcn.665978b0
test ebx, ebx
je 0x6663857a
mov edx, ebx
mov eax, ebp
call fcn.665926e0
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, eax
call fcn.6662ee00
mov ebx, eax
test eax, eax
je 0x66638c50
mov dword [esp + 4], 0
mov ecx, 0x7f
mov edx, eax
mov eax, edi
mov dword [esp], 0
call fcn.665b8aa0
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
test eax, eax
je 0x66638c60
mov esi, 1
mov edx, ebx
mov eax, edi
call fcn.665d6bb0
test eax, eax
je 0x66638620
mov edx, dword [esp + 0x8c]
xor ebx, ebx
test edx, edx
je 0x66638600
mov eax, dword [esp + 0x88]
mov dword [esp + 0x8c], 0
mov dword [edx + 0xf0], eax
mov edx, dword [esp + 0x28]
mov eax, ebp
call fcn.66597680
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x66638562
jmp 0x6663856d
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov edx, ebx
test eax, eax
mov eax, edi
setne cl
call fcn.665b9750
mov dword [esp + 0x40], eax
test eax, eax
jne 0x666385db
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebp + 0x10]
test ecx, ecx
je 0x66639473
cmp ecx, dword [edx + 0xc]
je 0x66638f79
mov dword [esp + 0x2c], ebp
lea eax, [edx + 0x10]
xor edx, edx
mov dword [esp + 0x38], esi
mov esi, edx
lea esi, [esi]
add esi, 1
mov edx, eax
add eax, 0x10
mov ebp, esi
shl ebp, 4
cmp ecx, dword [eax - 4]
jne 0x66638668
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x2c]
mov eax, dword [edx]
mov dword [esp], 0
mov edx, 9
mov dword [esp + 4], eax
mov ecx, dword [ebx]
mov eax, edi
call fcn.665b6330
mov dword [esp + 0x44], eax
cmp eax, 1
je 0x666385db
mov eax, dword [edi + 0x28]
mov edx, dword [esp + 0x28]
lea ecx, [eax + 1]
mov dword [esp + 0x38], eax
mov dword [edi + 0x28], ecx
mov dword [esp + 0x4c], ecx
mov ecx, eax
mov dword [edx + 0x34], eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x66638fb0
xor edx, edx
mov dword [esp + 0x2c], ebp
add ecx, 2
mov ebp, edx
lea esi, [esi]
mov eax, dword [eax + 0x14]
lea edx, [ecx + ebp]
add ebp, 1
test eax, eax
jne 0x666386e8
mov dword [edi + 0x28], edx
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x66638724
mov eax, dword [ebx]
mov edx, dword [edi + 0xf0]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], edx
mov dword [edi + 0xf0], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x66638ca0
cmp byte [edi + 0x12], 0
jne 0x66638744
mov eax, dword [esp + 0x2c]
or byte [eax + 0x98], 0x10
mov ecx, dword [esp + 0x3c]
mov eax, edi
mov edx, esi
call fcn.666057e0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6663877f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov edx, ebx
mov dword [esp], eax
mov eax, edi
call fcn.6661eac0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
xor edx, edx
xor eax, eax
mov dword [esp + eax + 0x98], edx
add eax, 4
cmp eax, 0x18
jb 0x66638783
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], eax
test edx, edx
je 0x66638cc3
lea eax, [esp + 0x90]
call fcn.665bb110
mov dword [esp + 0x48], eax
test eax, eax
jne 0x66638ce0
test byte [ebp + 0x24], 1
je 0x66638804
cmp byte [edi + 0x12], 0
jne 0x66638804
mov eax, dword [edi + 0x78]
test eax, eax
je 0x6663926a
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x24]
jne 0x66638804
test esi, esi
jne 0x66638d67
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x666391b0
mov eax, dword [esp + 0xa8]
and eax, 0x40
or esi, eax
cmp esi, 1
sbb esi, esi
and esi, 8
add esi, 0x14
test byte [ebx + 0x24], 0x80
je 0x66638d10
mov eax, dword [ebx + 8]
mov dword [esp + 0x44], eax
test eax, eax
je 0x66639524
mov edx, dword [esp + 0x44]
jmp 0x6663884b
mov edx, dword [edx + 0x14]
test edx, edx
je 0x66679fd5
movzx eax, byte [edx + 0x38]
and eax, 3
cmp al, 2
jne 0x66638840
movsx ecx, word [edx + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x44], edx
lea edx, [eax + 1]
add eax, ecx
mov word [esp + 0x62], cx
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], eax
add eax, 1
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 0x6c]
mov dword [esp + 0x6c], ecx
cmp ecx, dword [eax + 0x70]
jge 0x666390af
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [edx + 0x68]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], 0
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x10], 0
mov dword [eax + 8], ecx
mov dword [eax], 0x65
mov edx, dword [esp + 0x44]
mov eax, edi
call fcn.665b4220
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x4c]
movsx esi, si
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, edi
mov dword [esp], 0
call fcn.66608ae0
mov dword [esp + 0x4c], eax
test eax, eax
je 0x666385db
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + 0x14]
mov dword [esp + 0x7c], esi
mov esi, dword [eax + 0x18]
movzx eax, byte [eax + 0x2e]
mov dword [esp + 0x70], esi
mov dword [esp + 0x50], eax
cmp eax, 1
je 0x66638947
mov eax, dword [edi + 0x74]
test eax, eax
cmove eax, edi
mov byte [eax + 0x14], 1
mov eax, dword [esp + 0x4c]
test byte [eax + 0x30], 1
jne 0x66638d97
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x66638d71
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x66638fd3
movsx eax, word [esp + 0x62]
mov dword [esp + 0x68], eax
test eax, eax
jle 0x666389c9
add eax, eax
mov edx, dword [esp + 0x54]
mov dword [esp + 0x64], ebp
xor esi, esi
mov dword [esp + 0x3c], eax
mov ebp, ecx
mov dword [esp + 0x78], edi
mov edi, edx
lea esi, [esi]
mov dword [esp + 4], edi
mov eax, dword [ebp + 4]
mov edx, ebx
add edi, 1
mov ecx, dword [esp + 0x38]
movsx eax, word [eax + esi]
add esi, 2
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call fcn.66613730
cmp esi, dword [esp + 0x3c]
jne 0x66638998
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x66638dc5
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0x44]
lea esi, [eax + 1]
mov eax, dword [edi]
mov dword [edi + 0x2c], esi
mov dword [esp + 0x64], esi
call fcn.6658c2d0
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], esi
mov edx, 0x5c
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
call fcn.665a0890
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
mov dword [esp], esi
mov edx, 0x85
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
call fcn.665a0980
mov eax, dword [esp + 0x4c]
call fcn.665a22f0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x66639137
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x5c], 0
mov word [esp + 0x62], cx
mov esi, dword [eax + 0x6c]
mov eax, dword [eax + 0x70]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], esi
cmp dword [esp + 0x40], eax
jge 0x666393d1
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 1]
mov edx, dword [ecx + 0x68]
mov dword [ecx + 0x6c], eax
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x58]
lea eax, [edx + eax*4]
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x25
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x666390d9
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
mov edx, 0x5a
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
call fcn.6659fdb0
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x66639116
mov esi, dword [ebx + 0x40]
test esi, esi
jne 0x66638aff
jmp 0x66638b03
mov esi, dword [esi + 0x18]
test esi, esi
je 0x66638b03
cmp ebp, dword [esi]
jne 0x66638af8
mov eax, edi
mov edx, ebx
call fcn.66598dc0
mov eax, dword [edi + 0x74]
test eax, eax
cmove eax, edi
cmp dword [esp + 0x50], 1
mov byte [eax + 0x15], 1
je 0x66638edd
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], esi
xor ecx, ecx
mov dword [esp + 0xc], 0xfffffff4
mov edx, 0xa
mov dword [esp + 4], eax
mov eax, ebx
mov dword [esp], 1
call fcn.665a0890
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x66638b6d
mov ebx, dword [esp + 0x2c]
lea eax, [eax + eax*4]
mov edx, 2
shl eax, 2
add eax, dword [ebx + 0x68]
mov word [eax - 0x12], dx
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x66638f41
mov eax, dword [esp + 0x44]
test eax, eax
je 0x66638fbd
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
mov edx, 5
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x58]
lea eax, [esi + 1]
mov dword [esp], eax
mov eax, ebx
call fcn.6659fdb0
mov eax, dword [ebx + 0x6c]
test esi, esi
mov ecx, dword [ebx]
lea edx, [eax - 1]
cmovns edx, esi
cmp byte [ecx + 0x53], 0
mov esi, edx
mov edx, 0x666b004c
jne 0x66638bce
mov edx, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea edx, [edx + ecx*4]
mov dword [edx + 8], eax
mov ebx, dword [esp + 0x3c]
cmp byte [edi + 0x12], 0
jne 0x66638be6
mov esi, dword [edi + 0x78]
test esi, esi
je 0x666390ff
mov edx, dword [esp + 0x48]
test edx, edx
je 0x66638c50
mov esi, dword [esp + 0x2c]
mov dword [esp], 1
mov edx, 0x50
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x48]
mov eax, esi
call fcn.6659fdb0
mov eax, esi
mov edx, 1
call fcn.665944f0
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
jne 0x66638c50
mov eax, dword [esp + 0x2c]
mov ecx, 0xffffffff
mov edx, str.rows_deleted
mov eax, dword [eax + 0x74]
mov dword [esp + 4], 0
mov dword [esp], 1
call fcn.665a4a40
lea esi, [esi]
mov edx, dword [esp + 0x8c]
jmp 0x666385e4
mov eax, dword [edi]
test byte [eax + 0x21], 0x40
je 0x666385ce
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx]
xor ecx, ecx
add eax, 0x38
call fcn.66593b10
mov eax, dword [eax + 8]
test eax, eax
jne 0x666385c9
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x666385c9
jmp 0x666385ce
mov eax, dword [edi + 0x74]
test eax, eax
je 0x66638f8e
mov eax, edi
call fcn.6659fe10
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x66638733
jmp 0x666385db
test byte [ebp + 0x24], 1
je 0x666387df
cmp byte [edi + 0x12], 0
jne 0x666387df
jmp 0x666387d4
mov edx, dword [esp + 0x8c]
xor ebx, ebx
test edx, edx
jne 0x666385e8
mov edx, dword [esp + 0x28]
mov eax, ebp
call fcn.66597680
mov edx, dword [esp + 0x24]
mov eax, ebp
call fcn.665978b0
jmp 0x6663857a
mov eax, dword [edi + 0x2c]
xor ecx, ecx
mov edx, 0x48
add eax, 1
mov dword [edi + 0x2c], eax
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
call fcn.6659fdb0
mov eax, 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov word [esp + 0x62], ax
mov dword [esp + 0x44], 0
jmp 0x666388e3
mov esi, 0x14
jmp 0x6663881b
mov dword [esp], 1
mov ecx, dword [esp + 0x48]
mov edx, 0x53
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
call fcn.6659fdb0
jmp 0x66638961
mov dword [esp], 0
mov ecx, dword [esp + 0x38]
mov edx, 0x8a
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
call fcn.6659fdb0
jmp 0x66638955
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
add eax, 2
cdq
mov ecx, edx
mov edx, eax
mov eax, ebp
call fcn.6658bdd0
mov dword [esp + 0x3c], eax
test eax, eax
je 0x6663940a
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x3c]
mov dword [esp + 4], 1
add eax, 1
mov dword [esp], esi
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x5c]
mov byte [esi + eax + 1], 0
mov eax, dword [esp + 0x7c]
test eax, eax
js 0x66638e1c
sub eax, dword [esp + 0x38]
mov byte [esi + eax], 0
mov eax, dword [esp + 0x70]
test eax, eax
js 0x66638e30
mov esi, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
mov byte [esi + eax], 0
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x666392a4
mov eax, dword [edi + 0x38]
sub eax, 1
mov dword [esp + 0x5c], eax
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x666392e1
mov esi, dword [ebx + 0x38]
test esi, esi
jne 0x66638fa3
movsx eax, word [esp + 0x62]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov edx, ecx
sub edx, dword [esp + 0x38]
cmp byte [eax + edx], 0
jne 0x6663938d
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], 0xb
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x18], edx
xor edx, edx
cmp byte [edi + 0x12], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
sete dl
mov dword [esp + 0x10], edx
mov edx, ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, edi
call fcn.66633720
mov dword [esp + 0x40], esi
jmp 0x66638b6d
mov dword [esp], 0
mov ecx, dword [esp + 0x38]
mov edx, 0x75
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
call fcn.6659fdb0
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x66639418
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], esi
xor ecx, ecx
mov dword [esp + 0xc], 0xfffffff4
mov edx, 0xa
mov dword [esp + 4], eax
mov eax, ebx
mov dword [esp], 1
call fcn.665a0890
mov eax, dword [ebx + 0x6c]
test eax, eax
jg 0x66638b57
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov eax, dword [eax + 0xc]
not ecx
mov edx, dword [eax + 0x38]
add edx, dword [eax + 0x3c]
js 0x666393c3
mov ebx, dword [esp + 0x2c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x6c]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x4c]
call fcn.665a22f0
mov ebx, dword [esp + 0x3c]
jmp 0x66638bd5
mov dword [esp + 0x3c], 0
mov dword [esp + 0x50], 0
jmp 0x6663868a
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x66638cab
mov byte [edi + 0x17], 1
jmp 0x66638cab
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
jmp 0x66638aeb
mov dword [esp + 0x5c], 0
jmp 0x66638700
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
mov edx, esi
mov eax, ebx
call fcn.665a07c0
jmp 0x66638bab
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, 0x82
add eax, 1
mov dword [edi + 0x2c], eax
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
call fcn.6659fdb0
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x66638dbd
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x74]
mov edx, 0x96
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call fcn.6659fdb0
mov eax, dword [esp + 0x4c]
call fcn.665a22f0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x666393fb
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x5c], 0
mov esi, dword [eax + 0x6c]
mov eax, dword [eax + 0x70]
mov dword [esp + 0x40], esi
mov esi, 1
mov word [esp + 0x62], si
cmp dword [esp + 0x40], eax
jge 0x66639421
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 1]
mov edx, dword [ecx + 0x68]
mov dword [ecx + 0x6c], eax
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x74]
lea eax, [edx + eax*4]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x64]
mov dword [eax + 8], 0
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov dword [eax], 0x2a
jmp 0x66638ae0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
mov edx, 0x65
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call fcn.6659fd40
mov dword [esp + 0x6c], eax
jmp 0x666388d0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
mov edx, 0x81
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call fcn.6659fdb0
jmp 0x66638ae0
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x66638be6
mov eax, edi
call fcn.665b4420
jmp 0x66638be6
movsx eax, word [esp + 0x62]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], eax
jmp 0x66638e84
xor edx, edx
mov word [esp + 0x62], dx
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x6663950f
lea eax, [esp + 0x84]
mov dword [esp + 8], 0
mov ecx, 0x62
mov edx, ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp], 8
mov dword [esp + 4], eax
mov eax, edi
call fcn.665b4530
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x44], 0
mov esi, dword [eax + 0x6c]
mov eax, dword [eax + 0x70]
mov dword [esp + 0x40], esi
jne 0x66638a71
jmp 0x66639067
mov edx, dword [esp + 0x3c]
cmp edx, 1
je 0x666391e3
mov eax, dword [edi]
mov esi, dword [esp + 0x50]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi + 4]
cmp byte [eax + 9], 0
je 0x666391e3
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x1c]
mov dword [esp], 1
mov dword [esp + 4], eax
mov eax, edi
call fcn.665995a0
test byte [ebx + 0x24], 0x80
jne 0x66639221
mov esi, dword [esp + 0x48]
mov eax, 0xffffffff
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0xc], 0xffffffff
test esi, esi
mov dword [esp + 8], edx
mov edx, 0x8c
cmovne eax, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call fcn.665a0890
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x66638bd5
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
lea esi, [esi]
nop
mov ecx, dword [ebx + 0x2c]
mov dword [esp], ebp
mov edx, 0x8c
mov eax, esi
mov dword [esp + 4], 0
call fcn.6659fdb0
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x66639240
mov ebp, dword [esp + 0x30]
jmp 0x66638bd5
cmp byte [edi + 0x91], 0
jne 0x666387df
mov eax, dword [edi + 0x2c]
xor ecx, ecx
mov edx, 0x45
add eax, 1
mov dword [edi + 0x2c], eax
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
call fcn.6659fdb0
jmp 0x666387e7
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
jne 0x66638e3c
mov ecx, dword [esp + 0x6c]
mov edx, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
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 0x66638e3c
cmp dword [esp + 0x50], 2
jne 0x6663948e
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x6c]
cmp esi, dword [eax + 0x70]
jge 0x666394ed
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 1]
mov edx, dword [ecx + 0x68]
mov dword [ecx + 0x6c], eax
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax], 0x11
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x66639373
lea eax, [esp + 0x84]
mov dword [esp], 8
mov ecx, 0x62
mov edx, ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, edi
call fcn.665b4530
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x6c]
lea eax, [edx - 1]
cmp esi, eax
jne 0x6663944b
mov dword [ecx + 0x6c], esi
jmp 0x66638e55
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
mov edx, 0x1d
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call fcn.665a0980
mov dword [esp + 0x64], esi
mov dword [esp + 0x40], 0
jmp 0x66638ae0
mov edx, dword [esp + 0x2c]
call fcn.6659a020
jmp 0x66638f67
mov dword [esp], 0
mov ecx, dword [esp + 0x58]
mov edx, 0x25
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
call fcn.6659fd40
mov dword [esp + 0x40], eax
jmp 0x66638ab4
mov eax, 1
mov word [esp + 0x62], ax
jmp 0x6663913e
mov eax, dword [esp + 0x4c]
call fcn.665a22f0
jmp 0x666385db
mov byte [edi + 0x14], 0
jmp 0x66638f09
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x74]
mov edx, 0x2a
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
call fcn.6659fd40
mov dword [esp + 0x40], eax
jmp 0x66638ae0
test esi, esi
cmovs esi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov eax, 0x666b004c
cmp byte [ecx + 0x53], 0
jne 0x6663946b
imul eax, esi, 0x14
mov esi, dword [esp + 0x2c]
add eax, dword [esi + 0x68]
mov dword [eax + 8], edx
jmp 0x66638e55
mov dword [esp + 0x50], 0xfff80000
sub edx, 0x80000
mov dword [esp + 0x3c], 0xffff8000
jmp 0x6663868a
cmp dword [ebx + 0x38], 0
jne 0x666394d4
lea eax, [esp + 0x84]
mov dword [esp], 8
mov ecx, 0x62
mov edx, ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, edi
call fcn.665b4530
jmp 0x66638e55
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x66638fa3
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
jmp 0x66639190
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0x11
mov dword [esp], 0
call fcn.6659fd40
mov esi, eax
jmp 0x66639331
mov dword [esp + 0x5c], 0
mov dword [esp + 0x3c], 0
jmp 0x66639190
jmp 0x66679fd5
movzx eax, word [0x32]
ud2