Function at 0x477310
Capabilities:
Encrypt data using speck
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x334
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x68]
mov edx, dword [esi + 0x58]
xor eax, eax
push edi
mov edi, dword [esi]
mov cl, byte [edi + 0x54]
mov dword [esp + 0x44], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov byte [esp + 0x57], al
mov byte [esp + 0x3c], cl
mov dword [esp + 0x5c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x14], edx
cmp dword [esi + 0xa0], eax
je 0x47736c
push esi
call fcn.0041d070
add esp, 4
xor eax, eax
or ecx, 0xffffffff
cmp dword [edi + 0x174], eax
je 0x477393
mov ecx, dword [edi + 0x17c]
mov eax, dword [esi + 0xb4]
xor edx, edx
div ecx
mov dword [esp + 0x64], 0
sub ecx, edx
jmp 0x477397
mov dword [esp + 0x64], ecx
cmp dword [esi + 0x24], 7
mov dword [esp + 0x60], ecx
je 0x47cfa7
xor edx, edx
mov eax, esi
mov ecx, edi
mov dword [eax + 0x24], edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
mov dword [ecx + 0x1c8], edx
mov ecx, dword [ecx + 0x128]
test ecx, ecx
jne 0x47d0fd
mov eax, dword [eax + 0x20]
lea eax, [eax + eax*4]
mov ecx, ebx
lea ebx, [ecx + eax*4]
add dword [esp + 0x88], 1
mov cl, byte [ebx]
adc dword [esp + 0x8c], edx
movzx edx, cl
cmp edx, 0xb5
ja case.0x4773f3.89
jmp dword [edx*4 + 0x47d134]
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea ecx, [eax + edx*8]
mov edx, 4
mov word [ecx + 0x10], dx
mov edx, ebx
sub edx, dword [esp + 0x44]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4773f3.9
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x10], 4
lea eax, [ecx + eax*8]
je case.0x4773f3.89
mov eax, dword [eax]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x44]
lea ebx, [eax + edx*4]
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea ecx, [edx + ecx*8]
dec eax
cdq
mov dword [ecx], eax
mov eax, 4
mov dword [ecx + 4], edx
mov word [ecx + 0x10], ax
cmp dword [ebx + 8], 0
jne 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ecx, dword [edx + ecx*4 + 8]
lea ecx, [ecx + ecx*4]
lea ebx, [edx + ecx*4 - 0x14]
xor edx, edx
mov word [eax + 0x10], dx
add ebx, 0x14
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov esi, dword [ecx]
sub ebx, edi
mov edx, 4
mov word [ecx + 0x10], dx
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ecx], eax
lea eax, [esi + esi*4]
lea ebx, [edi + eax*4]
mov dword [ecx + 4], edx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
test byte [edx + ecx*8 + 0x10], 1
je case.0x4773f3.89
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0xd0]
test edi, edi
je 0x47cb63
cmp dword [ebx + 4], 0
jne 0x47cb63
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
dec dword [esi + 0xd8]
push ecx
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x14]
push edx
call fcn.004119f0
add esp, 8
call fcn.0045e1c0
cmp dword [ebx + 8], 4
jne 0x477571
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 + 8]
dec eax
mov ebx, dword [esi + 0x68]
mov edx, dword [esi + 0x58]
mov dword [esp + 0x44], ebx
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*4]
mov dword [esp + 0x14], edx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov ecx, eax
mov eax, dword [ebx + 4]
cdq
mov dword [ecx + 4], edx
add ebx, 0x14
mov dword [ecx], eax
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
add ebx, 0x14
mov dword [eax + 4], ecx
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov edx, 8
mov word [eax + 0x10], dx
mov ecx, dword [ebx + 0x10]
fld qword [ecx]
add ebx, 0x14
fstp qword [eax]
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov edi, dword [ebx + 0x10]
mov esi, eax
mov eax, edi
call fcn.0040a750
cmp byte [esp + 0x3c], 1
mov dword [ebx + 4], eax
je 0x477678
push 0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push esi
call fcn.00427ed0
add esp, 0x18
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47ceba
movzx ecx, byte [esp + 0x3c]
mov eax, esi
call fcn.00427e50
test eax, eax
jne 0x47cfa7
mov edx, 0x2000
or word [esi + 0x10], dx
mov dword [esi + 0x18], eax
cmp byte [ebx + 1], 0xfa
jne 0x477668
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0040a090
add esp, 8
mov byte [ebx + 1], 0xfa
mov edx, dword [esi + 8]
mov dword [ebx + 0x10], edx
mov eax, dword [esi + 0xc]
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
cmp ecx, dword [edx + 0x78]
jg 0x47ceba
mov byte [ebx], 0x49
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov ecx, eax
mov eax, 0x2202
mov word [ecx + 0x10], ax
mov edx, dword [ebx + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebx + 4]
mov dl, byte [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov byte [ecx + 0x12], dl
mov eax, dword [ebx + 0xc]
test eax, eax
jle case.0x4773f3.89
mov edi, dword [esp + 0x14]
lea esi, [eax + eax*4]
movzx eax, word [ebx + 2]
cdq
mov dword [esp + 0x244], edx
mov edx, dword [edi + esi*8]
cmp edx, eax
jne case.0x4773f3.89
mov eax, dword [edi + esi*8 + 4]
cmp eax, dword [esp + 0x244]
jne case.0x4773f3.89
mov edx, 0x2210
mov word [ecx + 0x10], dx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov edi, dword [ebx + 0xc]
sub edi, dword [ebx + 8]
mov esi, eax
mov eax, dword [ebx + 4]
neg eax
sbb eax, eax
and eax, 0x100
inc eax
movzx eax, ax
mov dword [esp + 0x28], eax
mov word [esi + 0x10], ax
mov dword [esi + 0xc], 0
test edi, edi
jle case.0x4773f3.89
lea esp, [esp]
add esi, 0x28
mov eax, esi
call fcn.00410bf0
mov cx, word [esp + 0x28]
dec edi
mov word [esi + 0x10], cx
mov dword [esi + 0xc], 0
test edi, edi
jg 0x477740
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
mov cx, word [eax + edx*8 + 0x10]
lea eax, [eax + edx*8]
mov edx, 0xffc1
and cx, dx
or cx, 1
add ebx, 0x14
mov word [eax + 0x10], cx
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov ecx, dword [ebx + 0x10]
mov esi, eax
mov eax, dword [ebx + 4]
test ecx, ecx
jne 0x4777d0
call fcn.00410c20
mov eax, esi
call fcn.00422230
test eax, eax
jne 0x47cfa7
mov al, byte [esp + 0x3c]
add ebx, 0x14
mov byte [esi + 0x12], al
xor edx, edx
jmp 0x4773d3
push 0
push 0
cdq
push edx
push eax
push ecx
push esi
call fcn.00427ed0
mov al, byte [esp + 0x54]
add esp, 0x18
add ebx, 0x14
mov byte [esi + 0x12], al
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov edx, dword [ebp + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x64]
lea edi, [eax + ecx*8 - 0x28]
mov ecx, edi
call fcn.00410d20
test eax, eax
jne 0x47ceba
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*8]
mov eax, 0x9000
test word [esi + 0x10], ax
je 0x477830
mov eax, esi
call fcn.00410bf0
mov ecx, dword [edi]
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x10]
mov ax, dx
mov dword [esi + 0x10], edx
mov ecx, 0xafff
and ax, cx
mov edx, 0x2040
or ax, dx
add ebx, 0x14
mov word [esi + 0x10], ax
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea edi, [ecx + edx*8]
lea esi, [ecx + eax*8]
lea ebx, [ebx]
push edi
mov eax, esi
call fcn.00410dd0
mov ecx, 0x4000
add esp, 4
test word [esi + 0x10], cx
je 0x4778b3
call fcn.00426010
test eax, eax
jne 0x47cfa7
add edi, 0x28
add esi, 0x28
sub dword [esp + 0x18], 1
jne 0x477890
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], edx
lea edx, [eax + eax*4]
lea esi, [ecx + edx*8]
push 0x4000
push edi
push esi
call fcn.00410d70
mov eax, 0x4000
add esp, 0xc
test word [esi + 0x10], ax
je 0x47790e
call fcn.00426010
test eax, eax
jne 0x47cfa7
movzx eax, word [esi + 0x10]
test eax, 0x800
je 0x477928
test byte [ebx + 2], 2
je 0x477928
and eax, 0xf7ff
mov word [esi + 0x10], ax
mov eax, dword [esp + 0x18]
mov ecx, eax
dec eax
mov dword [esp + 0x18], eax
test ecx, ecx
je case.0x4773f3.89
add esi, 0x28
add edi, 0x28
jmp 0x4778e7
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
push 0x4000
push eax
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
push eax
call fcn.00410d70
add esp, 0xc
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*8 + 4]
mov eax, dword [ecx + eax*8]
push edx
push eax
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
call fcn.00410c70
add esp, 8
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebp + 8]
push 0
call fcn.0042cd20
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea edi, [esi + edx*8]
lea esi, [esi + eax*8]
movzx eax, word [ecx + 0x10]
mov dword [esp + 0x1c], ecx
mov cl, byte [edi + 0x10]
or cl, al
mov dword [esp + 0x24], eax
test cl, 1
je 0x477a09
mov eax, esi
call fcn.00410bf0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
test al, 0x12
jne 0x477a41
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
push 0
push edx
call fcn.00427e70
add esp, 8
test eax, eax
jne 0x47cfa7
mov eax, dword [esp + 0x1c]
mov cx, word [eax + 0x10]
mov edx, 0xfffd
and cx, dx
movzx eax, cx
mov dword [esp + 0x24], eax
jmp 0x477a70
test eax, 0x400
je 0x477a70
mov eax, dword [esp + 0x1c]
call fcn.00422230
test eax, eax
jne 0x47cfa7
mov ecx, dword [esp + 0x1c]
mov dx, word [ecx + 0x10]
mov eax, 0xfffd
and dx, ax
movzx ecx, dx
mov dword [esp + 0x24], ecx
movzx eax, word [edi + 0x10]
mov dword [esp + 0x40], eax
test al, 0x12
jne 0x477a8f
mov edx, dword [esp + 0x3c]
push 0
push edx
mov eax, edi
call fcn.00427e70
add esp, 8
jmp 0x477a9d
test eax, 0x400
je 0x477ab8
mov eax, edi
call fcn.00422230
test eax, eax
jne 0x47cfa7
mov ax, word [edi + 0x10]
mov ecx, 0xfffd
and ax, cx
movzx edx, ax
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
add eax, dword [ecx + 0xc]
cdq
mov ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xb0], eax
mov eax, dword [edx + 0x78]
cdq
cmp ecx, edx
mov dword [esp + 0xb4], ecx
jg 0x47ceba
jl 0x477af2
cmp dword [esp + 0xb0], eax
ja 0x47ceba
mov ecx, dword [esp + 0xb0]
xor eax, eax
cmp esi, edi
sete al
add ecx, 2
push eax
push ecx
call fcn.004220b0
add esp, 8
test eax, eax
jne 0x47cfa7
mov dx, word [esi + 0x10]
mov eax, 0xf242
and dx, ax
or dx, 2
mov word [esi + 0x10], dx
cmp esi, edi
je 0x477b4a
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [esi + 8]
push ecx
push edx
push eax
call fcn.004ad640
mov cx, word [esp + 0x4c]
add esp, 0xc
mov word [edi + 0x10], cx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, dword [edi + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [esi + 8]
push edx
push eax
push ecx
call fcn.004ad640
mov eax, dword [esp + 0x28]
mov dx, word [esp + 0x30]
add esp, 0xc
cmp byte [esp + 0x3c], 1
mov word [eax + 0x10], dx
mov eax, dword [esp + 0xb0]
jbe 0x477b91
mov ecx, dword [esp + 0xb4]
and eax, 0xfffffffe
mov dword [esp + 0xb4], ecx
mov edx, dword [esi + 8]
mov byte [eax + edx], 0
mov ecx, dword [esi + 8]
mov byte [eax + ecx + 1], 0
mov edx, 0x200
or word [esi + 0x10], dx
mov dword [esi + 0xc], eax
mov al, byte [esp + 0x3c]
add ebx, 0x14
mov byte [esi + 0x12], al
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea edi, [edx + eax*8]
mov eax, dword [ebx + 0xc]
lea esi, [edx + ecx*8]
movzx ecx, word [edi + 0x10]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
movzx eax, word [esi + 0x10]
mov dword [esp + 0x1c], edx
mov dl, cl
and dl, al
test dl, 4
jne 0x477c19
or cl, al
test cl, 1
jne 0x477e11
mov eax, esi
call fcn.00422810
movzx eax, ax
mov dword [esp + 0x28], eax
mov eax, edi
call fcn.00422810
and al, byte [esp + 0x28]
test al, 4
je 0x477c58
mov edx, dword [edi]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x70], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x74], edx
movzx edx, byte [ebx]
add edx, 0xffffff96
cmp edx, 3
ja case.default.0x477c3a
jmp dword [edx*4 + 0x47d40c]
push ecx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0040b600
add esp, 0xc
test eax, eax
je 0x477d13
mov ecx, esi
call fcn.00410920
fstp qword [esp + 0x28]
mov ecx, edi
call fcn.00410920
movzx eax, byte [ebx]
add eax, 0xffffff96
cmp eax, 3
ja case.default.0x477c79
jmp dword [eax*4 + 0x47d41c]
push ecx
push eax
lea edx, [esp + 0x78]
call fcn.0040b6a0
add esp, 8
test eax, eax
jne 0x477c58
jmp 0x477d13
push ecx
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.0040b6f0
add esp, 0xc
test eax, eax
jne 0x477c58
jmp 0x477d13
mov edx, eax
or edx, ecx
je 0x477e11
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x477ccd
cmp dword [esp + 0x70], 0
jne 0x477ccd
cmp dword [esp + 0x74], 0x80000000
je 0x477c58
push ecx
mov ecx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x7c]
push eax
push ecx
call fcn.004ad3a0
jmp 0x477d0b
mov edx, eax
or edx, ecx
je 0x477e11
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x477cfa
mov eax, 1
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x7c]
push eax
push ecx
call fcn.004ad580
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [eax], edx
mov dx, word [eax + 0x10]
mov dword [eax + 4], ecx
mov ecx, 0xf244
and dx, cx
or dx, 4
mov word [eax + 0x10], dx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
fadd qword [esp + 0x28]
jmp 0x477dd7
fsub qword [esp + 0x28]
jmp 0x477dd7
fmul qword [esp + 0x28]
jmp 0x477dd7
fldz
fld qword [esp + 0x28]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x477e0d
fdivp st(1)
jmp 0x477dd7
mov ecx, esi
fstp st(0)
call fcn.004108b0
mov ecx, edi
mov esi, eax
mov dword [esp + 0x12c], edx
call fcn.004108b0
mov ecx, dword [esp + 0x12c]
mov edi, esi
or edi, ecx
je 0x477e11
mov edi, esi
and edi, ecx
cmp edi, 0xffffffff
jne 0x477db9
mov dword [esp + 0x12c], 0
mov ecx, dword [esp + 0x12c]
mov esi, 1
push ecx
push esi
push edx
push eax
call fcn.004ad580
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], edx
fild qword [esp + 0x158]
sub esp, 8
fst qword [esp]
call fcn.0040a720
add esp, 8
test eax, eax
jne 0x477e0f
mov eax, dword [esp + 0x1c]
mov dx, word [eax + 0x10]
fstp qword [eax]
mov ecx, 0xf248
and dx, cx
or dx, 8
mov word [eax + 0x10], dx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x1c]
call fcn.00410bf0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
test eax, eax
je case.0x4773f3.89
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
push 0
push 0
lea eax, [eax + edx*8]
call fcn.00410c70
add esp, 8
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea esi, [edx + ecx*8]
lea eax, [eax + eax*4]
lea ecx, [edx + eax*8]
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea edi, [edx + eax*8]
mov dl, byte [ecx + 0x10]
or dl, byte [esi + 0x10]
mov dword [esp + 0x1c], edi
test dl, 1
je 0x477e8e
mov eax, edi
call fcn.00410bf0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
call fcn.004108b0
mov ecx, esi
mov dword [esp + 0x90], eax
mov edi, edx
call fcn.004108b0
mov esi, eax
mov al, byte [ebx]
cmp al, 0x66
jne 0x477eb9
and dword [esp + 0x90], esi
and edi, edx
jmp 0x477fb3
cmp al, 0x67
jne 0x477ecb
or dword [esp + 0x90], esi
or edi, edx
jmp 0x477fb3
mov ecx, esi
or ecx, edx
je 0x477fb3
test edx, edx
jg 0x477f03
jl 0x477edf
test esi, esi
jae 0x477ef8
mov cl, 0xd1
sub cl, al
cmp edx, 0xffffffff
mov al, cl
jl 0x477f03
jg 0x477ef1
cmp esi, 0xffffffc0
jbe 0x477f03
neg esi
adc edx, 0
neg edx
test edx, edx
jl 0x477f37
jg 0x477f03
cmp esi, 0x40
jb 0x477f37
test edi, edi
jg 0x477f29
jl 0x477f13
cmp dword [esp + 0x90], 0
jae 0x477f29
cmp al, 0x68
je 0x477f29
or eax, 0xffffffff
cdq
mov dword [esp + 0x90], eax
mov edi, edx
jmp 0x477fb3
xor eax, eax
cdq
mov dword [esp + 0x90], eax
mov edi, edx
jmp 0x477fb3
cmp al, 0x68
mov eax, dword [esp + 0x90]
mov edx, edi
mov ecx, esi
jne 0x477f5b
call fcn.004adee0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
jmp 0x477f9e
call fcn.004adec0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
test edi, edi
jg 0x477f9e
jl 0x477f7e
cmp dword [esp + 0x90], 0
jae 0x477f9e
mov ecx, 0x40
sub ecx, esi
or eax, 0xffffffff
or edx, 0xffffffff
call fcn.004adee0
or dword [esp + 0xa8], eax
or dword [esp + 0xac], edx
mov edx, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x90]
mov dx, word [eax + 0x10]
mov dword [eax], ecx
mov ecx, 0xf244
and dx, cx
or dx, 4
mov word [eax + 0x10], dx
add ebx, 0x14
mov dword [eax + 4], edi
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea esi, [eax + edx*8]
call fcn.00410a00
mov eax, dword [ebx + 8]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
movzx eax, word [edx + ecx*8 + 0x10]
lea esi, [edx + ecx*8]
test al, 4
jne 0x47804c
mov eax, dword [esp + 0x3c]
push eax
mov cl, 0x43
mov eax, esi
call fcn.00428b00
movzx eax, word [esi + 0x10]
add esp, 4
test al, 4
jne 0x47804c
cmp dword [ebx + 8], 0
jne 0x47cb2a
mov dword [esp + 0xc], 0x14
jmp 0x47cf10
and eax, 0xf244
or eax, 4
add ebx, 0x14
mov word [esi + 0x10], ax
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
test byte [edx + ecx*8 + 0x10], 0x24
lea esi, [edx + ecx*8]
je case.0x4773f3.89
call fcn.00410a30
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov edx, 0x400
test word [esi + 0x10], dx
je 0x4780b4
mov eax, esi
call fcn.00422230
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov eax, dword [esp + 0x3c]
mov cl, byte [ebx + 8]
push eax
mov eax, esi
call fcn.0042c960
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea edi, [esi + ecx*8]
movzx ecx, word [edi + 0x10]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov dword [esp + 0x20], ecx
movzx ecx, word [esi + 0x10]
mov eax, ecx
and eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
test al, 4
je 0x478192
mov eax, dword [esi]
mov ecx, dword [edi]
mov esi, dword [esi + 4]
mov edi, dword [edi + 4]
cmp esi, edi
jl 0x47814f
jg 0x478124
cmp eax, ecx
jbe 0x478145
mov eax, dword [0x4e3230]
cmp byte [edx + eax], 0
jne 0x47cb2a
add ebx, 0x14
mov dword [esp + 0x5c], 1
xor edx, edx
jmp 0x4773d3
cmp esi, edi
jg 0x478171
jl 0x47814f
cmp eax, ecx
jae 0x478171
mov ecx, dword [0x4e3228]
cmp byte [edx + ecx], 0
jne 0x47cb2a
add ebx, 0x14
mov dword [esp + 0x5c], 0xffffffff
xor edx, edx
jmp 0x4773d3
mov eax, dword [0x4e322c]
cmp byte [edx + eax], 0
jne 0x47cb2a
add ebx, 0x14
mov dword [esp + 0x5c], 0
xor edx, edx
jmp 0x4773d3
or ecx, dword [esp + 0x20]
test cl, 1
je 0x4781ef
movzx ecx, word [ebx + 2]
test cl, cl
jns 0x4781d4
test al, 1
je 0x4781be
test dword [esp + 0x1c], 0x100
jne 0x4781be
mov ecx, dword [0x4e322c]
xor eax, eax
jmp 0x4782fd
test byte [esp + 0x1c], 1
mov eax, 0
sete al
lea eax, [eax + eax - 1]
jmp 0x4782e1
test cl, 0x10
jne 0x47cb2a
add ebx, 0x14
mov dword [esp + 0x5c], 1
xor edx, edx
jmp 0x4773d3
mov al, byte [ebx + 2]
and al, 0x47
cmp al, 0x43
jl 0x478240
test cl, 2
je 0x4782d3
mov cl, byte [esp + 0x20]
and cl, 0x2e
cmp cl, 2
jne 0x478221
push 0
mov eax, edi
call fcn.00412160
movzx edx, word [esi + 0x10]
add esp, 4
mov dword [esp + 0x1c], edx
mov al, byte [esp + 0x1c]
and al, 0x2e
cmp al, 2
jne 0x4782d3
push 0
mov eax, esi
call fcn.00412160
add esp, 4
jmp 0x4782d3
cmp al, 0x42
jne 0x4782d3
test cl, 2
je 0x4782d3
mov al, byte [esp + 0x20]
test al, 2
jne 0x47829a
test al, 0x2c
je 0x47829a
mov ecx, dword [esp + 0x3c]
push 1
push ecx
mov eax, edi
call fcn.00427e70
mov dx, word [edi + 0x10]
xor dx, word [esp + 0x28]
mov eax, 0xdbf
and dx, ax
xor dx, word [edi + 0x10]
add esp, 8
movzx ecx, dx
mov dword [esp + 0x20], ecx
cmp edi, esi
jne 0x47829a
mov edx, ecx
or edx, 2
movzx eax, dx
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x1c]
test al, 2
jne 0x4782d3
test al, 0x2c
je 0x4782d3
mov ecx, dword [esp + 0x3c]
push 1
push ecx
mov eax, esi
call fcn.00427e70
mov dx, word [esi + 0x10]
xor dx, word [esp + 0x24]
mov eax, 0xdbf
and dx, ax
add esp, 8
xor dx, word [esi + 0x10]
movzx ecx, dx
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 0x10]
push esi
mov ecx, edi
call fcn.00428400
add esp, 4
test eax, eax
jge 0x4782ed
mov ecx, dword [0x4e3228]
jmp 0x4782fd
jne 0x4782f7
mov ecx, dword [0x4e322c]
jmp 0x4782fd
mov ecx, dword [0x4e3230]
movzx edx, byte [ebx]
movzx ecx, byte [edx + ecx]
mov dx, word [esp + 0x1c]
mov dword [esp + 0x5c], eax
mov ax, word [esp + 0x20]
mov word [esi + 0x10], dx
mov word [edi + 0x10], ax
test ecx, ecx
jne 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
cmp dword [esp + 0x5c], 0
je 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
test byte [ebx + 2], 1
jne 0x47834f
xor ecx, ecx
mov dword [esp + 0x40], ecx
jmp 0x47835b
mov eax, dword [ebx - 4]
add eax, 4
mov dword [esp + 0x40], eax
mov ecx, eax
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x34], esi
mov esi, dword [ebx + 8]
xor edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], edi
test eax, eax
jle case.0x4773f3.89
add edx, 0x14
mov dword [esp + 0x38], edx
jmp 0x478394
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x47839b
mov edi, dword [ecx + edi*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x24]
movzx esi, byte [edx + eax]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
add ecx, edi
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*8]
mov edx, dword [esp + 0x34]
add edx, edi
lea edx, [edx + edx*4]
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [edx]
and esi, 1
call fcn.00428400
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x4783fe
mov edi, dword [esp + 0x24]
add dword [esp + 0x38], 4
inc edi
cmp edi, dword [esp + 0x28]
mov dword [esp + 0x24], edi
jl 0x478390
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x24]
test byte [ecx + edx], 2
je 0x47843a
mov edx, dword [esp + 0x34]
lea ecx, [edi + edx]
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x14]
test byte [ecx + edx*8 + 0x10], 1
jne 0x478434
mov edx, dword [esp + 0x30]
add edi, edx
lea edx, [edi + edi*4]
test byte [ecx + edx*8 + 0x10], 1
je 0x47843a
neg eax
mov dword [esp + 0x5c], eax
test esi, esi
je case.0x4773f3.89
mov eax, dword [esp + 0x5c]
neg eax
add ebx, 0x14
mov dword [esp + 0x5c], eax
xor edx, edx
jmp 0x4773d3
mov eax, dword [esp + 0x5c]
test eax, eax
jge 0x478476
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x44]
lea ecx, [ebx + ebx*4]
lea ebx, [edx + ecx*4 - 0x14]
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
jne 0x478490
mov ebx, dword [ebx + 8]
mov ecx, dword [esp + 0x44]
lea eax, [ebx + ebx*4]
lea ebx, [ecx + eax*4 - 0x14]
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ebx, dword [ebx + 0xc]
mov eax, dword [esp + 0x44]
lea edx, [ebx + ebx*4]
lea ebx, [eax + edx*4 - 0x14]
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x14]
lea ecx, [eax + eax*4]
push 2
lea ecx, [edi + ecx*8]
call fcn.00410940
mov esi, eax
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
push 2
lea ecx, [edi + edx*8]
call fcn.00410940
add esp, 8
cmp byte [ebx], 0x2c
jne 0x4784e3
lea eax, [eax + esi*2]
movzx eax, byte [esi + eax + 0x4c8a34]
jmp 0x4784ee
lea ecx, [eax + esi*2]
movzx eax, byte [esi + ecx + 0x4c8abc]
mov ecx, dword [ebx + 0xc]
lea edx, [ecx + ecx*4]
lea ecx, [edi + edx*8]
cmp eax, 2
jne 0x47851a
mov ax, word [ecx + 0x10]
mov edx, 0xf241
and ax, dx
or ax, 1
add ebx, 0x14
mov word [ecx + 0x10], ax
xor edx, edx
jmp 0x4773d3
cdq
mov dword [ecx], eax
mov ax, word [ecx + 0x10]
mov dword [ecx + 4], edx
mov edx, 0xf244
and ax, dx
or ax, 4
add ebx, 0x14
mov word [ecx + 0x10], ax
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
lea ecx, [esi + ecx*8]
call fcn.00410940
xor eax, dword [ebx + 0x10]
cdq
push edx
push eax
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
lea eax, [esi + edx*8]
call fcn.00410c70
add esp, 0xc
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 0x10], 1
lea ecx, [edx + eax*8]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
jne 0x4779f8
push 0
call fcn.00410940
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
mov eax, esi
call fcn.00410c70
add esp, 0xc
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, esi
lea edi, [ecx + edx*8]
call fcn.00410bf0
test byte [edi + 0x10], 1
jne case.0x4773f3.89
mov ecx, 4
mov word [esi + 0x10], cx
mov ecx, edi
call fcn.004108b0
not edx
not eax
mov dword [esi + 4], edx
add ebx, 0x14
mov dword [esi], eax
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd0]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x478674
mov ecx, ebx
sub ecx, dword [eax + 0x68]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
mov edi, eax
mov esi, eax
mov eax, dword [edx + 0x14]
and edi, 7
mov edx, 1
mov ecx, edi
shl edx, cl
shr esi, 3
test byte [esi + eax], dl
jne 0x47cb2a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
add esi, ecx
mov dl, 1
mov ecx, edi
shl dl, cl
add ebx, 0x14
or byte [esi], dl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 4]
mov dword [ebx - 0x10], ecx
xor edx, edx
jmp 0x4773d3
mov eax, dword [eax + 0x68]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebx + 4]
je 0x47cb2a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
push edx
lea ecx, [ecx + eax*8]
call fcn.00410940
add esp, 4
test eax, eax
jne 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp dword [ebx + 0xc], edx
lea eax, [eax + eax*4]
sete dl
lea ecx, [ecx + eax*8]
push edx
call fcn.00410940
add esp, 4
test eax, eax
je 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
test byte [eax + edx*8 + 0x10], 1
jne 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
test eax, eax
jl 0x478764
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + eax*4]
movzx edx, word [eax + 0x3e]
mov ecx, dword [ebx + 0xc]
cmp ecx, edx
jge 0x478754
mov eax, dword [eax + ecx*4 + 0x58]
cmp eax, 0xc
jb 0x47874a
test al, 1
mov eax, 0
sete al
lea eax, [eax*4 + 4]
jmp 0x478787
movzx ax, byte [eax + 0x4c8c18]
jmp 0x478784
mov ecx, dword [ebx + 0x10]
dec ecx
mov edx, 1
shl edx, cl
movzx eax, dx
jmp 0x478787
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
push edx
call fcn.00411c50
mov ecx, eax
dec ecx
mov eax, 1
add esp, 4
shl eax, cl
movzx eax, ax
test word [ebx + 2], ax
jne 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
test byte [ecx + edx*8 + 0x10], 1
jne 0x4787c2
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x10], 1
jne 0x4787c2
push 0
push 0
jmp 0x477985
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
call fcn.00410bf0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
test byte [edx + ecx*8 + 0x10], 1
je 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + eax*4]
test eax, eax
je case.0x4773f3.89
cmp byte [eax + 2], 0
je case.0x4773f3.89
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
call fcn.00410bf0
jmp 0x47cb2a
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x60]
mov edi, dword [ecx + edx*4]
mov edx, dword [ebx + 8]
mov dword [esp + 0x30], edx
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 0x48]
mov dword [esp + 0x20], esi
cmp eax, dword [ecx + 0x1c]
je 0x4788b0
cmp byte [edi + 2], 0
jne 0x4789ce
cmp byte [edi + 3], 0
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x18], ecx
je 0x47888f
mov eax, dword [edi + 0x10]
test eax, eax
je 0x478a11
mov edx, dword [esp + 0x30]
mov eax, dword [eax + edx*4 + 4]
test eax, eax
jbe 0x478a11
mov edi, dword [edi + 0x28]
dec eax
mov dword [esp + 0x30], eax
jmp 0x478841
call fcn.00410270
test eax, eax
je 0x478a24
mov esi, edi
call fcn.00447810
mov dword [esp + 0xc], eax
test eax, eax
je 0x478841
jmp 0x47cf10
mov ecx, dword [edi + 0x2c]
call fcn.00410270
test eax, eax
jne 0x47889c
xor ecx, ecx
movzx edx, word [edi + 0x3e]
mov eax, dword [esp + 0x30]
cmp edx, eax
ja 0x478be1
mov eax, dword [edi + 0x34]
cmp eax, dword [esi]
jae 0x478ba0
mov edx, dword [edi + 0x4c]
cmp edx, ecx
jne 0x478950
xor eax, eax
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov eax, dword [esi]
push ecx
mov ecx, dword [edi + 0x2c]
call fcn.00439cd0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov edx, dword [esp + 0x1a8]
movzx eax, word [edi + 0x3e]
mov ecx, dword [esi + eax*4]
mov dword [esp + 0x80], ecx
mov ecx, dword [edi + 0x34]
add ecx, edx
mov dword [esp + 0x38], edx
mov edx, dword [esi]
add edx, dword [esp + 0x38]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x18], edx
lea edx, [edi + eax*4 + 0x58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
movzx eax, byte [ecx]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [edx], eax
cmp eax, 0x80
jae 0x478aae
inc ecx
mov dword [esp + 0x24], ecx
call fcn.004113c0
movzx eax, al
cdq
add esi, eax
adc dword [esp + 0x84], edx
mov dword [esp + 0x80], esi
jmp 0x478aeb
cmp byte [edi], 3
jne 0x4789f5
mov eax, dword [edi + 0x24]
test eax, eax
jle 0x4789f5
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0xc]
mov dword [edi + 0x54], ecx
mov dword [edi + 0x50], ecx
mov edx, dword [eax + 8]
mov dword [edi + 0x4c], edx
jmp 0x478a43
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
call fcn.00410bf0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov esi, edi
call fcn.0044b5a0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov esi, dword [esp + 0x18]
call fcn.00410130
mov ecx, dword [esp + 0x18]
lea esi, [edi + 0x54]
mov dword [edi + 0x50], eax
call fcn.00410180
mov esi, dword [esp + 0x20]
mov dword [edi + 0x4c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov ecx, dword [edi + 0x4c]
mov dword [edi + 0x20], eax
movzx eax, byte [ecx]
mov dword [esi], eax
cmp eax, 0x80
jae 0x478a64
mov dword [edi + 0x34], 1
jmp 0x478a76
mov esi, dword [esp + 0x20]
mov ecx, dword [edi + 0x4c]
call fcn.0040b530
movzx edx, al
mov dword [edi + 0x34], edx
mov ecx, dword [edi + 0x54]
xor eax, eax
mov word [edi + 0x3e], ax
cmp ecx, dword [esi]
jae 0x478aa6
xor ecx, ecx
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x54], ecx
mov eax, dword [esi]
cmp eax, 0x18003
ja 0x478b80
cmp eax, dword [edi + 0x50]
jbe 0x4788be
jmp 0x478b80
mov edx, dword [edi + 0x4c]
jmp 0x478950
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x1c]
call fcn.0040b530
mov ecx, dword [esp + 0x40]
movzx eax, al
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
call fcn.004113a0
add dword [esp + 0x80], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x80]
adc dword [esp + 0x84], 0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
add dword [esp + 0x40], 4
inc eax
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x30]
ja 0x478b14
cmp ecx, edx
jb 0x478993
jmp 0x478b18
cmp ecx, edx
jb 0x478b2e
cmp ecx, edx
ja 0x478b40
mov edx, dword [edi + 0x50]
cmp esi, edx
jne 0x478b40
xor edx, edx
cmp dword [esp + 0x84], edx
jne 0x478b40
xor edx, edx
cmp dword [esp + 0x84], edx
jb 0x478b4f
ja 0x478b40
cmp esi, dword [edi + 0x50]
jbe 0x478b4f
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
jne 0x478b6e
mov ecx, dword [esp + 0x18]
xor eax, eax
sub ecx, dword [esp + 0x38]
cmp dword [edi + 0x4c], 0
mov word [edi + 0x3e], ax
mov dword [edi + 0x34], ecx
jne 0x478ba4
lea eax, [esp + 0x1a0]
call fcn.004107f0
jmp 0x478ba4
cmp dword [edi + 0x4c], 0
jne 0x478b80
lea eax, [esp + 0x1a0]
call fcn.004107f0
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x47ccb2
lea edx, [eax + eax*4]
lea ebx, [ecx + edx*4 - 0x14]
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov dword [esp + 0x1c], ecx
movzx eax, word [edi + 0x3e]
cmp eax, dword [esp + 0x30]
ja 0x478be9
cmp byte [ebx + 1], 0xf6
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
jne 0x4779fa
mov ecx, dword [ebx + 0x10]
push 0x2000
push ecx
push eax
call fcn.00410d70
add esp, 0xc
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [edi + eax*4 + 0x58]
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov edx, 0x9000
test word [esi + 0x10], dx
je 0x478c08
mov eax, esi
call fcn.00410bf0
mov ecx, dword [edi + 0x54]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
cmp ecx, dword [edx + eax*4 + 4]
jb 0x478cc9
mov ecx, dword [edi + 0x4c]
add ecx, dword [edx + eax*4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
cmp eax, 0xc
jae 0x478c43
push esi
call fcn.00411470
add esp, 4
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov dl, byte [esp + 0x3c]
lea edi, [eax - 0xc]
shr edi, 1
lea eax, [edi + 2]
cmp dword [esi + 0x18], eax
mov dword [esi + 0xc], edi
mov byte [esi + 0x12], dl
jge 0x478c85
mov ecx, dword [esp + 0x10]
cmp edi, dword [ecx + 0x78]
jg 0x47ceba
mov edx, 1
push 0
push eax
mov word [esi + 0x10], dx
call fcn.004220b0
add esp, 8
test eax, eax
jne 0x47cfa7
jmp 0x478c8b
mov eax, dword [esi + 0x20]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 8]
push edi
push ecx
push edx
call fcn.004ad640
mov eax, dword [esi + 8]
mov byte [edi + eax], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
and eax, 1
mov byte [edi + ecx + 1], 0
mov dx, word [eax*2 + 0x4c8c24]
add esp, 0xc
mov word [esi + 0x10], dx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov al, byte [esp + 0x3c]
mov byte [esi + 0x12], al
movzx ecx, word [ebx + 2]
mov eax, dword [esp + 0x1c]
test cl, 0xc0
je 0x478cea
cmp eax, 0xc
jb 0x478ce6
test al, 1
je 0x478cf3
test cl, cl
js 0x478cf3
call fcn.004113a0
test eax, eax
jne 0x478d0f
mov eax, dword [esp + 0x1c]
push esi
mov ecx, 0x4c81e0
call fcn.00411470
add esp, 4
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx + 0x78]
jg 0x47ceba
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
mov ecx, dword [edi + 0x2c]
push edx
push ecx
mov edi, eax
call fcn.00439c50
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
push esi
call fcn.00411470
mov edx, 0xbfff
add esp, 4
and word [esi + 0x10], dx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
xor eax, eax
cmp ax, word [ecx + 0x22]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x18], 0
jge case.0x4773f3.89
add edi, 0xe
movzx eax, word [edi]
test al, 0x60
je 0x478db0
test al, 0x20
jne 0x478e5a
cmp dword [ebx + 0xc], 0
jne 0x478e57
mov ecx, dword [esp + 0x3c]
push ecx
mov cl, byte [edi - 6]
mov eax, esi
call fcn.00428b00
movzx eax, word [esi + 0x10]
add esp, 4
test al, 1
jne case.default.0x478ddf
mov ecx, dword [edi - 0xa]
shr ecx, 4
and ecx, 0xf
add ecx, 0xfffffffe
cmp ecx, 4
ja case.default.0x478ddf
jmp dword [ecx*4 + 0x47d42c]
test al, 0x10
jmp 0x478e4d
test al, 4
jmp 0x478e4d
test al, 2
jmp 0x478e4d
test al, 4
je 0x478e4b
mov ecx, dword [esi + 4]
cmp ecx, 0x7fff
mov edx, dword [esi]
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], ecx
jg 0x478e34
jl 0x478e18
cmp edx, 0xffffffff
ja 0x478e34
cmp ecx, 0xffff8000
jl 0x478e34
jg 0x478e26
test edx, edx
jb 0x478e34
and eax, 0xfffb
or eax, 0x20
mov word [esi + 0x10], ax
jmp case.default.0x478ddf
fild qword [esp + 0x168]
and eax, 0xfffb
or eax, 8
mov word [esi + 0x10], ax
fstp qword [esi]
jmp case.default.0x478ddf
test al, 0x28
je 0x47ccc5
mov ecx, dword [esp + 0x28]
add esi, 0x28
mov eax, dword [esp + 0x18]
movsx edx, word [ecx + 0x22]
inc eax
add edi, 0x10
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x478d97
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
mov edi, dword [ebx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
lea esp, [esp]
mov edx, dword [esp + 0x3c]
mov cl, byte [edi]
push edx
mov eax, esi
call fcn.00428b00
add esp, 4
cmp byte [edi], 0x45
jne 0x478efd
movzx eax, word [esi + 0x10]
test al, 4
je 0x478efd
mov ecx, dword [esi + 4]
cmp ecx, 0x7fff
mov edx, dword [esi]
mov dword [esp + 0x178], edx
mov dword [esp + 0x17c], ecx
jg 0x478ee8
jl 0x478ed0
cmp edx, 0xffffffff
ja 0x478ee8
cmp ecx, 0xffff8000
jl 0x478ee8
jg 0x478ede
test edx, edx
jb 0x478ee8
and eax, 0xfffb
or eax, 0x20
jmp 0x478ef9
fild qword [esp + 0x178]
and eax, 0xfff9
or eax, 8
fstp qword [esi]
mov word [esi + 0x10], ax
inc edi
cmp byte [edi], 0
je case.0x4773f3.89
add esi, 0x28
jmp 0x478e90
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
mov esi, dword [ebx + 0x10]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8 - 0x28]
xor edx, edx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
cmp esi, edx
je 0x478f92
add edi, 0x10
mov edi, edi
mov edx, dword [esp + 0x3c]
mov cl, byte [esi]
push edx
lea eax, [edi - 0x10]
call fcn.00428b00
add esp, 4
cmp byte [esi], 0x45
jne 0x478f89
movzx eax, word [edi]
test al, 4
je 0x478f89
and eax, 0xfffb
or eax, 0x20
mov word [edi], ax
inc esi
add edi, 0x28
cmp byte [esi], 0
jne 0x478f60
mov esi, dword [esp + 0x34]
add esi, 0x1c
lea esp, [esp]
movzx eax, word [esi - 0xc]
test al, 1
je 0x478fbf
and eax, 0x400
neg eax
sbb eax, eax
and eax, 0xa
inc dword [esp + 0x20]
mov dword [esi], eax
jmp 0x4791a4
test al, 0x24
je 0x47911b
mov edi, dword [esi - 0x18]
mov ecx, dword [esi - 0x1c]
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], edi
mov dword [esp + 0x23c], edi
test edi, edi
jg 0x478ffb
jl 0x478fec
test ecx, ecx
jae 0x478ffb
mov edx, ecx
not edx
mov dword [esp + 0xe0], edx
not edi
jmp 0x479002
mov dword [esp + 0xe0], ecx
inc dword [esp + 0x20]
mov edx, dword [esp + 0xe0]
test edi, edi
ja 0x479057
jb 0x479018
cmp edx, 0x7f
ja 0x479057
mov eax, ecx
and eax, 1
xor edi, edi
cmp eax, ecx
jne 0x479042
cmp edi, dword [esp + 0x23c]
jne 0x479042
mov eax, dword [ebp + 8]
cmp byte [eax + 0x93], 4
jb 0x479042
add edx, 8
mov dword [esi], edx
jmp 0x4791a4
add dword [esp + 0x48], 1
mov dword [esi], 1
adc dword [esp + 0x4c], 0
jmp 0x4791a4
xor ecx, ecx
cmp edi, ecx
ja 0x4790bf
jb 0x479067
cmp edx, 0x7fff
ja 0x47907b
add dword [esp + 0x48], 2
mov dword [esi], 2
adc dword [esp + 0x4c], ecx
jmp 0x4791a4
cmp edi, ecx
ja 0x4790bf
jb 0x479089
cmp edx, 0x7fffff
ja 0x47909d
add dword [esp + 0x48], 3
mov dword [esi], 3
adc dword [esp + 0x4c], ecx
jmp 0x4791a4
cmp edi, ecx
ja 0x4790bf
jb 0x4790ab
cmp edx, 0x7fffffff
ja 0x4790bf
add dword [esp + 0x48], 4
mov dword [esi], 4
adc dword [esp + 0x4c], ecx
jmp 0x4791a4
cmp edi, 0x7fff
ja 0x4790e2
jb 0x4790ce
cmp edx, 0xffffffff
ja 0x4790e2
add dword [esp + 0x48], 6
mov dword [esi], 5
adc dword [esp + 0x4c], ecx
jmp 0x4791a4
add dword [esp + 0x48], 8
adc dword [esp + 0x4c], ecx
test al, 0x20
je 0x479110
fild qword [esp + 0x170]
and eax, 0xffdf
or eax, 8
mov word [esi - 0xc], ax
fstp qword [esi - 0x1c]
mov dword [esi], 7
jmp 0x4791a4
mov dword [esi], 6
jmp 0x4791a4
test al, 8
je 0x479135
inc dword [esp + 0x20]
add dword [esp + 0x48], 8
mov dword [esi], 7
adc dword [esp + 0x4c], 0
jmp 0x4791a4
mov ecx, dword [esi - 0x10]
mov edx, eax
shr edx, 1
and edx, 1
mov dword [esp + 0x24], ecx
lea edi, [edx + ecx*2 + 0xc]
test eax, 0x400
je 0x479186
mov ecx, dword [esp + 0x48]
or ecx, dword [esp + 0x4c]
mov eax, dword [esi - 0x1c]
lea edi, [edi + eax*2]
je 0x479177
lea eax, [esi - 0x1c]
call fcn.00422230
test eax, eax
jne 0x47cfa7
mov edx, dword [esi - 0x1c]
add dword [esp + 0x24], edx
jmp 0x479186
cdq
add dword [esp + 0x98], eax
adc dword [esp + 0x9c], edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x48], eax
push 0
push edi
adc dword [esp + 0x54], 0
call fcn.0040b5b0
add esp, 8
add dword [esp + 0x20], eax
mov dword [esi], edi
lea ecx, [esi - 0x1c]
cmp ecx, dword [esp + 0x18]
je 0x4791b5
sub esi, 0x28
jmp 0x478fa0
cmp dword [esp + 0x20], 0x7e
jle 0x4791e3
mov eax, dword [esp + 0x20]
cdq
push edx
push eax
call fcn.0040b5b0
mov esi, eax
mov eax, dword [esp + 0x28]
add eax, esi
mov dword [esp + 0x28], eax
cdq
push edx
push eax
call fcn.0040b5b0
add esp, 0x10
cmp esi, eax
jge 0x4791e7
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cdq
mov esi, eax
mov eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x110], esi
add esi, dword [esp + 0x48]
mov dword [esp + 0x114], eax
adc eax, dword [esp + 0x4c]
mov ecx, esi
add ecx, dword [esp + 0x98]
adc eax, dword [esp + 0x9c]
mov edi, eax
mov eax, dword [edx + 0x18]
cdq
cmp edi, edx
jg 0x479238
jl 0x47922a
cmp ecx, eax
ja 0x479238
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x20]
mov dword [eax + 8], ecx
mov edi, eax
jmp 0x479267
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x78]
cdq
cmp edi, edx
jg 0x47ceba
jl 0x479252
cmp ecx, eax
ja 0x47ceba
mov edi, dword [esp + 0x1c]
mov eax, esi
mov ecx, edi
call fcn.004221b0
test eax, eax
jne 0x47cfa7
mov eax, 0x10
mov word [edi + 0x10], ax
mov eax, dword [esp + 0x98]
mov ecx, eax
or ecx, dword [esp + 0x9c]
mov dword [edi + 0xc], esi
je 0x479290
mov edx, 0x410
mov dword [edi], eax
mov word [edi + 0x10], dx
mov eax, dword [esp + 0x20]
cmp eax, 0x80
mov esi, dword [edi + 8]
lea ecx, [esi + eax]
mov dword [esp + 0x1c], ecx
jge 0x4792aa
mov byte [esi], al
inc esi
jmp 0x4792c4
mov edx, dword [esp + 0x114]
mov eax, dword [esp + 0x110]
push edx
push eax
call fcn.0040b350
add esp, 8
add esi, eax
mov edi, dword [esp + 0x18]
add edi, 0xc
jmp 0x4792d0
mov eax, dword [edi + 0x10]
cmp eax, 7
ja 0x479321
mov byte [esi], al
inc esi
mov dword [esp + 0x28], esi
test eax, eax
je 0x479363
movzx eax, byte [eax + 0x4c8b20]
mov ecx, dword [edi - 0xc]
mov esi, dword [esp + 0x1c]
mov edx, dword [edi - 8]
mov dword [esp + 0x24], eax
sub eax, 1
mov byte [eax + esi], cl
je 0x479313
shrd ecx, edx, 8
shr edx, 8
sub eax, 1
mov byte [eax + esi], cl
jne 0x479304
add esi, dword [esp + 0x24]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x28]
jmp 0x479363
cmp eax, 0x80
jae 0x479338
mov byte [esi], al
inc esi
cmp eax, 0xe
jb 0x479363
mov eax, dword [edi]
test eax, eax
jle 0x479363
jmp 0x47934b
push 0
push eax
call fcn.0040b350
add esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x479363
mov ecx, dword [edi - 4]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004ad640
mov eax, dword [edi]
add esp, 0xc
add dword [esp + 0x1c], eax
lea ecx, [edi - 0xc]
cmp ecx, dword [esp + 0x34]
je case.0x4773f3.89
add edi, 0x28
jmp 0x4792d0
cmp dword [ebx + 0xc], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + edx*4]
mov esi, dword [edx + 0x2c]
je 0x4793ae
push esi
call fcn.00410280
mov edi, eax
mov esi, edx
mov edx, dword [ebp + 8]
add esp, 4
mov eax, ebx
call fcn.00412230
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x47c571
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xf0]
push eax
xor edi, edi
push ecx
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], edi
call fcn.00438fb0
add esp, 8
mov dword [esp + 0xc], eax
cmp eax, edi
jne 0x47cf10
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0xf4]
mov edi, dword [esp + 0xf0]
mov eax, ebx
call fcn.00412230
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x47c571
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x4794fc
mov edx, dword [esp + 0x10]
cmp dword [edx + 0xc4], ecx
jg 0x47cb42
call fcn.0040a750
mov esi, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1fc]
add eax, dword [esi + 0x1f8]
push eax
push 0
call fcn.004164c0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov ecx, dword [esp + 0x34]
add ecx, 0x21
push eax
push ecx
mov edi, esi
mov ecx, edi
call fcn.00419be0
mov esi, eax
add esp, 8
test esi, esi
je 0x4794d4
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
inc edx
push edx
lea eax, [esi + 0x20]
push ecx
push eax
mov dword [esi], eax
call fcn.004ad640
add esp, 0xc
cmp byte [edi + 0x55], 0
je 0x47949b
mov byte [edi + 0x55], 0
mov byte [edi + 0x5d], 1
jmp 0x4794a1
inc dword [edi + 0x1f8]
mov edx, dword [edi + 0x1ec]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x200]
mov dword [edi + 0x1ec], esi
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x204]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x208]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x20c]
mov dword [esi + 0x14], eax
cmp dword [esp + 0xc], 0
jne 0x47cf10
mov edx, dword [ebp + 8]
cmp byte [edx + 0x95], 3
jne case.0x4773f3.89
mov dword [esp + 0xc], 0x65
jmp 0x47d0ab
mov esi, dword [esp + 0x10]
mov edi, dword [esi + 0x1ec]
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], edi
test edi, edi
je 0x47953e
jmp 0x479520
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
call fcn.0040a950
test eax, eax
je 0x479560
mov edi, dword [edi + 0x18]
inc dword [esp + 0x38]
mov dword [esp + 0x40], edi
test edi, edi
jne 0x479520
mov eax, dword [esp + 0x18]
mov edi, dword [ebp + 8]
push eax
push str.no_such_savepoint:__s
call fcn.0042ca30
add esp, 8
mov dword [esp + 0xc], 1
jmp 0x47cf10
mov eax, dword [esp + 0x30]
xor ecx, ecx
cmp dword [esi + 0xc4], ecx
jle 0x479577
cmp eax, 1
je 0x47cb4c
cmp dword [edi + 0x18], ecx
jne 0x4795d4
cmp byte [esi + 0x5d], 0
je 0x4795d4
mov dword [esp + 0x34], 1
cmp eax, 1
jne 0x4795d8
push eax
mov eax, dword [ebp + 8]
call fcn.0042cd20
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47d0ab
mov edi, dword [ebp + 8]
mov byte [esi + 0x55], 1
call fcn.00461950
cmp eax, 5
je 0x47cd13
mov edi, dword [edi + 0x24]
mov dword [esp + 0xc], edi
test edi, edi
je 0x47964b
mov byte [esi + 0x55], 0
jmp 0x4796bc
mov dword [esp + 0x34], ecx
mov edx, dword [esi + 0x1f8]
sub edx, dword [esp + 0x38]
dec edx
mov dword [esp + 0x38], edx
cmp eax, 2
jne 0x479651
mov eax, dword [esi + 0x18]
and eax, 1
cmp dword [esi + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
jle 0x479655
xor eax, eax
cmp dword [esp + 0x18], eax
sete al
xor edi, edi
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x10]
mov eax, dword [edi + edx + 4]
push ecx
push 0x204
push eax
call fcn.004421c0
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
inc eax
add edi, 0x10
cmp eax, dword [esi + 0x14]
mov dword [esp + 0x24], eax
jl 0x47960e
jmp 0x479655
mov byte [esi + 0x5d], 0
jmp 0x4796cb
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x24], 0
jle 0x47969f
xor edi, edi
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x10]
mov eax, dword [edi + edx + 4]
push ecx
push eax
mov eax, dword [esp + 0x38]
call fcn.0044aab0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
inc eax
add edi, 0x10
cmp eax, dword [esi + 0x14]
mov dword [esp + 0x24], eax
jl 0x479665
cmp dword [esp + 0x18], 0
je 0x4796bc
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov eax, esi
call fcn.00411a20
call fcn.0042ddb0
or dword [esi + 0x18], 1
cmp dword [esp + 0xc], 0
jne 0x47cf10
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
cmp dword [esi + 0x1ec], edi
je 0x479707
jmp 0x4796e0
mov eax, dword [esi + 0x1ec]
mov ecx, dword [eax + 0x18]
push eax
push esi
mov dword [esi + 0x1ec], ecx
call fcn.0040a090
dec dword [esi + 0x1f8]
add esp, 8
cmp dword [esi + 0x1ec], edi
jne 0x4796e0
mov eax, dword [esp + 0x30]
cmp eax, 1
jne 0x47973a
mov edx, dword [edi + 0x18]
push edi
push esi
mov dword [esi + 0x1ec], edx
call fcn.0040a090
add esp, 8
cmp dword [esp + 0x34], 0
jne 0x4794d4
mov eax, dword [esp + 0x10]
dec dword [eax + 0x1f8]
jmp 0x47976e
cmp dword [esp + 0x34], 0
mov ecx, dword [edi + 8]
mov dword [esi + 0x200], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x204], edx
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x208], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x20c], edx
je 0x47976e
cmp eax, 2
jne 0x4794d4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
push eax
push ecx
call fcn.004164c0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jmp 0x4794d9
mov edx, dword [ebx + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x34], 0
test edx, edx
je 0x4797b8
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, 0x100000
and ecx, 2
or eax, ecx
jne 0x47ce53
mov edi, dword [ebx + 4]
shl edi, 4
add edi, dword [esi + 0x10]
mov eax, dword [edi + 4]
mov dword [esp + 0x50], edi
mov dword [esp + 0x28], eax
test eax, eax
je 0x479890
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.0044a840
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47ce7c
mov ecx, dword [ebp + 8]
test byte [ecx + 0x98], 0x20
je 0x479890
cmp dword [ebx + 8], eax
je 0x479890
cmp byte [esi + 0x55], al
je 0x479816
cmp dword [esi + 0xc0], 1
jle 0x479890
cmp dword [ecx + 0x30], 0
jne 0x479833
inc dword [esi + 0x1fc]
mov eax, dword [esi + 0x1fc]
mov edx, dword [esi + 0x1f8]
add edx, eax
mov dword [ecx + 0x30], edx
mov esi, dword [esp + 0x10]
mov edi, ecx
mov eax, dword [edi + 0x30]
dec eax
push eax
push 0
call fcn.004164c0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x479864
mov ecx, dword [edi + 0x30]
mov esi, dword [esp + 0x28]
push ecx
call fcn.0041cb30
add esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x200]
mov dword [edi + 0x48], edx
mov ecx, dword [eax + 0x204]
mov dword [edi + 0x4c], ecx
mov edx, dword [eax + 0x208]
mov dword [edi + 0x50], edx
mov eax, dword [eax + 0x20c]
mov dword [edi + 0x54], eax
mov edi, dword [esp + 0x50]
cmp dword [esp + 0xc], 0
jne 0x47cf10
cmp word [ebx + 2], 0
je case.0x4773f3.89
mov ecx, dword [esp + 0x34]
cmp ecx, dword [ebx + 0xc]
jne 0x4798be
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 4]
cmp eax, dword [ebx + 0x10]
je case.0x4773f3.89
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x7c]
mov esi, dword [esp + 0x10]
push ecx
push esi
call fcn.0040a090
push str.database_schema_has_changed
push esi
call fcn.00420df0
mov dword [edi + 0x7c], eax
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x10]
mov edx, eax
shl edx, 4
mov edx, dword [edx + ecx + 0xc]
mov ecx, dword [esp + 0x44]
add esp, 0x10
cmp dword [edx], ecx
je 0x4798fc
call fcn.0042dd40
mov edx, dword [edi + 0x98]
and edx, 0xffffffed
or edx, 1
mov dword [esp + 0xc], 0x11
mov dword [edi + 0x98], edx
jmp 0x47cf10
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ecx + 0x10]
shl eax, 4
mov esi, dword [eax + edx + 4]
call fcn.0041cb60
mov edx, dword [ebp + 8]
add esp, 8
mov eax, ebx
call fcn.00412230
mov ecx, eax
mov eax, dword [esp + 0x11c]
cdq
mov dword [ecx + 4], edx
add ebx, 0x14
mov dword [ecx], eax
xor edx, edx
jmp 0x4773d3
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
shl esi, 4
add esi, dword [eax + 0x10]
push ecx
mov edi, dword [esi + 4]
push edx
call fcn.00421e50
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
mov edi, 1
add esp, 8
cmp eax, edi
jne 0x4799b4
movzx eax, word [ebx + 2]
mov ecx, dword [ebx + 0xc]
mov edx, dword [esi + 0xc]
mov esi, dword [esp + 0x10]
sub ecx, eax
mov dword [edx], ecx
or dword [esi + 0x18], edi
mov eax, dword [ebx + 4]
mov ecx, esi
call fcn.004246a0
jmp 0x4799c6
cmp eax, 2
jne 0x4799c2
mov eax, dword [esi + 0xc]
mov cl, byte [ebx + 0xc]
mov byte [eax + 0x4c], cl
mov esi, dword [esp + 0x10]
cmp dword [ebx + 4], edi
jne 0x4799de
xor ecx, ecx
mov eax, esi
call fcn.00411a20
mov eax, dword [ebp + 8]
and dword [eax + 0x98], 0xfffffffc
cmp dword [esp + 0xc], 0
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov esi, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x479a1e
mov edx, dword [eax + 0x38]
cmp edx, dword [ebx + 8]
jne 0x479a1e
mov esi, dword [eax + 0x2c]
lea edi, [eax + 0x2c]
call fcn.0040f860
jmp 0x479b26
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x98]
and al, 3
cmp al, 1
je 0x47ceb0
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
shl eax, 4
add eax, dword [edx + 0x10]
xor edi, edi
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], edx
cmp cl, 0x71
jne 0x479a7c
movzx ecx, word [ebx + 2]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
and ecx, 8
or ecx, 4
mov dword [esp + 0x34], ecx
cmp al, byte [esi + 0x93]
jae 0x479a84
mov byte [esi + 0x93], al
jmp 0x479a84
mov dword [esp + 0x34], 0
test byte [ebx + 2], 0x10
je 0x479aa6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*8]
call fcn.00410a00
mov eax, dword [esi]
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov al, byte [ebx + 1]
cmp al, 0xf8
jne 0x479aba
mov eax, dword [ebx + 0x10]
movzx edi, word [eax + 8]
mov dword [esp + 0x40], eax
jmp 0x479ac1
cmp al, 0xfd
jne 0x479ac1
mov edi, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
push 0
push edi
push ecx
mov edi, esi
call fcn.0045e240
mov edi, eax
add esp, 0xc
test edi, edi
je 0x47cfa7
mov ecx, dword [esp + 0x34]
mov dl, byte [esp + 0x28]
mov esi, dword [esp + 0x40]
or dword [edi + 8], 4
push ecx
mov ecx, dword [esp + 0x54]
lea eax, [edi + 0x2c]
mov byte [edi + 1], dl
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [eax]
mov byte [edi + 2], 1
mov dword [edi + 0x38], edx
mov dword [esp + 0x30], eax
call fcn.00435460
mov dword [edi + 0x30], esi
add esp, 8
cmp byte [ebx + 1], 0xf8
mov dword [esp + 0xc], eax
setne dl
mov byte [edi + 4], dl
mov edi, dword [esp + 0x28]
movzx eax, word [ebx + 2]
mov ecx, dword [edi]
and eax, 3
push eax
call fcn.0040f890
add esp, 4
cmp dword [esp + 0xc], 0
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 0x60]
mov esi, dword [edx + ecx*4]
movsx eax, word [esi + 0x3c]
mov ecx, dword [ebx + 4]
push 0
push eax
push ecx
call fcn.0045e240
add esp, 0xc
test eax, eax
je 0x47cfa7
or dword [eax + 8], 1
mov edi, dword [eax + 8]
mov byte [eax + 2], 1
mov edx, dword [esi + 0x30]
mov dword [eax + 0x30], edx
mov cl, byte [esi + 4]
mov byte [eax + 4], cl
mov edx, dword [esi + 0x38]
mov dword [eax + 0x38], edx
mov ecx, dword [esi + 8]
xor ecx, edi
and ecx, 4
xor ecx, edi
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x10]
mov ecx, 8
or dword [eax + 8], ecx
mov dword [eax + 0x10], edx
or dword [esi + 8], ecx
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0x30]
mov edx, dword [eax + 0x38]
push 4
push ecx
mov ecx, dword [eax + 0x2c]
call fcn.00435460
add esp, 8
add ebx, 0x14
mov dword [esp + 0xc], eax
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 0xc]
xor esi, esi
cmp eax, esi
jle 0x479bf6
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov dword [ecx + edx*8 + 0xc], esi
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 8], 0x4c5279
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + 0x60]
mov edi, dword [edx + eax*4]
cmp edi, esi
je 0x479c38
test byte [edi + 8], 8
jne 0x479c38
movsx edx, word [edi + 0x3c]
cmp dword [ebx + 8], edx
jg 0x479c38
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x10]
push esi
push eax
push ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
call fcn.00447510
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x479d3a
mov edx, dword [ebx + 8]
push esi
push edx
push eax
mov edi, ecx
call fcn.0045e240
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x47cfa7
or dword [edi + 8], 1
movzx eax, word [ebx + 2]
push 0x41e
or eax, 5
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
push 0
lea esi, [edi + 0x10]
push ecx
mov ecx, esi
call fcn.004463d0
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov edx, dword [esi]
push eax
push 1
push edx
call fcn.0044a840
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x479d0e
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
mov dword [edi + 0x30], eax
test eax, eax
je 0x479ceb
movzx ecx, word [ebx + 2]
mov esi, dword [edi + 0x10]
or ecx, 2
lea eax, [edi + 0x38]
push ecx
push eax
call fcn.004474e0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x479ce5
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x2c]
mov esi, dword [esp + 0x28]
push 4
push edx
mov edx, dword [edi + 0x38]
call fcn.00435460
add esp, 8
mov dword [esp + 0xc], eax
mov byte [edi + 4], 0
jmp 0x479d0e
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x2c]
mov edx, 1
push 4
push eax
xor esi, esi
mov dword [edi + 0x38], edx
call fcn.00435460
add esp, 8
mov dword [esp + 0xc], eax
mov byte [edi + 4], 1
xor ecx, ecx
cmp word [ebx + 2], 8
setne cl
add ecx, ecx
add ecx, ecx
xor ecx, dword [edi + 8]
and ecx, 4
xor dword [edi + 8], ecx
cmp dword [esp + 0xc], 0
je 0x479d44
mov edx, dword [edi + 0x10]
push edx
call fcn.0045e000
add esp, 4
xor esi, esi
cmp dword [esp + 0xc], esi
jne 0x47cf10
add ebx, 0x14
mov byte [edi + 2], 1
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edi, dword [ebp + 8]
push 1
push eax
push ecx
call fcn.0045e240
add esp, 0xc
test eax, eax
je 0x47cfa7
mov edx, dword [ebx + 0x10]
mov ecx, dword [esp + 0x10]
push eax
mov dword [eax + 0x30], edx
mov eax, dword [ebx + 0xc]
push eax
push ecx
call fcn.00426270
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov esi, ecx
add esi, 1
mov edi, edx
adc edi, 0
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], edi
mov eax, ecx
or eax, edx
je 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov edi, dword [ebp + 8]
push 3
push edx
push eax
call fcn.0045e240
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x47cfa7
mov byte [ecx + 2], 1
mov edx, dword [ebx + 8]
mov dword [ecx + 0x24], edx
mov byte [ecx + 4], 1
call fcn.0040f880
add ebx, 0x14
mov dword [ecx + 0x2c], eax
xor edx, edx
jmp 0x4773d3
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x60]
mov eax, dword [ebx + 4]
mov eax, dword [ecx + eax*4]
mov ecx, esi
call fcn.004618a0
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov dword [eax + edx*4], 0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
xor eax, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov byte [esi + 2], al
mov byte [esi + 3], al
mov dword [esi + 0x20], eax
cmp byte [esi + 4], al
je 0x479f87
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
movzx eax, word [edx + ecx*8 + 0x10]
lea edi, [edx + ecx*8]
mov dword [esp + 0x28], eax
and al, 0x2e
cmp al, 2
jne 0x479e8c
push 0
mov eax, edi
call fcn.00412160
add esp, 4
mov ecx, edi
call fcn.004108b0
mov cx, word [esp + 0x28]
mov dword [esp + 0xc0], eax
movzx eax, word [edi + 0x10]
mov dword [esp + 0xc4], edx
mov word [edi + 0x10], cx
test al, 0x24
jne 0x479f46
test al, 8
jne 0x479f08
test al, 1
jne 0x47cb2a
cmp dword [esp + 0x1c], 0x17
jge 0x47cb2a
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0x58]
call fcn.00435b00
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
cmp dword [esp + 0x58], 0
jne 0x47cb2a
cmp dword [esp + 0x18], 0
je case.0x4773f3.89
add ebx, 0x14
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
fld qword [edi]
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
sub esp, 8
fstp qword [esp]
push edx
push eax
call fcn.00411840
add esp, 0x10
test eax, eax
jle 0x479f39
test byte [esp + 0x1c], 1
jne 0x479f46
dec dword [esp + 0x1c]
jmp 0x479f46
jge 0x479f46
test byte [esp + 0x1c], 1
je 0x479f46
inc dword [esp + 0x1c]
mov edx, dword [esp + 0xc4]
mov edi, dword [esp + 0xc0]
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0x58]
push ecx
push 0
push edx
push edi
push eax
call fcn.0044ab30
mov ecx, dword [esp + 0xd8]
add esp, 0x14
mov dword [esp + 0xc], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ecx
test eax, eax
jne 0x47cf10
jmp 0x47a020
mov ecx, dword [esi + 0x2c]
push 2
call fcn.00410540
add esp, 4
test eax, eax
je 0x479fa0
mov dword [esp + 0x18], 1
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x1c]
mov ax, word [ebx + 0x10]
dec ecx
mov dword [esp + 0x248], edx
test cl, 1
mov ecx, dword [esp + 0x14]
sete dl
mov word [esp + 0x25c], ax
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
mov byte [esp + 0x262], 0
lea edx, [edx + edx - 1]
mov byte [esp + 0x25e], dl
lea edx, [ecx + eax*8]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24c]
mov dword [esp + 0x250], edx
mov edx, dword [esi + 0x2c]
push ecx
push edx
call fcn.00442250
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
cmp dword [esp + 0x18], eax
je 0x47a020
cmp byte [esp + 0x262], al
je 0x479ee5
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x17
mov eax, dword [esp + 0x58]
jl 0x47a085
test eax, eax
jl 0x47a045
jne 0x47a038
cmp ecx, 0x18
je 0x47a045
mov dword [esp + 0x58], 0
jmp 0x479ef0
mov eax, dword [esi + 0x2c]
push 0
push eax
mov dword [esp + 0x60], 0
call fcn.00446d60
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x479ef0
cmp eax, 0x65
jne 0x47cf10
mov dword [esp + 0xc], 0
mov dword [esp + 0x58], 1
jmp 0x47cb2a
test eax, eax
jg 0x47a0a1
jne 0x47a090
cmp ecx, 0x15
je 0x47a0a1
mov ecx, dword [esi + 0x2c]
call fcn.00410270
mov dword [esp + 0x58], eax
jmp 0x479ee5
mov ecx, dword [esi + 0x2c]
push 0
push ecx
mov dword [esp + 0x60], 0
call fcn.00446e80
jmp 0x47a058
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebx + 0x18]
mov esi, dword [ecx + edx*4]
mov ecx, dword [esi + 0x2c]
call fcn.004100f0
test eax, eax
je case.0x4773f3.89
mov ax, word [ebx + 0x24]
mov edx, dword [esi + 0x30]
mov edi, dword [ebx + 4]
mov word [esp + 0x2bc], ax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x2a8], edx
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov byte [esp + 0x2be], 0
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x24], 0
nop
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2ac]
push edx
push eax
mov eax, esi
call fcn.0043b590
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x47a149
cmp word [ebx + 2], 0
je 0x47a186
test eax, eax
jge 0x47cb2a
test edi, edi
jle case.0x4773f3.89
mov ecx, dword [esi + 0x2c]
push 0
push ecx
dec edi
mov dword [esi + 0x20], 0
call fcn.00446d60
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x47a110
cmp eax, 0x65
jne 0x47cf10
mov dword [esp + 0xc], 0
add ebx, 0x14
jmp 0x47cb2a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebx + 4]
mov eax, dword [ecx + edx*4]
movzx ecx, word [eax + 0xc]
cmp ecx, dword [ebx + 8]
jge 0x47a1b5
mov dx, word [ebx + 8]
mov word [eax + 0xc], dx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
cmp ecx, dword [ebx + 0xc]
jle case.0x4773f3.89
mov cx, word [ebx + 0xc]
add ebx, 0x14
mov word [eax + 0xc], cx
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx + edx*4]
test eax, eax
je case.0x4773f3.9
cmp byte [eax + 2], 0
je case.0x4773f3.89
jmp case.0x4773f3.9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebx + 4]
mov edx, dword [ecx + edx*4]
movzx eax, word [edx + 0xc]
cmp eax, dword [ebx + 0x10]
jge case.0x4773f3.89
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebx + 4]
mov edi, dword [eax + ecx*4]
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov cx, word [ebx + 0x10]
mov dword [esp + 0x21c], eax
mov word [esp + 0x22c], cx
test cx, cx
jbe 0x47a26d
mov eax, dword [edi + 0x30]
mov dword [esp + 0x218], eax
lea eax, [edi + 0x24]
push eax
lea ecx, [esp + 0x21c]
mov byte [esp + 0x232], 0
mov edx, dword [edi + 0x2c]
push ecx
push edx
call fcn.00442250
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x47a2d4
mov ecx, 0x400
test word [eax + 0x10], cx
je 0x47a285
call fcn.00422230
test eax, eax
jne 0x47cfa7
mov esi, dword [edi + 0x30]
call fcn.00422520
mov esi, eax
test esi, esi
je 0x47cfa7
mov eax, dword [esp + 0x21c]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x30]
push esi
push edx
push eax
push ecx
call fcn.004115f0
lea eax, [edi + 0x24]
push eax
mov byte [esi + 0x16], 0
mov edx, dword [edi + 0x2c]
push esi
push edx
call fcn.00442250
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
add esp, 0x1c
mov ecx, esi
call fcn.00409ff0
cmp dword [esp + 0xc], 0
jne 0x47cf10
xor eax, eax
cmp dword [edi + 0x24], eax
mov cl, 1
sete al
sub cl, al
mov byte [edi + 2], cl
mov byte [edi + 3], 0
mov dword [edi + 0x20], 0
mov dl, byte [ebx]
cmp dl, 0x1d
jne 0x47a312
test eax, eax
jne 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
test eax, eax
je 0x47cb2a
cmp dl, 0x1b
jne 0x47a348
movzx esi, word [esp + 0x22c]
xor eax, eax
test esi, esi
jle 0x47a348
mov ecx, dword [esp + 0x21c]
add ecx, 0x10
test byte [ecx], 1
jne 0x47cb2a
inc eax
add ecx, 0x28
cmp eax, esi
jl 0x47a337
cmp dl, 0x1a
jne case.0x4773f3.89
mov dx, word [ebx + 0x10]
mov word [edi + 0xc], dx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x10], 0x24
lea esi, [ecx + eax*8]
jne 0x47a3c4
mov ecx, 0xa
lea edi, [esp + 0x2f0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x3c]
push ecx
mov cl, 0x43
lea eax, [esp + 0x2f4]
call fcn.00428b00
add esp, 4
test byte [esp + 0x300], 4
je 0x47cb2a
mov edx, dword [esp + 0x2f4]
mov edi, dword [esp + 0x2f0]
mov dword [esp + 0x124], edx
jmp 0x47a3d8
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov dword [esp + 0x124], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebx + 4]
mov esi, dword [eax + ecx*4]
mov edx, dword [esp + 0x124]
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0x38]
push ecx
push 0
push edx
push edi
push eax
mov dword [esp + 0x4c], 0
call fcn.0044ab30
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x138]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x4c]
add esp, 0x14
mov dword [esi + 0x40], edi
mov byte [esi + 2], 0
mov dword [esi + 0x20], 0
mov byte [esi + 3], 0
mov dword [esi + 0x24], eax
test eax, eax
je 0x47a44b
cmp dword [ebx + 8], 0
jne 0x47cb2a
mov eax, 0x17754
call fcn.00431150
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov esi, dword [ebp + 8]
mov eax, ebx
mov edx, esi
call fcn.00412230
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ecx + 0x18]
mov dword [eax], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + edx*4]
add dword [eax + 0x18], 1
adc dword [eax + 0x1c], 0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, ebx
mov edx, esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x40], edi
call fcn.00412230
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + ecx*4]
test byte [eax + 8], 2
mov dword [esp + 0x30], eax
jne 0x47a52f
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0x40]
call fcn.00435b00
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
cmp dword [esp + 0x40], eax
je 0x47a4f4
mov dword [esp + 0x68], 1
jmp 0x47a52b
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x2c]
call fcn.00410100
mov edi, edx
cmp edi, 0x7fffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edi
jl 0x47a523
jg 0x47a519
cmp eax, 0xffffffff
jb 0x47a523
mov eax, dword [esp + 0x30]
or dword [eax + 8], 2
jmp 0x47a52f
add dword [esp + 0x68], 1
adc edi, 0
mov dword [esp + 0x6c], edi
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x47a5bc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x47a564
mov eax, dword [ecx + 4]
test eax, eax
je 0x47a559
mov edi, edi
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x47a550
mov eax, dword [ecx + 0xc]
lea edx, [edx + edx*4]
lea esi, [eax + edx*8]
jmp 0x47a56e
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x14]
lea esi, [edx + ecx*8]
call fcn.00410a00
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x47a589
cmp ecx, 0x7fffffff
je 0x47a637
mov edx, dword [esp + 0x30]
test byte [edx + 8], 2
jne 0x47a637
add eax, 1
adc ecx, 0
cmp edi, ecx
jg 0x47a5b3
jl 0x47a5a9
cmp dword [esp + 0x68], eax
jae 0x47a5b3
mov edi, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x68]
mov dword [esi], eax
mov dword [esi + 4], edi
mov ecx, dword [esp + 0x30]
test byte [ecx + 8], 2
je 0x47a644
mov dword [esp + 0x18], 0
mov edi, edi
lea edx, [esp + 0x68]
push edx
push 8
call fcn.00419e50
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x2c]
lea eax, [esp + 0x48]
push eax
and edi, 0x3fffffff
add esi, 1
adc edi, 0
push 0
push edi
push esi
push edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
call fcn.0044ab30
add esp, 0x1c
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
cmp dword [esp + 0x40], eax
jne 0x47a648
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x64
mov dword [esp + 0x18], eax
jl 0x47a5d0
mov dword [esp + 0xc], 0xd
jmp 0x47cf10
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x30]
mov byte [eax + 3], 0
mov dword [eax + 0x20], 0
mov eax, dword [esp + 0x1c]
add ebx, 0x14
mov dword [eax], esi
mov dword [eax + 4], edi
xor edx, edx
jmp 0x4773d3
cmp byte [ebx + 1], 0xfb
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x60]
mov esi, dword [esi + eax*4]
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*8]
mov dword [esp + 0x1f8], edi
mov ecx, dword [ecx + eax*8 + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1fc], ecx
jne 0x47a6cb
cmp dword [eax + 0xfc], 0
je 0x47a6cb
movsx ecx, byte [esi + 1]
mov edi, dword [eax + 0x10]
shl ecx, 4
mov ecx, dword [ecx + edi]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x10]
jmp 0x47a6d1
xor ecx, ecx
mov dword [esp + 0x34], ecx
test byte [ebx + 2], 1
mov dword [esp + 0x18], ecx
je 0x47a6fd
add dword [edx + 0x28], 1
adc dword [edx + 0x2c], 0
test byte [ebx + 2], 0x20
je 0x47a6fd
mov edx, dword [esp + 0x1f8]
mov ecx, dword [esp + 0x1fc]
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 8]
mov dword [esp + 0x200], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x20c], ecx
movzx ecx, word [ebx + 2]
test cl, 0x10
je 0x47a723
mov eax, dword [esi + 0x24]
jmp 0x47a725
xor eax, eax
mov edi, 0x400
test word [edx + 0x10], di
je 0x47a73d
mov edx, dword [edx]
mov dword [esp + 0x210], edx
xor edi, edi
jmp 0x47a746
xor edi, edi
mov dword [esp + 0x210], edi
and ecx, 0x8a
push ecx
lea ecx, [esp + 0x1f4]
mov dword [esp + 0x1f4], edi
mov edx, dword [esi + 0x2c]
push ecx
push edx
call fcn.0044ad90
add esp, 0xc
mov dword [esp + 0xc], eax
mov byte [esi + 3], 0
mov dword [esi + 0x20], edi
cmp eax, edi
jne 0x47cf10
mov eax, dword [esp + 0x18]
test eax, eax
je case.0x4773f3.89
mov ecx, dword [esp + 0x1fc]
mov edx, dword [esp + 0x1f8]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov dl, byte [ebx + 2]
push eax
and dl, 4
movzx eax, dl
neg eax
sbb eax, eax
and eax, 5
push ecx
add eax, 0x12
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xf8]
mov edx, dword [eax + 0xfc]
push ecx
call edx
add esp, 0x18
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov esi, dword [eax + ecx*4]
mov edi, dword [eax + edx*4]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x47a7fc
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov ecx, dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
jmp 0x47a800
xor ecx, ecx
xor eax, eax
push eax
mov eax, dword [edi + 0x2c]
push ecx
mov ecx, dword [esi + 0x2c]
push eax
push ecx
call fcn.00438af0
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
cmp byte [ebx + 1], 0xfb
mov edx, dword [ebx + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x60]
mov edi, dword [edx + eax*4]
jne 0x47a882
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xfc], 0
je 0x47a882
movsx ecx, byte [edi + 1]
mov edx, dword [eax + 0x10]
mov esi, dword [ebx + 0x10]
shl ecx, 4
test byte [ebx + 2], 2
mov eax, dword [ecx + edx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
je 0x47a890
cmp byte [edi + 4], 0
je 0x47a890
mov esi, dword [edi + 0x2c]
call fcn.00410100
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], edx
jmp 0x47a88c
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x18]
movzx ecx, byte [ebx + 2]
mov edx, dword [edi + 0x2c]
push ecx
push edx
call fcn.00446ec0
xor ecx, ecx
add esp, 8
mov dword [esp + 0xc], eax
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], ecx
cmp eax, ecx
jne 0x47cf10
test byte [esp + 0x28], 1
je case.0x4773f3.89
mov eax, dword [ebp + 8]
add dword [eax + 0x28], 1
adc dword [eax + 0x2c], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xfc]
test eax, eax
je case.0x4773f3.89
test esi, esi
je case.0x4773f3.89
test byte [esi + 0x1c], 0x80
jne case.0x4773f3.89
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [ecx + 0xf8]
push 9
push edx
call eax
add esp, 0x18
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push eax
mov eax, dword [esp + 0x14]
push ecx
call fcn.004119f0
xor eax, eax
add esp, 8
add ebx, 0x14
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebx + 0xc]
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + edx*8]
mov edx, dword [ebx + 0x10]
lea esi, [esp + 0x30]
push esi
push edx
push ecx
mov dword [esp + 0x3c], 0
call fcn.0043c510
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
cmp dword [esp + 0x30], eax
jne 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea esi, [eax + edx*8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov eax, dword [eax + ecx*4]
call fcn.00423050
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0xc]
mov eax, dword [edx + 0x60]
mov ecx, dword [eax + ecx*4]
add ebx, 0x14
mov dword [ecx + 0x20], 0
xor edx, edx
jmp 0x4773d3
mov esi, dword [ebp + 8]
mov eax, ebx
mov edx, esi
call fcn.00412230
mov edx, dword [ebx + 4]
mov edi, eax
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + edx*4]
mov esi, dword [ecx + 0x2c]
call fcn.00410130
mov edx, dword [esp + 0x10]
cmp eax, dword [edx + 0x78]
ja 0x47ceba
push edi
mov ecx, esi
call fcn.00439cd0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
cmp dword [ebx + 0xc], eax
jne case.0x4773f3.89
mov eax, 0x4000
test word [edi + 0x10], ax
je case.0x4773f3.89
mov esi, edi
call fcn.00426010
test eax, eax
jne 0x47cfa7
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov esi, dword [ebp + 8]
mov eax, ebx
mov edx, esi
call fcn.00412230
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov esi, dword [edx + ecx*4]
cmp byte [esi + 2], 0
mov edi, eax
je 0x47aa81
mov eax, 1
add ebx, 0x14
mov word [edi + 0x10], ax
xor edx, edx
jmp 0x4773d3
cmp byte [esi + 3], 0
je 0x47aa99
mov ecx, dword [esi + 0x40]
mov dword [esp + 0xc8], ecx
mov edx, dword [esi + 0x44]
jmp 0x47ab25
cmp byte [esi], 2
jne 0x47aaeb
mov eax, dword [esi + 0x2c]
mov esi, dword [eax]
mov ecx, dword [esi]
lea edx, [esp + 0xc8]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov ecx, dword [ebp + 8]
push ecx
mov dword [esp + 0x18], eax
call fcn.00422560
add esp, 0xc
cmp dword [esp + 0xc], 0
jne 0x47cf10
mov eax, dword [esp + 0xc8]
mov dword [edi], eax
mov ecx, dword [esp + 0xcc]
add ebx, 0x14
mov dword [edi + 4], ecx
xor edx, edx
jmp 0x4773d3
mov eax, esi
call fcn.00447840
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
cmp byte [esi + 2], al
je 0x47ab16
mov edx, 1
mov word [edi + 0x10], dx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov esi, dword [esi + 0x2c]
call fcn.00410100
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xcc], edx
mov dword [edi], eax
mov ecx, dword [esp + 0xcc]
add ebx, 0x14
mov dword [edi + 4], ecx
xor edx, edx
jmp 0x4773d3
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov edx, dword [edi + 0x60]
mov ecx, dword [edx + eax*4]
test ecx, ecx
jne 0x47ab87
push 3
push 1
push eax
call fcn.0045e240
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x47cfa7
or dword [ecx + 8], 8
mov dword [ecx + 0x24], 0
mov byte [ecx + 4], 1
call fcn.0040f880
mov dword [ecx + 0x2c], eax
cmp byte [ecx], 0
mov byte [ecx + 2], 1
mov dword [ecx + 0x20], 0
jne case.0x4773f3.89
mov esi, dword [ecx + 0x2c]
call fcn.0040f860
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x60]
mov eax, dword [ebx + 4]
mov esi, dword [edx + eax*4]
mov edx, dword [esi + 0x2c]
xor edi, edi
mov dword [esp + 0x20], edi
cmp cl, 0x89
jne 0x47abdd
mov ecx, edx
mov dword [esi + 0x24], 0xffffffff
call fcn.004100f0
test eax, eax
jne case.0x4773f3.89
lea ecx, [esp + 0x20]
mov eax, edx
call fcn.00435b00
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov byte [esi + 2], cl
mov byte [esi + 3], 0
mov dword [esi + 0x20], edi
cmp eax, edi
jne 0x47cf10
cmp dword [ebx + 8], 0
jle case.0x4773f3.89
test ecx, ecx
jne 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + eax*4]
mov esi, dword [eax + 0x2c]
lea edi, [esp + 0xd4]
mov eax, esi
call fcn.00435a90
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
cmp dword [esp + 0xd4], eax
jne 0x47cb2a
push esi
call fcn.00410280
add esp, 4
test edx, edx
jl case.0x4773f3.89
jg 0x47ac6f
test eax, eax
jb case.0x4773f3.89
push edx
push eax
call fcn.0040b870
movsx ecx, ax
add esp, 8
cmp ecx, dword [ebx + 0xc]
jge case.0x4773f3.89
mov dword [esp + 0xd4], 1
jmp 0x47cb2a
mov eax, dword [ebp + 8]
inc dword [eax + 0xac]
jmp 0x47aca3
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + edx*4]
cmp byte [esi], 1
mov dword [esp + 0x18], 1
lea edi, [esp + 0x18]
jne 0x47acc6
mov ecx, esi
call fcn.0043c4c0
jmp 0x47acd9
mov eax, dword [esi + 0x2c]
call fcn.00435a90
mov byte [esi + 3], 0
mov dword [esi + 0x20], 0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov eax, dword [esp + 0x18]
mov byte [esi + 2], al
cmp dword [ebx + 8], 0
jle case.0x4773f3.89
test eax, eax
jne 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebx + 4]
mov esi, dword [eax + ecx*4]
mov edi, dword [esp + 0x10]
mov eax, esi
call fcn.00422fc0
jmp 0x47ad58
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [edx + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebx + 0xc]
mov edx, dword [esi + 0x2c]
push ecx
push edx
call fcn.00446e80
jmp 0x47ad55
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + 0x60]
mov esi, dword [edx + eax*4]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + 0x2c]
push eax
push ecx
call fcn.00446d60
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esi + 0x20], 0
test eax, eax
jne 0x47ad84
mov byte [esi + 2], al
movzx edx, word [ebx + 2]
mov eax, dword [ebp + 8]
inc dword [eax + edx*4 + 0xa4]
lea eax, [eax + edx*4 + 0xa4]
jmp case.0x4773f3.9
cmp eax, 0x65
jne 0x47cf10
mov dword [esp + 0xc], 0
mov byte [esi + 2], 1
jmp 0x47c571
test byte [ebx + 2], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov eax, dword [ecx + 0x60]
mov edi, dword [eax + edx*4]
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea esi, [eax + edx*8]
je 0x47adc5
add dword [ecx + 0x28], 1
adc dword [ecx + 0x2c], 0
mov ecx, 0x400
test word [esi + 0x10], cx
je 0x47ade3
mov eax, esi
call fcn.00422230
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
cdq
mov dword [esp + 0x2d0], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x2d4], edx
mov edx, dword [esi + 8]
lea eax, [eax + eax*4]
mov dword [esp + 0x2c8], edx
lea edx, [ecx + eax*8]
movzx ecx, word [ebx + 2]
mov ax, word [ebx + 0x10]
mov dword [esp + 0x2dc], edx
mov word [esp + 0x2e0], ax
test cl, 0x10
je 0x47ae2d
mov eax, dword [edi + 0x24]
jmp 0x47ae2f
xor eax, eax
mov edx, dword [edi + 0x2c]
and ecx, 0x8a
push ecx
lea ecx, [esp + 0x2cc]
push ecx
push edx
call fcn.0044ad90
add esp, 0xc
mov dword [esp + 0xc], eax
mov dword [edi + 0x20], 0
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov eax, dword [ebx + 4]
mov edi, dword [edx + eax*4]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov edx, 0x400
test word [esi + 0x10], dx
je 0x47ae9e
mov eax, esi
call fcn.00422230
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
push esi
mov eax, edi
call fcn.0043c150
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov eax, dword [ebx + 4]
mov esi, dword [edx + eax*4]
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x2c]
mov cx, word [ebx + 0xc]
mov dword [esp + 0x288], eax
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
mov word [esp + 0x29c], cx
lea ecx, [eax + edx*8]
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0x28c]
push eax
push edi
mov byte [esp + 0x2aa], 0
mov dword [esp + 0x298], ecx
call fcn.00442250
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
cmp dword [esp + 0x10c], eax
jne 0x47af55
push 4
push edi
call fcn.00446ec0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
xor edx, edx
jmp 0x4773d3
cmp word [ebx + 2], 0
je 0x47af6d
mov eax, dword [esp + 0x10]
call fcn.00414180
test eax, eax
je 0x47ced4
xor eax, eax
add ebx, 0x14
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebx + 4]
mov esi, dword [eax + ecx*4]
mov eax, esi
call fcn.00447840
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
cmp byte [esi + 2], al
jne 0x47b045
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0xb8]
push ecx
xor edi, edi
push edx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], edi
call fcn.0043b490
add esp, 8
mov dword [esp + 0xc], eax
cmp eax, edi
jne 0x47cf10
cmp byte [ebx], 0x8d
jne 0x47b01e
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + eax*4]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [eax + 0x44], edx
mov byte [eax + 2], 0
mov dword [eax + 0x40], ecx
mov byte [eax + 3], 1
mov dword [eax + 0x20], edi
mov ecx, dword [ebx + 0x10]
add ebx, 0x14
mov dword [eax + 0x10], ecx
mov dword [eax + 0x28], esi
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [eax], edx
add ebx, 0x14
mov dword [eax + 4], ecx
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea eax, [eax + edx*8]
call fcn.00410bf0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [edx + 0x60]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 3], 0
je case.0x4773f3.89
call fcn.0044b5a0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x30]
mov esi, dword [eax + 0x2c]
cmp cl, 0x2a
sbb cl, cl
mov dword [esp + 0x268], edx
mov dx, word [ebx + 0x10]
mov byte [esp + 0x27e], cl
mov ecx, dword [ebx + 0xc]
mov word [esp + 0x27c], dx
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + edx*8]
mov dword [esp + 0x26c], edx
call fcn.00410130
mov edi, eax
xor eax, eax
jl 0x47cef1
jg 0x47b0f0
test edi, edi
jbe 0x47cef1
test eax, eax
jg 0x47cef1
jl 0x47b106
cmp edi, 0x7fffffff
ja 0x47cef1
mov eax, dword [esp + 0x10]
push eax
xor ecx, ecx
lea eax, [esp + 0x31c]
call fcn.00410bd0
mov ecx, eax
push ecx
mov eax, edi
mov ecx, esi
call fcn.00439cd0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov ecx, dword [esp + 0x324]
push eax
mov eax, dword [esp + 0x324]
lea edx, [esp + 0x26c]
push edx
push eax
push ecx
call fcn.0043ab30
mov esi, eax
add esp, 0x10
lea eax, [esp + 0x318]
call fcn.00410810
test byte [ebx], 1
jne 0x47b16c
neg esi
jmp 0x47b16d
inc esi
test esi, esi
jg 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov esi, dword [ebp + 8]
mov eax, ebx
mov edx, esi
call fcn.00412230
mov edi, eax
mov eax, dword [esp + 0x10]
mov edx, 1
mov word [edi + 0x10], dx
mov ecx, dword [eax + 0xcc]
inc ecx
cmp dword [eax + 0xc0], ecx
jg 0x47cf01
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
push ecx
mov ecx, dword [edx + 0x10]
shl eax, 4
mov esi, dword [eax + ecx + 4]
mov dword [esp + 0x58], 0
call fcn.00447760
mov esi, dword [esp + 0x58]
mov ecx, eax
mov edx, 4
mov eax, esi
mov word [edi + 0x10], dx
cdq
add esp, 8
mov dword [esp + 0xc], ecx
mov dword [edi], eax
mov dword [edi + 4], edx
test ecx, ecx
jne 0x47cf10
test esi, esi
je case.0x4773f3.89
mov edi, dword [ebx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
call fcn.00414670
mov al, byte [esp + 0x18]
inc al
add ebx, 0x14
mov byte [esp + 0x57], al
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
lea eax, [esp + 0xd8]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
xor esi, esi
shl edx, 4
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], esi
mov edx, dword [edx + ecx + 4]
push edx
call fcn.00447510
add esp, 0xc
mov dword [esp + 0xc], eax
cmp dword [ebx + 0xc], esi
je 0x47b29e
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xd8]
add dword [eax + 0x28], ecx
mov edx, dword [esp + 0xdc]
adc dword [eax + 0x2c], edx
mov eax, dword [ebx + 0xc]
cmp eax, esi
jle 0x47b29e
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*4]
add dword [edx + eax*8], ecx
mov ecx, dword [esp + 0xdc]
lea eax, [edx + eax*8]
adc dword [eax + 4], ecx
cmp dword [esp + 0xc], esi
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx + edx*4]
cmp byte [eax], 1
jne 0x47b2de
mov edx, dword [eax + 0x2c]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00422990
add esp, 8
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [eax + 0x2c]
call fcn.00447580
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0xc]
mov edi, eax
mov eax, dword [ebx + 4]
shl eax, 4
add eax, dword [ecx + 0x10]
push edx
mov esi, dword [eax + 4]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0
call fcn.004474e0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov edx, dword [esp + 0x28]
mov dword [edi], edx
add ebx, 0x14
mov dword [edi + 4], eax
xor edx, edx
jmp 0x4773d3
mov esi, dword [esp + 0x10]
inc byte [esi + 0x60]
mov eax, dword [ebx + 0x10]
push 0
push 0
push 0
push eax
push esi
call fcn.0047d8e0
dec byte [esi + 0x60]
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebx + 0x10]
mov edi, dword [esp + 0x10]
mov esi, dword [ebx + 4]
mov edx, dword [edi + 0x10]
test ecx, ecx
jne 0x47b3d4
mov ecx, esi
shl ecx, 4
mov eax, dword [ecx + edx + 0xc]
push eax
call fcn.00428dd0
and dword [edi + 0x18], 0xffffffef
movzx ecx, word [ebx + 2]
mov edx, dword [ebp + 8]
push ecx
add edx, 0x7c
push edx
push esi
push edi
call fcn.0047dd30
or dword [edi + 0x18], 1
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
add esp, 0x14
and dword [eax + 0x98], 0xfffffffc
jmp 0x47b49e
mov eax, dword [ebp + 8]
mov dword [esp + 0x18c], esi
add eax, 0x7c
shl esi, 4
mov dword [esp + 0x184], edi
mov dword [esp + 0x188], eax
mov dword [esp + 0x194], 0
mov eax, dword [esi + edx + 4]
add esi, edx
call fcn.0040ff20
push ecx
mov dword [esp + 0x1a0], eax
mov eax, dword [esi]
push str.sqlite_master
push eax
push str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
mov esi, edi
call fcn.0042aec0
mov esi, eax
xor eax, eax
add esp, 0x10
cmp esi, eax
je 0x47cb56
push eax
lea ecx, [esp + 0x188]
push ecx
push fcn.00477100
push esi
push edi
mov byte [edi + 0xb1], 1
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1ac], eax
call fcn.0047d8e0
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47b48e
mov eax, dword [esp + 0x190]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47b48e
cmp dword [esp + 0x198], eax
jne 0x47b48e
mov eax, 0x17d50
call fcn.00431150
mov dword [esp + 0xc], eax
mov ecx, esi
mov eax, edi
call fcn.00409ff0
mov byte [edi + 0xb1], 0
cmp dword [esp + 0xc], 0
je case.0x4773f3.89
mov esi, dword [esp + 0x10]
call fcn.0042ddb0
cmp dword [esp + 0xc], 7
je 0x47cfa7
jmp 0x47cf10
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
call fcn.0043cdd0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x10]
call fcn.004269e0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
push edx
mov edx, dword [ebx + 0x10]
call fcn.00424060
add esp, 4
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 4]
call fcn.00426f90
add esp, 4
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
lea eax, [esp + 0x134]
push eax
mov eax, dword [esi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push ecx
movzx ecx, word [ebx + 2]
add edx, 4
push edx
push eax
mov eax, dword [eax + 0x10]
shl ecx, 4
mov ecx, dword [ecx + eax + 4]
lea edx, [esp + 0xe4]
call fcn.004398c0
mov dword [esp + 0x20], eax
add esp, 0x14
mov eax, edi
call fcn.00410bf0
mov eax, dword [esp + 0x134]
test eax, eax
je 0x47b5ca
cmp dword [esp + 0xc], 0
jne 0x47cf2b
dec eax
cdq
sub dword [esi], eax
push fcn.00409f80
push 1
sbb dword [esi + 4], edx
mov edx, dword [esp + 0xd8]
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
push edi
call fcn.00427ed0
add esp, 0x18
movzx ecx, byte [esp + 0x3c]
mov eax, edi
call fcn.00427e50
jmp 0x47c571
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x10], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
lea edi, [ecx + edx*8]
jne 0x47b605
call fcn.0041ccb0
test eax, eax
jne 0x47cfa7
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
mov eax, dword [esi + 8]
push ecx
call fcn.0041b130
add esp, 8
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
test byte [eax + edx*8 + 0x10], 0x10
lea edi, [eax + edx*8]
je 0x47b672
mov eax, dword [edi + 8]
lea esi, [esp + 0x160]
call fcn.0040dbd0
test eax, eax
je 0x47b672
mov ecx, dword [esp + 0x164]
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x160]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
push edx
lea eax, [ecx + eax*8]
call fcn.00410c70
add esp, 8
jmp 0x47c571
mov eax, edi
call fcn.00410bf0
jmp case.0x4773f3.9
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x14]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 0x10], 0x10
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea esi, [edi + edx*8]
lea edi, [edi + eax*8]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
jne 0x47b6b3
call fcn.0041ccb0
test eax, eax
jne 0x47cfa7
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47b605
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push edx
push eax
mov eax, dword [esi + 8]
call fcn.0041b180
add esp, 0xc
test eax, eax
jne 0x47cb2a
mov eax, dword [esp + 0x28]
test eax, eax
jl case.0x4773f3.89
jmp 0x47b605
cmp word [ebx + 2], 0
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov dword [esp + 0x38], edx
lea edx, [ecx + eax*8]
mov dword [esp + 0x28], edx
je 0x47b730
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xd0]
mov esi, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x47b737
lea ebx, [ebx]
cmp dword [eax + 0x18], ecx
je case.0x4773f3.89
mov eax, dword [eax + 4]
test eax, eax
jne 0x47b720
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x38]
mov eax, dword [edi + 0xd8]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx + 0xa0]
jge 0x47cf3d
mov eax, dword [esp + 0x28]
test byte [eax + 0x10], 0x10
jne 0x47b852
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add eax, edx
mov dword [esp + 0x18], eax
test edx, edx
jne 0x47b770
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 4]
add eax, 7
lea esi, [esi + edx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + esi*4 + 0x58]
mov dword [esp + 0x50], eax
cdq
push edx
push eax
call fcn.00425bb0
mov esi, eax
add esp, 8
test esi, esi
je 0x47cfa7
mov edi, dword [esp + 0x28]
mov eax, edi
call fcn.004107f0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
sub ebx, dword [esp + 0x44]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [edi + 8], esi
mov dword [edi + 0x24], 0x411270
mov eax, 0x1010
mov word [edi + 0x10], ax
mov edi, dword [ebp + 8]
mov dword [esi + 0x3c], ecx
mov dword [esi], edi
mov eax, dword [edx + 0xc]
mov dword [esi + 0x40], eax
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x30], eax
mov edx, dword [edi + 0x58]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x38], eax
mov edx, dword [edi + 0x60]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x2c], eax
mov edx, dword [edi + 0x68]
mov dword [esi + 8], edx
mov eax, dword [edi + 0x6c]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x34], eax
mov eax, dword [edx + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x18], eax
lea edx, [esi + ecx*8 + 0x58]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x58]
cmp eax, edx
je 0x47b855
xor ebx, ebx
mov word [eax + 0x10], bx
mov dword [eax + 0x14], ecx
add eax, 0x28
cmp eax, edx
jne 0x47b840
jmp 0x47b855
mov esi, dword [eax + 8]
inc dword [edi + 0xd8]
mov edx, dword [edi + 0xd0]
mov dword [esi + 4], edx
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x20], eax
mov ecx, dword [ecx + 0x2c]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x68]
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 0x6c]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0xe4]
mov dword [esi + 0x28], eax
mov ebx, dword [esp + 0x38]
xor eax, eax
mov dword [edi + 0xe4], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0xd0], esi
lea eax, [esi + 0x58]
mov dword [edi + 0x58], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x14], ecx
movzx edx, word [esi + 0x40]
mov dword [edi + 0x18], edx
mov dword [esp + 0x14], eax
mov edx, ecx
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
mov dword [edi + 0x60], eax
mov edx, dword [ebx + 0xc]
lea ecx, [eax + edx*4]
mov dword [esi + 0x14], ecx
mov eax, dword [ebx + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call fcn.004acf20
mov eax, dword [ebx]
mov dword [edi + 0x68], eax
mov ecx, dword [ebx + 4]
add esp, 0xc
mov dword [esp + 0x44], eax
mov dword [edi + 0x6c], ecx
lea ebx, [eax - 0x14]
jmp 0x47c571
mov esi, dword [ebp + 8]
mov eax, ebx
mov edx, esi
call fcn.00412230
mov edx, dword [esi + 0xd0]
mov ecx, dword [edx + 0x30]
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xc]
lea ecx, [ecx + ecx*4]
mov ecx, dword [esi + ecx*4 + 4]
add ecx, dword [ebx + 4]
push 0x4000
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8]
push ecx
push eax
call fcn.00410d70
add esp, 0xc
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x20]
and eax, 0x80000
xor edx, edx
or eax, edx
mov eax, dword [ebx + 8]
cdq
je 0x47b978
add dword [ecx + 0x208], eax
adc dword [ecx + 0x20c], edx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
cmp dword [ebx + 4], 0
je 0x47b994
add dword [ecx + 0x200], eax
adc dword [ecx + 0x204], edx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebp + 8]
add dword [ecx + 0x40], eax
adc dword [ecx + 0x44], edx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
cmp dword [ebx + 4], 0
je 0x47b9c5
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x200]
or edx, dword [eax + 0x204]
jne case.0x4773f3.89
jmp 0x47b9d8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x40]
or edx, dword [eax + 0x44]
jne case.0x4773f3.89
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x208]
or ecx, dword [eax + 0x20c]
je 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xd0]
test ecx, ecx
je 0x47ba1f
mov eax, dword [ecx + 4]
test eax, eax
je 0x47ba11
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x47ba08
mov eax, dword [ebx + 4]
mov ecx, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
jmp 0x47ba2c
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea edi, [eax + edx*8]
mov esi, edi
call fcn.00410a00
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*8]
call fcn.00410a00
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, dword [edi + 4]
cmp ecx, esi
jg case.0x4773f3.89
jl 0x47ba61
mov edx, dword [edi]
cmp edx, eax
jae case.0x4773f3.89
add ebx, 0x14
mov dword [edi], eax
mov dword [edi + 4], esi
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov esi, dword [ecx + eax*8 + 4]
mov edi, dword [ecx + eax*8]
lea ecx, [ecx + eax*8]
test esi, esi
jl case.0x4773f3.89
jg 0x47ba96
test edi, edi
jbe case.0x4773f3.89
mov eax, dword [ebx + 0xc]
cdq
sub edi, eax
sbb esi, edx
mov dword [ecx], edi
mov dword [ecx + 4], esi
jmp 0x47cb2a
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + edx*8]
mov edx, dword [ebp + 8]
lea ecx, [ecx + eax*8]
mov eax, ebx
mov dword [esp + 0x28], ecx
call fcn.00412230
mov edi, eax
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], esi
test esi, esi
jl 0x47bb35
jg 0x47baeb
test eax, eax
jbe 0x47bb35
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jl 0x47bafe
jg 0x47bb02
test ecx, ecx
ja 0x47bb02
xor ecx, ecx
xor eax, eax
push eax
push ecx
lea edx, [esp + 0x100]
push edx
call fcn.0040b600
add esp, 0xc
test eax, eax
jne 0x47bb35
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xfc]
add ebx, 0x14
mov dword [edi], eax
mov dword [edi + 4], ecx
xor edx, edx
jmp 0x4773d3
add ebx, 0x14
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + edx*8 + 4]
lea edx, [eax + edx*8]
mov eax, dword [edx]
mov esi, eax
or esi, ecx
je case.0x4773f3.89
test ecx, ecx
jl 0x47cb2a
jg 0x47bb7b
test eax, eax
jbe 0x47cb2a
sub eax, 1
sbb ecx, 0
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x47cb2a
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov ecx, dword [eax + 4]
cmp ecx, 0x80000000
mov edx, dword [eax]
jl 0x47bbb6
jg 0x47bbab
test edx, edx
jbe 0x47bbb6
sub edx, 1
sbb ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
movzx eax, word [ebx + 2]
mov ecx, dword [esp + 0x10]
lea edx, [eax*4 + 0x44]
push 0
push edx
mov dword [esp + 0x30], eax
call fcn.00419be0
mov edi, eax
add esp, 8
test edi, edi
je 0x47cfa7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
xor esi, esi
lea eax, [edi + eax*4 + 0x1c]
push ecx
lea ecx, [esi + 1]
mov dword [edi + 8], esi
mov dword [edi], eax
call fcn.00410bd0
mov edx, dword [ebx + 0x10]
mov dword [edi + 4], edx
mov ecx, ebx
sub ecx, dword [esp + 0x48]
mov eax, 0x66666667
imul ecx
mov ecx, dword [ebp + 8]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
mov dl, byte [esp + 0x3c]
mov dword [edi + 0x10], eax
mov al, byte [esp + 0x28]
mov dword [edi + 0xc], ecx
mov byte [edi + 0x19], 0
mov dword [edi + 0x14], esi
mov byte [edi + 0x18], dl
mov byte [edi + 0x1a], al
mov byte [ebx + 1], 0xf1
mov dword [ebx + 0x10], edi
mov byte [ebx], 0xa3
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x14]
mov esi, dword [ebx + 0x10]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8]
mov dword [esp + 0x28], eax
cmp dword [esi + 8], eax
je 0x47bc99
movzx ecx, byte [esi + 0x1a]
sub ecx, 1
mov dword [esi + 8], eax
js 0x47bc99
lea edx, [esi + ecx*4 + 0x1c]
mov eax, dword [ebx + 8]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx], eax
dec ecx
sub edx, 4
test ecx, ecx
jge 0x47bc80
mov eax, dword [esp + 0x28]
inc dword [eax + 0xc]
cmp dword [ebx + 4], 0
je 0x47bcb6
movzx eax, byte [esi + 0x1a]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x1c]
lea edx, [esi + 0x1c]
push edx
push eax
push esi
call ecx
jmp 0x47bcc8
movzx ecx, byte [esi + 0x1a]
mov edx, dword [esi + 4]
mov edx, dword [edx + 0x10]
lea eax, [esi + 0x1c]
push eax
push ecx
push esi
call edx
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je case.0x4773f3.89
jle 0x47bcfc
mov eax, dword [esi]
push eax
call fcn.00428570
mov edi, dword [ebp + 8]
push eax
push 0x4cde78
call fcn.0042ca30
mov ecx, dword [esi + 0x14]
mov edi, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0xc], ecx
cmp byte [esi + 0x19], 0
je 0x47bd1f
mov eax, dword [ebx - 0x10]
test eax, eax
je 0x47bd1b
lea edx, [eax + eax*4]
push 0
push 1
lea eax, [edi + edx*8]
call fcn.00410c70
add esp, 8
mov byte [esi + 0x19], 0
mov eax, dword [esi]
call fcn.004107f0
mov eax, dword [esi]
mov ecx, 1
mov word [eax + 0x10], cx
cmp dword [esp + 0xc], 0
mov dword [esi + 0x14], 0
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea esi, [eax + edx*8]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x47bd8a
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
push esi
mov esi, dword [ebx + 0x10]
lea edi, [edx + ecx*8]
call fcn.0041cc50
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
add esp, 4
lea esi, [ecx + eax*8]
jmp 0x47bd98
mov ecx, dword [ebx + 0x10]
mov eax, esi
call fcn.004106c0
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
jne 0x47cf54
movzx ecx, byte [esp + 0x3c]
mov eax, esi
call fcn.00427e50
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebx + 8]
mov esi, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esp + 0x108], eax
mov dword [esp + 0x104], eax
mov eax, dword [ebx + 4]
push edx
push eax
lea edx, [esp + 0x110]
lea ecx, [esp + 0x10c]
mov dword [esp + 0x108], 0
call fcn.00445000
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x47be1b
cmp eax, 5
jne 0x47cf10
mov dword [esp + 0xc], 0
mov dword [esp + 0x100], 1
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
xor esi, esi
lea edi, [edx + ecx*8]
lea ebx, [ebx]
mov eax, dword [esp + esi*4 + 0x100]
cdq
push edx
push eax
mov eax, edi
call fcn.00410c70
inc esi
add esp, 8
add edi, 0x28
cmp esi, 3
jl 0x47be30
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov esi, dword [ebx + 0xc]
mov edi, eax
mov eax, dword [ebx + 4]
shl eax, 4
mov eax, dword [eax + edx + 4]
mov dword [esp + 0x28], eax
call fcn.00410380
mov dword [esp + 0x30], eax
call fcn.0040e910
mov dword [esp + 0x24], eax
cmp esi, 0xffffffff
jne 0x47be94
mov esi, eax
mov eax, dword [esp + 0x30]
call fcn.0040e920
test eax, eax
jne 0x47bea5
mov esi, dword [esp + 0x24]
cmp esi, 5
jne 0x47bed4
mov ecx, dword [esp + 0x30]
push 1
call fcn.0040e880
add esp, 4
call fcn.0040a750
test eax, eax
je 0x47bece
mov eax, dword [esp + 0x30]
call fcn.0040e960
test eax, eax
jne 0x47bed4
mov esi, dword [esp + 0x24]
jmp 0x47bf52
mov ecx, dword [esp + 0x24]
cmp esi, ecx
je 0x47bf52
cmp ecx, 5
je 0x47bee6
cmp esi, 5
jne 0x47bf52
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x55], 0
je 0x47cf6d
cmp dword [eax + 0xc0], 1
jg 0x47cf6d
cmp ecx, 5
jne 0x47bf1f
push eax
mov eax, dword [esp + 0x34]
call fcn.00446180
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47bf59
mov eax, esi
jmp 0x47bf27
cmp ecx, 4
jne 0x47bf30
lea eax, [ecx - 2]
mov ecx, dword [esp + 0x30]
call fcn.0044a4c0
cmp dword [esp + 0xc], 0
jne 0x47bf59
mov edx, dword [esp + 0x28]
xor ecx, ecx
cmp esi, 5
sete cl
inc ecx
push ecx
push edx
call fcn.0044b230
add esp, 8
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x47bf5d
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov eax, esi
call fcn.0044a4c0
mov ecx, 0x2202
mov word [edi + 0x10], cx
call fcn.00415550
mov dword [edi + 8], eax
call fcn.0040a750
movzx ecx, byte [esp + 0x3c]
mov dword [edi + 0xc], eax
mov eax, edi
mov byte [edi + 0x12], 1
call fcn.00427e50
cmp dword [esp + 0xc], 0
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 8]
test eax, eax
je 0x47bfb9
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea eax, [eax + edx*8]
jmp 0x47bfbb
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebx + 4]
push ecx
add edx, 0x7c
push edx
call fcn.00476820
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
shl eax, 4
mov eax, dword [eax + edx + 4]
push eax
call fcn.00446a90
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je case.0x4773f3.89
cmp eax, 0x65
jne 0x47cf10
mov dword [esp + 0xc], 0
jmp 0x47cb2a
cmp dword [ebx + 4], 0
mov ecx, dword [ebx + 8]
jne 0x47c041
mov eax, dword [esp + 0x10]
call fcn.00411a20
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebp + 8]
inc ecx
xor ecx, dword [eax + 0x98]
add ebx, 0x14
and ecx, 3
xor dword [eax + 0x98], ecx
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebx + 4]
mov edx, dword [ecx + edx*4]
mov eax, dword [edx + 0x2c]
call fcn.00410110
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x2c]
call fcn.00410120
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov cl, byte [ebx + 0xc]
test cl, cl
jne 0x47c0bb
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
and eax, 4
xor edx, edx
jne case.0x4773f3.89
test eax, eax
jne case.0x4773f3.89
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x10]
mov eax, dword [ebx + 8]
shl edx, 4
mov esi, dword [edx + esi + 4]
call fcn.0041cbe0
mov dword [esp + 0xc], eax
test eax, eax
je case.0x4773f3.89
cmp al, 6
jne 0x47cf10
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebp + 8]
push ecx
push str.database_table_is_locked:__s
call fcn.0042ca30
add esp, 8
jmp 0x47cf10
mov esi, dword [ebx + 0x10]
mov eax, dword [esp + 0x10]
push esi
call fcn.00424bf0
add esp, 4
mov dword [esp + 0xc], eax
test esi, esi
je 0x47c128
mov ecx, dword [ebp + 8]
mov esi, dword [esi + 8]
push ecx
call fcn.00422560
add esp, 4
cmp dword [esp + 0xc], 0
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov esi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x1e0], eax
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], eax
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea edi, [eax + edx*8]
lea eax, [esp + 0x1c8]
mov dword [esp + 0x1dc], esi
call fcn.00426060
lea ecx, [esp + 0x1c8]
push ecx
mov dword [esp + 0x10], eax
call fcn.00428570
add esp, 4
test eax, eax
je 0x47c1da
mov edx, dword [ebp + 8]
add edx, 0x7c
push edx
push eax
mov eax, dword [ebx + 4]
mov ecx, esi
call fcn.0043f4f0
add esp, 8
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1c8]
call fcn.004107f0
cmp dword [esp + 0xc], 0
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov esi, dword [esp + 0x10]
inc dword [esi + 0xcc]
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 4]
push esi
call fcn.00427080
dec dword [esi + 0xcc]
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0xa4], 0
mov esi, dword [ecx + 8]
test esi, esi
je 0x47cf08
mov eax, dword [esi]
mov dword [esp + 0x28], eax
test eax, eax
je 0x47cf08
mov ecx, dword [eax + 0x18]
lea edx, [esp + 0xa4]
push edx
push esi
call ecx
mov edx, dword [ebp + 8]
push edx
mov dword [esp + 0x18], eax
call fcn.00422560
add esp, 0xc
cmp dword [esp + 0xc], 0
jne 0x47cf10
mov eax, dword [esp + 0xa4]
mov edi, dword [ebp + 8]
push 2
mov dword [eax], esi
mov ecx, dword [ebx + 4]
push 0
push ecx
call fcn.0045e240
mov edx, dword [esp + 0xb0]
add esp, 0xc
test eax, eax
je 0x47cf9a
mov dword [eax + 0x2c], edx
inc dword [esi + 4]
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + 0x60]
mov esi, dword [edx + eax*4]
push 0
push 8
call fcn.0047f770
mov edi, eax
add esp, 8
test edi, edi
je 0x47cfa7
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [ebx + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov edx, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, ebx
call fcn.00412230
push 0x411de0
mov ecx, 1
push edi
mov edi, str.ValueList
mov esi, eax
mov word [eax + 0x10], cx
call fcn.00410cb0
add esp, 8
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea edx, [eax + edx*8]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + 0x2c]
mov esi, dword [esi + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [edx]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x50], eax
xor eax, eax
test ecx, ecx
jle 0x47c371
add edx, 0x50
mov dword [esi + eax*4], edx
inc eax
add edx, 0x28
cmp eax, ecx
jl 0x47c366
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
push esi
push ecx
mov ecx, dword [ebx + 0x10]
push ecx
mov ecx, dword [eax + 0x20]
push edx
push edi
call ecx
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x2c]
push edx
mov dword [esp + 0x24], eax
call fcn.00422560
add esp, 0x18
cmp dword [esp + 0xc], 0
jne 0x47cf10
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x28]
push edi
call ecx
mov edx, dword [esp + 0x38]
add esp, 4
mov byte [edx + 2], 0
test eax, eax
jne 0x47cb2a
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + 0x60]
mov edi, dword [edx + eax*4]
cmp byte [edi + 2], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov dword [esp + 0x28], esi
je 0x47c400
mov eax, esi
call fcn.00410bf0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [edi + 0x2c]
mov eax, dword [edx]
mov cl, byte [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov dword [esp + 0x50], eax
xor eax, eax
test byte [ebx + 2], 1
mov dword [esp + 0x138], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x138], esi
mov byte [esp + 0x150], cl
je 0x47c479
mov eax, esi
call fcn.00410bf0
mov edx, 0x401
mov word [esi + 0x10], dx
mov dword [esi], 0
jmp 0x47c48d
mov ax, word [esi + 0x10]
mov ecx, 0xf241
and ax, cx
or ax, 1
mov word [esi + 0x10], ax
mov edx, dword [ebx + 8]
mov ecx, dword [edi + 0x2c]
push edx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x13c]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x24]
push ecx
mov dword [esp + 0x1c], eax
call fcn.00422560
add esp, 0x10
cmp dword [esp + 0x14c], 0
jle 0x47c4ea
mov edx, dword [esp + 0x28]
push edx
call fcn.00428570
mov edi, dword [ebp + 8]
push eax
push 0x4cde78
call fcn.0042ca30
mov eax, dword [esp + 0x158]
add esp, 0xc
mov dword [esp + 0xc], eax
movzx ecx, byte [esp + 0x3c]
mov eax, dword [esp + 0x28]
call fcn.00427e50
cmp dword [esp + 0xc], 0
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [edx + 0x60]
mov edi, dword [eax + ecx*4]
cmp byte [edi + 2], 0
jne case.0x4773f3.89
mov eax, dword [edi + 0x2c]
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [esp + 0x28], ecx
mov ecx, dword [ecx + 0x24]
push eax
call ecx
mov edx, dword [ebp + 8]
push edx
mov dword [esp + 0x14], eax
call fcn.00422560
add esp, 8
cmp dword [esp + 0xc], 0
jne 0x47cf10
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x28]
push eax
call edx
add esp, 4
test eax, eax
jne 0x47c571
mov ebx, dword [ebx + 8]
mov ecx, dword [esp + 0x44]
lea eax, [ebx + ebx*4]
lea ebx, [ecx + eax*4 - 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x128]
test eax, eax
jne 0x47d0fd
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x8c], ecx
jb case.0x4773f3.89
ja 0x47c5a7
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x88], edx
jb case.0x4773f3.89
mov esi, dword [esp + 0x10]
jmp 0x47c5b0
mov eax, dword [esi + 0x174]
test eax, eax
je case.0x4773f3.89
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x17c]
add dword [esp + 0x60], ecx
mov edx, dword [esi + 0x178]
push edx
adc dword [esp + 0x68], 0
call eax
add esp, 4
test eax, eax
jne 0x47d0f2
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x8c], eax
ja 0x47c5b0
jb case.0x4773f3.89
mov ecx, dword [esp + 0x60]
cmp dword [esp + 0x88], ecx
jae 0x47c5b0
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or dword [eax + 0x20], 0x4000000
mov dword [eax + 0x24], edx
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea esi, [eax + edx*8]
mov dword [esp + 0x28], ecx
mov ecx, 1
mov eax, esi
and edi, 0x4000000
call fcn.00427e50
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47cf10
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
add esp, 8
mov dword [esp + 0xc], eax
test edi, edi
jne 0x47c684
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
and dword [eax + 0x20], 0xfbffffff
mov dword [eax + 0x24], ecx
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x28]
push edi
call fcn.00422560
and dword [edi + 0x98], 0xfffffffc
add esp, 4
cmp dword [esp + 0xc], 0
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
cmp byte [edx + 0x57], al
jne 0x47cfa7
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
test eax, eax
je 0x47cf08
mov eax, dword [eax]
mov dword [esp + 0x50], eax
test eax, eax
je 0x47cf08
cmp dword [eax + 0x34], 0
mov ecx, dword [ebx + 8]
je case.0x4773f3.89
mov al, byte [edx + 0x5c]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x5c]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x7f], al
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
xor eax, eax
test ecx, ecx
jle 0x47c72b
lea ebx, [ebx]
mov dword [esi + eax*4], edx
inc eax
add edx, 0x28
cmp eax, ecx
jl 0x47c720
movzx eax, byte [ebx + 2]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0xe8]
push edx
push esi
mov byte [edi + 0x5c], al
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x34]
push eax
call edx
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x8f]
push ecx
mov byte [edi + 0x5c], al
call fcn.00422560
xor edx, edx
add esp, 0x14
cmp dword [esp + 0xc], edx
jne 0x47c78e
cmp dword [ebx + 4], edx
je 0x47c78e
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov ecx, dword [esp + 0xc]
cmp cl, 0x13
jne 0x47c7dc
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x10], 0
je 0x47c7dc
movzx eax, word [ebx + 2]
cmp ax, 4
jne 0x47c7b8
mov dword [esp + 0xc], edx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
cmp ax, 5
jne 0x47c7ce
mov esi, dword [ebp + 8]
mov eax, 2
mov byte [esi + 0x92], al
jmp 0x47c7e6
mov esi, dword [ebp + 8]
movzx eax, ax
mov byte [esi + 0x92], al
jmp 0x47c7e6
mov eax, dword [ebp + 8]
add dword [eax + 0x28], 1
adc dword [eax + 0x2c], edx
cmp ecx, edx
jne 0x47cf10
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov edx, dword [ebx + 4]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
shl edx, 4
mov eax, dword [edx + eax + 4]
call fcn.0040ff20
add ebx, 0x14
mov dword [ecx], eax
mov dword [ecx + 4], 0
xor edx, edx
jmp 0x4773d3
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00412230
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [edx + 0x10]
shl ecx, 4
mov esi, dword [ecx + eax + 4]
mov ecx, dword [ebx + 0xc]
xor eax, eax
test ecx, ecx
je 0x47c860
mov eax, esi
call fcn.0040ff20
cmp eax, ecx
jae 0x47c860
mov eax, ecx
push eax
call fcn.0041ca10
add esp, 4
add ebx, 0x14
mov dword [edi], eax
mov dword [edi + 4], 0
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x14]
mov esi, dword [ebx + 0x10]
lea ecx, [eax + eax*4]
lea edi, [edx + ecx*8]
mov dword [esp + 0x1c], edi
cmp dword [esi], edi
je 0x47c8cd
mov cl, byte [esp + 0x3c]
mov eax, dword [ebp + 8]
mov byte [esi + 0x18], cl
movzx ecx, byte [esi + 0x1a]
sub ecx, 1
mov dword [esi + 0xc], eax
mov dword [esi], edi
js 0x47c8cd
mov edi, dword [esp + 0x14]
lea edx, [esi + ecx*4 + 0x1c]
mov eax, dword [ebx + 8]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx], eax
dec ecx
sub edx, 4
test ecx, ecx
jge 0x47c8b4
mov edi, dword [esp + 0x1c]
mov cx, word [edi + 0x10]
mov edx, 0xf241
and cx, dx
or cx, 1
mov word [edi + 0x10], cx
movzx edx, byte [esi + 0x1a]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0x1c]
push ecx
push edx
push esi
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je case.0x4773f3.89
jle 0x47c921
push edi
call fcn.00428570
mov edi, dword [ebp + 8]
push eax
push 0x4cde78
call fcn.0042ca30
mov ecx, dword [esi + 0x14]
add esp, 0xc
mov dword [esp + 0xc], ecx
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x10]
push edx
push eax
mov eax, dword [ebp + 8]
add eax, 0xe4
push ecx
call fcn.00411330
add esp, 0xc
jmp 0x47bd31
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea eax, [eax + edx*8]
mov ecx, 0xf7ff
and word [eax + 0x10], cx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea esi, [eax + edx*8]
push eax
mov eax, ebx
call fcn.00412260
mov ecx, eax
mov eax, dword [esi + 0xc]
add esp, 4
mov edi, edx
cdq
push edx
push eax
push edi
push ecx
call fcn.004ae3e0
mov ecx, eax
shrd ecx, edx, 3
shr edx, 3
mov edx, dword [esi + 8]
lea esi, [ecx + edx]
mov ecx, eax
and ecx, 7
mov al, 1
shl al, cl
add ebx, 0x14
or byte [esi], al
xor edx, edx
jmp 0x4773d3
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea esi, [eax + ecx*8]
push eax
mov eax, ebx
call fcn.00412260
mov ecx, eax
mov eax, dword [esi + 0xc]
add esp, 4
mov edi, edx
cdq
push edx
push eax
push edi
push ecx
call fcn.004ae3e0
mov ecx, eax
shrd ecx, edx, 3
shr edx, 3
mov edx, dword [esi + 8]
movsx esi, byte [ecx + edx]
mov ecx, eax
mov edx, 1
and ecx, 7
mov eax, edx
shl eax, cl
test eax, esi
mov eax, dword [ebp + 8]
jne 0x47ca09
add dword [eax + 0xc4], edx
jmp 0x47cb2a
add dword [eax + 0xc0], edx
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
mov ecx, dword [esp + 0x10]
mov cl, byte [ecx + 0x5e]
test cl, 0x41
je 0x47cad1
mov edx, dword [ebp + 8]
cmp byte [edx + 0x93], 0xfe
je 0x47cad1
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x47ca50
mov eax, edx
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x47cad1
push eax
test cl, 0x40
je 0x47ca7f
mov ecx, edx
push ecx
call fcn.00428800
mov esi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xdc]
mov eax, dword [eax + 0xd8]
push esi
push edx
call eax
push esi
call fcn.00409f80
add esp, 0x14
jmp 0x47cad1
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xc8], 1
jle 0x47cabc
push str.____s
mov esi, ecx
call fcn.0042aec0
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0xdc]
mov edi, eax
mov eax, dword [esi + 0xd8]
push edi
push ecx
push edx
push 1
call eax
push edi
push esi
call fcn.0040a090
add esp, 0x20
jmp 0x47cad1
mov eax, dword [ecx + 0xdc]
mov ecx, dword [ecx + 0xd8]
push edx
push eax
push 1
call ecx
add esp, 0x10
mov edx, dword [ebx + 4]
cmp edx, dword [0x4e3344]
jl 0x47cb19
cmp byte [ebx], 0xb5
je case.0x4773f3.89
mov ecx, dword [ebp + 8]
mov edi, 1
cmp dword [ecx + 0x6c], edi
mov esi, edi
jle 0x47cb10
mov edx, 0x14
mov eax, dword [ecx + 0x68]
add eax, edx
cmp byte [eax], 0xf
jne 0x47cb06
mov dword [eax + 4], 0
add esi, edi
add edx, 0x14
cmp esi, dword [ecx + 0x6c]
jl 0x47caf5
mov dword [ebx + 4], 0
jmp 0x47cb21
mov ecx, dword [ebp + 8]
mov edi, 1
add dword [ebx + 4], edi
add dword [ecx + 0xbc], edi
mov ebx, dword [ebx + 8]
mov edx, dword [esp + 0x44]
lea ecx, [ebx + ebx*4]
lea ebx, [edx + ecx*4 - 0x14]
add ebx, 0x14
xor edx, edx
jmp 0x4773d3
push str.cannot_open_savepoint___SQL_statements_in_progress
jmp 0x47cd87
push str.cannot_release_savepoint___SQL_statements_in_progress
jmp 0x47cd87
mov dword [esp + 0xc], 7
jmp 0x47b4a9
mov eax, dword [ebx + 4]
mov dword [esi + 0x24], eax
mov cl, byte [ebx + 8]
mov byte [esi + 0x92], cl
test eax, eax
je 0x47cc09
movzx eax, word [ebx + 2]
mov edi, esi
test ax, ax
je 0x47cbbf
movzx edx, ax
mov eax, dword [edx*4 + 0x4c8c04]
push eax
push str._s_constraint_failed
call fcn.0042ca30
mov eax, dword [ebx + 0x10]
add esp, 8
test eax, eax
je 0x47cbd2
mov ecx, dword [edi + 0x7c]
mov esi, dword [esp + 0x10]
push eax
push ecx
push str._z:__s
call fcn.0042aec0
add esp, 0xc
mov dword [edi + 0x7c], eax
jmp 0x47cbd2
mov edx, dword [ebx + 0x10]
push edx
push 0x4cde78
call fcn.0042ca30
add esp, 8
mov edi, esi
mov eax, dword [edi + 0x7c]
mov ecx, dword [edi + 0xc8]
push eax
push ecx
mov ecx, ebx
sub ecx, dword [esp + 0x4c]
mov eax, 0x66666667
imul ecx
mov ecx, dword [ebx + 4]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.abort_at__d_in___s_:__s
push ecx
call fcn.0042b080
mov esi, dword [ebp + 8]
add esp, 0x14
mov edi, esi
call fcn.00461950
mov dword [esp + 0xc], eax
cmp eax, 5
jne 0x47cc21
mov dword [esi + 0x24], eax
jmp 0x47d0ab
mov esi, dword [esi + 0x24]
neg esi
sbb esi, esi
and esi, 0xffffff9c
add esi, 0x65
mov dword [esp + 0xc], esi
jmp 0x47d0ab
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
add edx, 2
or edx, 1
mov dword [ecx + 0x1c], edx
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ecx + 0x78], eax
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x57], 0
jne 0x47cfa7
mov eax, ecx
test byte [eax + 0x5e], 4
je 0x47cc86
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0xdc]
push 0
push edx
mov edx, dword [eax + 0xd8]
push ecx
push 4
call edx
add esp, 0x10
mov ecx, ebx
sub ecx, dword [esp + 0x44]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], ecx
mov dword [esp + 0xc], 0x64
jmp 0x47d0ab
mov eax, 0x16e90
call fcn.00431150
mov dword [esp + 0xc], eax
jmp 0x47cf10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
shl eax, 4
mov edx, dword [eax + ecx]
add eax, ecx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x28]
shr eax, 4
push edx
mov edx, dword [ecx]
and eax, 0xf
mov ecx, dword [eax*4 + 0x4e334c]
push edx
push ecx
mov eax, esi
call fcn.004122d0
mov edi, dword [ebp + 8]
push eax
push str.cannot_store__s_value_in__s_column__s._s
call fcn.0042ca30
add esp, 0x14
mov dword [esp + 0xc], 0xc13
jmp 0x47cf10
mov ecx, ebx
sub ecx, dword [esp + 0x44]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x20], eax
mov eax, 5
mov byte [esi + 0x55], 0
mov dword [esp + 0xc], eax
mov dword [edi + 0x24], eax
jmp 0x47d0ab
mov esi, dword [esp + 0x10]
movzx edx, byte [esi + 0x55]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x28], eax
cmp eax, edx
je 0x47ce21
test ecx, ecx
je 0x47cd75
push 0x204
mov eax, esi
call fcn.0045df10
add esp, 4
mov byte [esi + 0x55], 1
jmp 0x47cdbf
test eax, eax
je 0x47cd9f
cmp dword [esi + 0xc4], 0
jle 0x47cd9f
push str.cannot_commit_transaction___SQL_statements_in_progress
mov edi, dword [ebp + 8]
call fcn.0042ca30
add esp, 4
mov dword [esp + 0xc], 5
jmp 0x47cf10
mov eax, dword [ebp + 8]
push 1
call fcn.0042cd20
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47d0ab
mov al, byte [esp + 0x28]
mov byte [esi + 0x55], al
mov edi, dword [ebp + 8]
call fcn.00461950
cmp eax, 5
jne 0x47ce00
mov ecx, ebx
sub ecx, dword [esp + 0x44]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dl, 1
sub dl, byte [esp + 0x28]
mov eax, 5
mov dword [edi + 0x20], ecx
mov byte [esi + 0x55], dl
mov dword [esp + 0xc], eax
mov dword [edi + 0x24], eax
jmp 0x47d0ab
mov esi, dword [esp + 0x10]
call fcn.00418570
mov eax, edi
mov eax, dword [eax + 0x24]
neg eax
sbb eax, eax
and eax, 0xffffff9c
add eax, 0x65
mov dword [esp + 0xc], eax
jmp 0x47d0ab
test eax, eax
jne 0x47ce2c
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x47ce3a
mov eax, str.cannot_rollback___no_transaction_is_active
test ecx, ecx
jne 0x47ce3a
mov eax, str.cannot_commit___no_transaction_is_active
mov edi, dword [ebp + 8]
push eax
call fcn.0042ca30
add esp, 4
mov dword [esp + 0xc], 1
jmp 0x47cf10
mov esi, dword [esi + 0x20]
and esi, 0x100000
xor eax, eax
or esi, eax
je 0x47ce6f
mov dword [esp + 0xc], 8
jmp 0x47cf10
mov dword [esp + 0xc], 0xb
jmp 0x47cf10
cmp byte [esp + 0xc], 5
jne 0x47cf10
mov ecx, ebx
sub ecx, dword [esp + 0x44]
mov eax, 0x66666667
imul ecx
mov eax, dword [ebp + 8]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
jmp 0x47d0ab
mov dword [esp + 0xc], 0x204
jmp 0x47cf10
mov edi, dword [ebp + 8]
push str.string_or_blob_too_big
call fcn.0042ca30
add esp, 4
mov dword [esp + 0xc], 0x12
jmp 0x47cf10
push 0x17b87
mov ecx, str.index_corruption
mov esi, 0x30b
call fcn.00431130
add esp, 4
mov dword [esp + 0xc], eax
jmp 0x47cf10
mov eax, 0x17c54
call fcn.00431150
mov dword [esp + 0xc], eax
jmp 0x47cf10
mov byte [esi + 0x92], 2
mov dword [esp + 0xc], 6
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x57], 0
je 0x47cfce
mov dword [esp + 0xc], 7
jmp 0x47cfe6
mov eax, dword [esp + 0xd0]
push eax
call fcn.00409f80
add esp, 4
jmp 0x47cf10
push str.too_many_levels_of_trigger_recursion
mov dword [esp + 0x10], 1
call fcn.0042ca30
add esp, 4
jmp 0x47cf10
push esi
call fcn.00428570
mov edi, dword [ebp + 8]
push eax
push 0x4cde78
call fcn.0042ca30
add esp, 0xc
jmp 0x47cf10
mov dword [esp + 0xc], 1
mov eax, str.into
cmp esi, 5
je 0x47cf84
mov eax, str.out_of
mov edi, dword [ebp + 8]
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
call fcn.0042ca30
add esp, 8
jmp 0x47cf10
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x1c]
push edx
call ecx
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call fcn.00431f00
mov edi, dword [ebp + 8]
push 0x4c6354
call fcn.0042ca30
add esp, 8
mov dword [esp + 0xc], 7
jmp 0x47cf10
cmp dword [esp + 0xc], 0x210a
jne 0x47cfe6
mov eax, 0x184e6
call fcn.00431150
mov dword [esp + 0xc], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x7c], 0
jne 0x47d010
cmp dword [esp + 0xc], 0xc0a
je 0x47d010
mov edx, dword [esp + 0xc]
call fcn.00418640
push eax
push 0x4cde78
call fcn.0042ca30
add esp, 8
mov eax, dword [esp + 0xc]
mov dword [edi + 0x24], eax
call fcn.0040a7b0
mov eax, dword [edi + 0x7c]
mov ecx, dword [edi + 0xc8]
push eax
push ecx
mov ecx, ebx
sub ecx, dword [esp + 0x4c]
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push ecx
call fcn.0042b080
add esp, 0x14
cmp byte [edi + 0x95], 2
jne 0x47d066
mov edi, dword [ebp + 8]
call fcn.00461950
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp eax, 0xc0a
jne 0x47d07c
push esi
call fcn.00431f00
add esp, 4
jmp 0x47d091
cmp eax, 0xb
jne 0x47d091
cmp byte [esi + 0x55], 0
jne 0x47d091
mov edx, dword [esi + 0x20]
or dword [esi + 0x24], 2
mov dword [esi + 0x20], edx
cmp byte [esp + 0x57], 0
mov dword [esp + 0xc], 1
jbe 0x47d0ab
movzx eax, byte [esp + 0x57]
dec eax
call fcn.0042dd40
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x64]
jb 0x47d10a
ja 0x47d0cb
cmp dword [esp + 0x88], edi
jb 0x47d10a
mov eax, dword [esi + 0x174]
test eax, eax
je 0x47d10a
mov ecx, dword [esi + 0x17c]
mov edx, dword [esi + 0x178]
add edi, ecx
adc dword [esp + 0x64], 0
push edx
call eax
add esp, 4
test eax, eax
je 0x47d0b3
or eax, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0xc], 9
jmp 0x47cf10
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x88]
add dword [eax + 0xb4], ecx
cmp dword [eax + 0xa0], 0
je 0x47d128
call fcn.00411190
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret