Function at 0x491380
Capabilities:
Enumerate pe sections
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7f8
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0x2dc], eax
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov byte [ebp - 0x22], 0
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x42]
mov byte [ebp - 0x21], al
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x40], ecx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 8]
push eax
call fcn.0048aa30
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x50], 7
jne 0x49142d
jmp 0x498e44
mov edx, dword [ebp + 8]
mov dword [edx + 0x50], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x90], 0
mov dword [eax + 0x94], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x184], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf8], 0
je 0x491476
jmp 0x498e6d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x130], 0
je 0x4914aa
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
xor edx, edx
div dword [ecx + 0x138]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x138]
sub ecx, edx
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
imul eax, eax, 0x14
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x4914c4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x14
mov dword [ebp - 0x2c], ecx
mov edx, 1
test edx, edx
je 0x498d1f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx]
mov dword [ebp - 0x6c0], edx
cmp dword [ebp - 0x6c0], 0x9e
ja case.0x4914fc.62
mov eax, dword [ebp - 0x6c0]
jmp dword [eax*4 + 0x498ec0]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
sub edx, 1
imul edx, edx, 0x14
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf8], 0
je 0x491526
jmp 0x498e6d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x130], 0
je 0x491581
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
jb 0x491581
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x138]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [esi + 0x138]
sub ecx, edx
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x134]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x130]
call edx
add esp, 4
test eax, eax
je 0x491581
mov dword [ebp - 8], 9
jmp 0x498d1f
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, 4
mov eax, dword [ebp - 0x34]
mov word [eax + 8], dx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
cdq
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
sub eax, 1
imul eax, eax, 0x14
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push 0
push 0x14
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.005421d0
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, 0x80
mov ecx, dword [ebp - 0x34]
mov word [ecx + 8], ax
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0xc]
sub eax, 1
cdq
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, 4
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 8], 0
je 0x491643
jmp 0x4915b8
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push 0
push 0x14
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.005421d0
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 8]
sub edx, 1
imul edx, edx, 0x14
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov eax, 0x80
mov ecx, dword [ebp - 0x34]
mov word [ecx + 8], ax
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, 4
mov edx, dword [ebp - 0x34]
mov word [edx + 8], cx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
cdq
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x50]
imul edx, edx, 0x14
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 8]
and eax, 1
jne case.0x4914fc.21
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 4], 0
jne 0x4917cf
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb8], 0
je 0x4917cf
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb8]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 4]
mov dword [eax + 0xb8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc0]
sub ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0xc0], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0048e830
add esp, 8
mov eax, dword [ebp - 0x54]
push eax
call fcn.0048b6e0
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x40], edx
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 8], 4
jne 0x4917ac
mov edx, dword [ebp - 0x5c]
imul edx, edx, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx + 8]
sub edx, 1
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x5c]
imul ecx, ecx, 0x14
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
jmp case.0x4914fc.62
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov dword [edx + 0x50], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 8]
mov byte [edx + 0x56], cl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x5c]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x50], 0
je 0x4918b6
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
test eax, eax
je 0x49181b
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
mov eax, dword [edx*4 + 0x58c7bc]
mov dword [ebp - 0x58], eax
jmp 0x491822
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x60], str.abort_at__d_in___s_:__s
cmp dword [ebp - 0x58], 0
je 0x491856
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x10], 0
je 0x491856
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
push str._s_constraint_failed:__s
mov edx, dword [ebp + 8]
push edx
call fcn.004895b0
add esp, 0x10
jmp 0x49188e
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x10], 0
je 0x491879
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
push edx
push 0x5c14e8
mov eax, dword [ebp + 8]
push eax
call fcn.004895b0
add esp, 0xc
jmp 0x49188e
mov ecx, dword [ebp - 0x58]
push ecx
push str._s_constraint_failed
mov edx, dword [ebp + 8]
push edx
call fcn.004895b0
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb0]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call fcn.00466ae0
add esp, 0x14
mov edx, dword [ebp + 8]
push edx
call fcn.0048c220
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jne 0x4918dd
mov dword [ebp - 8], 5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x50], ecx
jmp 0x4918f0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x50]
neg eax
sbb eax, eax
and eax, 0xffffff9c
add eax, 0x65
mov dword [ebp - 8], eax
jmp 0x498def
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
cdq
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, 8
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
fld qword [edx]
fstp qword [eax]
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0x18
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
push edx
call fcn.00467c90
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
movzx edx, byte [ebp - 0x21]
cmp edx, 1
je 0x491a50
push 0
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00488a60
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4919da
jmp 0x498e27
movzx eax, byte [ebp - 0x21]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00487b50
add esp, 8
test eax, eax
je 0x4919f4
jmp 0x498e44
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 8]
or ecx, 0x800
mov edx, dword [ebp - 0x14]
mov word [edx + 8], cx
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax + 1]
cmp ecx, 0xffffffff
jne 0x491a31
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00464260
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [edx + 1], 0xff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 0x5c]
jle case.0x4914fc.24
jmp 0x498e27
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, 0xa02
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0x21]
mov byte [ecx + 0xa], dl
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
test ecx, ecx
je 0x491ae5
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x6c4], ecx
mov edx, dword [ebp - 0x6c4]
mov eax, dword [ebp - 0x6c4]
mov ecx, dword [edx]
or ecx, dword [eax + 4]
je 0x491ae5
mov edx, 0xa10
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 8]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 1
mov word [ebp - 0x68], cx
mov edx, dword [ebp - 0x14]
mov ax, word [ebp - 0x68]
mov word [edx + 8], ax
cmp dword [ebp - 0x64], 0
jle 0x491b5f
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00488680
add esp, 4
mov eax, dword [ebp - 0x14]
mov cx, word [ebp - 0x68]
mov word [eax + 8], cx
mov edx, dword [ebp - 0x64]
sub edx, 1
mov dword [ebp - 0x64], edx
jmp 0x491b2e
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
or eax, 1
and eax, 0xffffff7f
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
push 0
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00488a60
add esp, 0x14
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 0x21]
mov byte [eax + 0xa], cl
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
sub eax, 1
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00488880
add esp, 4
test eax, eax
je 0x491bf7
jmp 0x498e27
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
push 0x800
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00488900
add esp, 0xc
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x78]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00488a20
add esp, 8
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
and eax, 0x1000
je 0x491c8a
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00487d60
add esp, 4
test eax, eax
je 0x491c8a
jmp 0x498e44
mov edx, dword [ebp - 0x34]
add edx, 0x28
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x70]
sub ecx, 1
mov dword [ebp - 0x70], ecx
jne 0x491c57
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov edx, 1
test edx, edx
je 0x491d3a
push 0x1000
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00488900
add esp, 0xc
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
and eax, 0x1000
je 0x491d14
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00487d60
add esp, 4
test eax, eax
je 0x491d14
jmp 0x498e44
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x7c]
sub eax, 1
mov dword [ebp - 0x7c], eax
test edx, edx
jne 0x491d26
jmp 0x491d3a
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x34]
add edx, 0x28
mov dword [ebp - 0x34], edx
jmp 0x491cd3
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
push 0x1000
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00488900
add esp, 0xc
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00488750
add esp, 0xc
jmp case.0x4914fc.62
mov edx, dword [ebp - 4]
cmp dword [edx + 0x130], 0
je 0x491dec
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jb 0x491dec
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x134]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x130]
call ecx
add esp, 4
test eax, eax
je 0x491dec
mov dword [ebp - 8], 9
jmp 0x498d1f
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0048c180
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x491e08
jmp 0x498d1f
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0048c010
add esp, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
add edx, 2
or edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x84], 0
jmp 0x491e61
mov eax, dword [ebp - 0x84]
add eax, 1
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x84]
cmp edx, dword [ecx + 8]
jge 0x491ebd
mov eax, dword [ebp - 0x84]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx + eax + 8]
and edx, 0x1000
je 0x491ea6
mov eax, dword [ebp - 0x84]
imul eax, eax, 0x28
add eax, dword [ebp - 0x80]
push eax
call fcn.00487d60
add esp, 4
test eax, eax
je 0x491ea6
jmp 0x498e44
mov ecx, dword [ebp - 0x84]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x80]
push ecx
call fcn.00487f30
add esp, 4
jmp 0x491e52
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x45]
test eax, eax
je 0x491ecd
jmp 0x498e44
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
add eax, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x4c], eax
mov dword [ebp - 8], 0x64
jmp 0x498def
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax + 8]
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 8]
or ecx, eax
and ecx, 1
je 0x491f43
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00488680
add esp, 4
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 8]
and eax, 0x4000
je 0x491f65
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00487e30
add esp, 4
mov dword [ebp - 0x6c8], eax
jmp 0x491f6f
mov dword [ebp - 0x6c8], 0
cmp dword [ebp - 0x6c8], 0
jne 0x491fad
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 8]
and eax, 0x4000
je 0x491f9a
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00487e30
add esp, 4
mov dword [ebp - 0x6cc], eax
jmp 0x491fa4
mov dword [ebp - 0x6cc], 0
cmp dword [ebp - 0x6cc], 0
je 0x491fb2
jmp 0x498e44
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 8]
and eax, 0x12
jne 0x491fda
push 0
movzx ecx, byte [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00487f60
add esp, 0xc
test eax, eax
je 0x491fda
jmp 0x498e44
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 8]
and ecx, 0x12
jne 0x492002
push 0
movzx edx, byte [ebp - 0x21]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00487f60
add esp, 0xc
test eax, eax
je 0x492002
jmp 0x498e44
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x20]
add eax, dword [edx + 0xc]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
cdq
mov dword [ebp - 0x6d4], eax
mov dword [ebp - 0x6d0], edx
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [ebp - 0x6d0]
jl 0x492051
jg 0x49204c
mov edx, dword [ebp - 0x90]
cmp edx, dword [ebp - 0x6d4]
jbe 0x492051
jmp 0x498e27
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, dword [ebp - 0x20]
sete cl
push ecx
mov edx, dword [ebp - 0x90]
add edx, 2
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00487b90
add esp, 0xc
test eax, eax
je 0x49207c
jmp 0x498e44
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 8]
and edx, 0xffff3e00
or edx, 2
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x20]
je 0x4920b8
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00543950
add esp, 0xc
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x20]
add ecx, dword [edx + 0xc]
push ecx
call fcn.00543950
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x90]
add eax, 1
mov ecx, dword [ebp - 0x8c]
adc ecx, 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
or eax, 0x200
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0x21]
mov byte [ecx + 0xa], dl
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.004912d0
add esp, 4
mov word [ebp - 0xb8], ax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004912d0
add esp, 4
mov word [ebp - 0xb4], ax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 8]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 8]
or eax, edx
mov word [ebp - 0x94], ax
movzx eax, word [ebp - 0x94]
and eax, 1
je 0x4921af
jmp 0x492586
movzx ecx, word [ebp - 0xb8]
movzx edx, word [ebp - 0xb4]
and ecx, edx
and ecx, 4
je 0x4923af
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xac], edx
mov byte [ebp - 0xb9], 1
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax]
mov dword [ebp - 0x6d8], ecx
mov edx, dword [ebp - 0x6d8]
sub edx, 0x59
mov dword [ebp - 0x6d8], edx
cmp dword [ebp - 0x6d8], 3
ja case.default.0x492225
mov eax, dword [ebp - 0x6d8]
jmp dword [eax*4 + 0x49913c]
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.00469760
add esp, 0xc
test eax, eax
je 0x492252
jmp 0x4923b6
jmp 0x49237f
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.00469840
add esp, 0xc
test eax, eax
je 0x49227d
jmp 0x4923b6
jmp 0x49237f
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.004698b0
add esp, 0xc
test eax, eax
je 0x4922a8
jmp 0x4923b6
jmp 0x49237f
mov ecx, dword [ebp - 0xa0]
or ecx, dword [ebp - 0x9c]
jne 0x4922c0
jmp 0x492586
mov edx, dword [ebp - 0xa0]
and edx, dword [ebp - 0x9c]
cmp edx, 0xffffffff
jne 0x4922eb
cmp dword [ebp - 0xb0], 0
jne 0x4922eb
cmp dword [ebp - 0xac], 0x80000000
jne 0x4922eb
jmp 0x4923b6
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.00542210
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
jmp 0x49237f
mov ecx, dword [ebp - 0xa0]
or ecx, dword [ebp - 0x9c]
jne 0x49232d
jmp 0x492586
mov edx, dword [ebp - 0xa0]
and edx, dword [ebp - 0x9c]
cmp edx, 0xffffffff
jne 0x492352
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0054b2f0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xb0]
mov dword [ecx], edx
mov eax, dword [ebp - 0xac]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 8]
and edx, 0xffff3e00
or edx, 4
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
jmp 0x492581
mov byte [ebp - 0xb9], 0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00488340
add esp, 4
fstp qword [ebp - 0xa8]
mov edx, dword [ebp - 0x20]
push edx
call fcn.00488340
add esp, 4
fstp qword [ebp - 0xc8]
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax]
mov dword [ebp - 0x6dc], ecx
mov edx, dword [ebp - 0x6dc]
sub edx, 0x59
mov dword [ebp - 0x6dc], edx
cmp dword [ebp - 0x6dc], 3
ja case.default.0x492404
mov eax, dword [ebp - 0x6dc]
jmp dword [eax*4 + 0x49914c]
fld qword [ebp - 0xc8]
fadd qword [ebp - 0xa8]
fstp qword [ebp - 0xc8]
jmp 0x49251a
fld qword [ebp - 0xc8]
fsub qword [ebp - 0xa8]
fstp qword [ebp - 0xc8]
jmp 0x49251a
fld qword [ebp - 0xc8]
fmul qword [ebp - 0xa8]
fstp qword [ebp - 0xc8]
jmp 0x49251a
fldz
fcomp qword [ebp - 0xa8]
fnstsw ax
test ah, 0x44
jp 0x492464
jmp 0x492586
fld qword [ebp - 0xc8]
fdiv qword [ebp - 0xa8]
fstp qword [ebp - 0xc8]
jmp 0x49251a
fld qword [ebp - 0xa8]
call fcn.00542156
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
fld qword [ebp - 0xc8]
call fcn.00542156
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
mov ecx, dword [ebp - 0xa0]
or ecx, dword [ebp - 0x9c]
jne 0x4924bc
jmp 0x492586
mov edx, dword [ebp - 0xa0]
and edx, dword [ebp - 0x9c]
cmp edx, 0xffffffff
jne 0x4924e1
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0054b2f0
mov dword [ebp - 0x6e4], eax
mov dword [ebp - 0x6e0], edx
fild qword [ebp - 0x6e4]
fstp qword [ebp - 0xc8]
sub esp, 8
fld qword [ebp - 0xc8]
fstp qword [esp]
call fcn.00467c50
add esp, 8
test eax, eax
je 0x492534
jmp 0x492586
mov ecx, dword [ebp - 0x14]
fld qword [ebp - 0xc8]
fstp qword [ecx]
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
and eax, 0xffff3e00
or eax, 8
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
movzx edx, word [ebp - 0xb8]
movzx eax, word [ebp - 0xb4]
or edx, eax
and edx, 8
jne 0x492581
movsx ecx, byte [ebp - 0xb9]
test ecx, ecx
jne 0x492581
mov edx, dword [ebp - 0x14]
push edx
call fcn.004883b0
add esp, 4
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x14]
push eax
call fcn.00488680
add esp, 4
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0
je 0x4925b9
push 0
push 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
push eax
call fcn.00488750
add esp, 0xc
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
lea ecx, [eax*4 + 0x1c]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.00464600
add esp, 0xc
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x4925fc
jmp 0x498e44
mov ecx, dword [ebp - 0xcc]
mov dword [ecx], 0
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
mov edx, dword [ebp - 0xcc]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0xcc]
mov al, byte [ebp - 0xd0]
mov byte [edx + 0x1a], al
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 1], 0xec
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], 0x24
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x14]
je 0x4926e6
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 0xd4]
movzx edx, byte [ecx + 0x1a]
sub edx, 1
mov dword [ebp - 0xd8], edx
jmp 0x4926b9
mov eax, dword [ebp - 0xd8]
sub eax, 1
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jl 0x4926e6
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
add edx, dword [ebp - 0xd8]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + eax*4 + 0x1c], edx
jmp 0x4926aa
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx]
movzx ecx, word [eax + 8]
and ecx, 0xffff3e00
or ecx, 1
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx]
mov word [eax + 8], cx
mov ecx, dword [ebp - 0xd4]
mov byte [ecx + 0x19], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0xd4]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0xd4]
movzx ecx, byte [eax + 0x1a]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xc]
call edx
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x40], ecx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0xd4]
movzx ecx, byte [eax + 0x19]
test ecx, ecx
je 0x4927d6
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0x14], 0
je 0x4927a5
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
push ecx
call fcn.0048ee40
add esp, 4
push eax
push 0x5c1504
mov edx, dword [ebp + 8]
push edx
call fcn.004895b0
add esp, 0xc
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
add eax, 0xd4
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0048c910
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x4927d6
jmp 0x498d1f
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
and eax, 0x12
je 0x492812
movzx ecx, byte [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx]
push eax
call fcn.00487b50
add esp, 8
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx]
push edx
call fcn.00488880
add esp, 4
test eax, eax
je 0x492812
jmp 0x498e27
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax + 8]
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 8]
or ecx, eax
and ecx, 1
je 0x49286a
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00488680
add esp, 4
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x20]
push edx
call fcn.004882b0
add esp, 4
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.004882b0
add esp, 4
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [ebp - 0xf1], dl
movzx eax, byte [ebp - 0xf1]
cmp eax, 0x55
jne 0x4928da
mov ecx, dword [ebp - 0xe0]
and ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xdc]
and edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], edx
jmp 0x492ae1
movzx eax, byte [ebp - 0xf1]
cmp eax, 0x56
jne 0x49290f
mov ecx, dword [ebp - 0xe0]
or ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xdc]
or edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], edx
jmp 0x492ae1
mov eax, dword [ebp - 0xe8]
or eax, dword [ebp - 0xe4]
je 0x492ae1
cmp dword [ebp - 0xe4], 0
jg 0x4929ae
jl 0x492939
cmp dword [ebp - 0xe8], 0
jae 0x4929ae
movzx ecx, byte [ebp - 0xf1]
mov edx, 0xaf
sub edx, ecx
mov byte [ebp - 0xf1], dl
cmp dword [ebp - 0xe4], 0xffffffff
jl 0x492982
jg 0x492961
cmp dword [ebp - 0xe8], 0xffffffc0
jbe 0x492982
mov eax, dword [ebp - 0xe8]
neg eax
mov ecx, dword [ebp - 0xe4]
adc ecx, 0
neg ecx
mov dword [ebp - 0x6ec], eax
mov dword [ebp - 0x6e8], ecx
jmp 0x492996
mov dword [ebp - 0x6ec], 0x40
mov dword [ebp - 0x6e8], 0
mov edx, dword [ebp - 0x6ec]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0x6e8]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jl 0x492a10
jg 0x4929c2
cmp dword [ebp - 0xe8], 0x40
jb 0x492a10
cmp dword [ebp - 0xdc], 0
jg 0x4929ee
jl 0x4929d6
cmp dword [ebp - 0xe0], 0
jae 0x4929ee
movzx ecx, byte [ebp - 0xf1]
cmp ecx, 0x57
je 0x4929ee
mov dword [ebp - 0x6f0], 0xffffffff
jmp 0x4929f8
mov dword [ebp - 0x6f0], 0
mov eax, dword [ebp - 0x6f0]
cdq
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
jmp 0x492ae1
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xec], eax
movzx ecx, byte [ebp - 0xf1]
cmp ecx, 0x57
jne 0x492a59
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xec]
call fcn.005422c0
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
jmp 0x492ac9
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xec]
call fcn.00555350
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0xdc], 0
jg 0x492ac9
jl 0x492a90
cmp dword [ebp - 0xe0], 0
jae 0x492ac9
mov ecx, 0x40
sub ecx, dword [ebp - 0xe8]
mov edx, 0
sbb edx, dword [ebp - 0xe4]
or eax, 0xffffffff
or edx, 0xffffffff
call fcn.005422c0
or eax, dword [ebp - 0xf0]
or edx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xe0]
mov dword [edx], eax
mov ecx, dword [ebp - 0xdc]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
and eax, 0xffff3e00
or eax, 4
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00488430
add esp, 4
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
cdq
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx]
mov ecx, dword [ecx + 4]
adc ecx, edx
mov edx, dword [ebp - 0x34]
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 8]
and eax, 4
jne 0x492b9f
movzx ecx, byte [ebp - 0x21]
push ecx
push 0x43
mov edx, dword [ebp - 0x34]
push edx
call fcn.00491150
add esp, 0xc
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax + 8]
and ecx, 4
jne 0x492b9f
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
jne 0x492b9a
mov dword [ebp - 8], 0x14
jmp 0x498d1f
jmp 0x4915b8
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax + 8]
and ecx, 0xffff3e00
or ecx, 4
mov edx, dword [ebp - 0x34]
mov word [edx + 8], cx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 8]
and eax, 4
je 0x492be2
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00488470
add esp, 4
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + 8]
and edx, 0x4000
je 0x492c19
mov eax, dword [ebp - 0x34]
push eax
call fcn.00487e30
add esp, 4
mov dword [ebp - 0x6f4], eax
jmp 0x492c23
mov dword [ebp - 0x6f4], 0
mov ecx, dword [ebp - 0x6f4]
mov dword [ebp - 8], ecx
movzx edx, byte [ebp - 0x21]
push edx
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 8]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00488540
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x492c50
jmp 0x498d1f
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + 8]
mov word [ebp - 0xfc], dx
mov eax, dword [ebp - 0xc]
mov cx, word [eax + 8]
mov word [ebp - 0x100], cx
movzx edx, word [ebp - 0xfc]
movzx eax, word [ebp - 0x100]
or edx, eax
and edx, 1
je 0x492d45
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
and edx, 0x80
je 0x492cf6
movzx eax, word [ebp - 0xfc]
and eax, 1
je 0x492cea
movzx ecx, word [ebp - 0x100]
and ecx, 1
je 0x492cea
movzx edx, word [ebp - 0x100]
and edx, 0x100
jne 0x492cea
mov dword [ebp - 0xf8], 0
jmp 0x492cf4
mov dword [ebp - 0xf8], 1
jmp 0x492d40
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
and ecx, 0x20
je 0x492d2a
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 8]
and edx, 0xffff3e00
or edx, 1
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
jmp 0x492d3b
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
and edx, 0x10
je 0x492d3b
jmp 0x4915b8
jmp case.0x4914fc.62
jmp 0x492ec4
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
and ecx, 0x47
mov byte [ebp - 0xf2], cl
movsx edx, byte [ebp - 0xf2]
cmp edx, 0x43
jl 0x492da0
movzx eax, word [ebp - 0xfc]
and eax, 0xe
cmp eax, 2
jne 0x492d7e
push 0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004910a0
add esp, 8
movzx edx, word [ebp - 0x100]
and edx, 0xe
cmp edx, 2
jne 0x492d9b
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.004910a0
add esp, 8
jmp 0x492e4b
movsx ecx, byte [ebp - 0xf2]
cmp ecx, 0x42
jne 0x492e4b
movzx edx, word [ebp - 0xfc]
and edx, 2
jne 0x492dfe
movzx eax, word [ebp - 0xfc]
and eax, 0xc
je 0x492dfe
push 1
movzx ecx, byte [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00487f60
add esp, 0xc
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax + 8]
and ecx, 0xffff7e00
movzx edx, word [ebp - 0xfc]
and edx, 0x81ff
or ecx, edx
mov word [ebp - 0xfc], cx
movzx eax, word [ebp - 0x100]
and eax, 2
jne 0x492e4b
movzx ecx, word [ebp - 0x100]
and ecx, 0xc
je 0x492e4b
push 1
movzx edx, byte [ebp - 0x21]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00487f60
add esp, 0xc
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 8]
and edx, 0xffff7e00
movzx eax, word [ebp - 0x100]
and eax, 0x81ff
or edx, eax
mov word [ebp - 0x100], dx
movzx ecx, word [ebp - 0xfc]
and ecx, 0x4000
je 0x492e79
mov edx, dword [ebp - 0x34]
push edx
call fcn.00487e30
add esp, 4
movzx eax, word [ebp - 0xfc]
and eax, 0xffffbfff
mov word [ebp - 0xfc], ax
movzx ecx, word [ebp - 0x100]
and ecx, 0x4000
je 0x492ea7
mov edx, dword [ebp - 0xc]
push edx
call fcn.00487e30
add esp, 4
movzx eax, word [ebp - 0x100]
and eax, 0xffffbfff
mov word [ebp - 0x100], ax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0048d790
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx]
mov dword [ebp - 0x6f8], eax
mov ecx, dword [ebp - 0x6f8]
sub ecx, 0x4e
mov dword [ebp - 0x6f8], ecx
cmp dword [ebp - 0x6f8], 4
ja case.default.0x492eee
mov edx, dword [ebp - 0x6f8]
jmp dword [edx*4 + 0x49915c]
xor eax, eax
cmp dword [ebp - 0xf8], 0
sete al
mov dword [ebp - 0xf8], eax
jmp 0x492f6b
xor ecx, ecx
cmp dword [ebp - 0xf8], 0
setne cl
mov dword [ebp - 0xf8], ecx
jmp 0x492f6b
xor edx, edx
cmp dword [ebp - 0xf8], 0
setl dl
mov dword [ebp - 0xf8], edx
jmp 0x492f6b
xor eax, eax
cmp dword [ebp - 0xf8], 0
setle al
mov dword [ebp - 0xf8], eax
jmp 0x492f6b
xor ecx, ecx
cmp dword [ebp - 0xf8], 0
setg cl
mov dword [ebp - 0xf8], ecx
jmp 0x492f6b
xor edx, edx
cmp dword [ebp - 0xf8], 0
setge dl
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0x34]
mov cx, word [ebp - 0xfc]
mov word [eax + 8], cx
mov edx, dword [ebp - 0xc]
mov ax, word [ebp - 0x100]
mov word [edx + 8], ax
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
and edx, 0x20
je 0x492fc9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
and eax, 0xffff3e00
or eax, 4
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
mov eax, dword [ebp - 0xf8]
cdq
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x492fd7
cmp dword [ebp - 0xf8], 0
je 0x492fd7
jmp 0x4915b8
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
add eax, 4
mov dword [ebp - 0x1c], eax
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
and edx, 1
jne 0x493000
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x108], 0
jmp 0x49304b
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x10c]
jge 0x493114
cmp dword [ebp - 0x1c], 0
je 0x493077
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x6fc], eax
jmp 0x493083
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x6fc], ecx
mov edx, dword [ebp - 0x6fc]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx + eax*4 + 0x14]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x108]
movzx eax, byte [ecx + edx]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x118]
add edx, dword [ebp - 0x114]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x11c]
add eax, dword [ebp - 0x114]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
push eax
call fcn.0048d790
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x49310f
cmp dword [ebp - 0x104], 0
je 0x49310d
mov ecx, dword [ebp - 0x44]
neg ecx
mov dword [ebp - 0x44], ecx
jmp 0x493114
jmp 0x49303c
mov dword [ebp - 0x1c], 0
jmp case.0x4914fc.62
cmp dword [ebp - 0x44], 0
jge 0x49313a
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
sub eax, 1
imul eax, eax, 0x14
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x493166
cmp dword [ebp - 0x44], 0
jne 0x493154
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
sub edx, 1
imul edx, edx, 0x14
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
jmp 0x493166
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
sub ecx, 1
imul ecx, ecx, 0x14
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + 8]
and edx, 1
je 0x493192
mov dword [ebp - 0x124], 2
jmp 0x4931da
mov eax, dword [ebp - 0x34]
push eax
call fcn.004882b0
add esp, 4
mov dword [ebp - 0x704], eax
mov dword [ebp - 0x700], edx
mov ecx, dword [ebp - 0x704]
or ecx, dword [ebp - 0x700]
je 0x4931c4
mov dword [ebp - 0x708], 1
jmp 0x4931ce
mov dword [ebp - 0x708], 0
mov edx, dword [ebp - 0x708]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 8]
and eax, 1
je 0x493201
mov dword [ebp - 0x128], 2
jmp 0x493249
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004882b0
add esp, 4
mov dword [ebp - 0x710], eax
mov dword [ebp - 0x70c], edx
mov edx, dword [ebp - 0x710]
or edx, dword [ebp - 0x70c]
je 0x493233
mov dword [ebp - 0x714], 1
jmp 0x49323d
mov dword [ebp - 0x714], 0
mov eax, dword [ebp - 0x714]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx]
cmp edx, 0x48
jne 0x493273
mov eax, dword [ebp - 0x124]
imul eax, eax, 3
mov ecx, dword [ebp - 0x128]
movzx edx, byte [eax + ecx + 0x58c7d0]
mov dword [ebp - 0x124], edx
jmp 0x493290
mov eax, dword [ebp - 0x124]
imul eax, eax, 3
mov ecx, dword [ebp - 0x128]
movzx edx, byte [eax + ecx + 0x58c7dc]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x124], 2
jne 0x4932c0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
and eax, 0xffff3e00
or eax, 1
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
jmp 0x4932e5
mov eax, dword [ebp - 0x124]
cdq
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
and eax, 0xffff3e00
or eax, 4
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00488680
add esp, 4
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + 8]
and edx, 1
jne 0x493377
mov eax, 4
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
mov edx, dword [ebp - 0x34]
push edx
call fcn.004882b0
add esp, 4
mov dword [ebp - 0x71c], eax
mov dword [ebp - 0x718], edx
mov eax, dword [ebp - 0x71c]
or eax, dword [ebp - 0x718]
jne 0x49335e
mov dword [ebp - 0x720], 1
jmp 0x493368
mov dword [ebp - 0x720], 0
mov eax, dword [ebp - 0x720]
cdq
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00488680
add esp, 4
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + 8]
and edx, 1
jne 0x4933d6
mov eax, 4
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
mov edx, dword [ebp - 0x34]
push edx
call fcn.004882b0
add esp, 4
not eax
not edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4914fc.62
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd0]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
movzx eax, byte [eax + edx]
test eax, eax
je 0x4933f9
jmp 0x4915b8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd0]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov byte [edx + ecx], 1
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + 8]
and edx, 1
je 0x49343a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x12c], ecx
jmp 0x493492
mov edx, dword [ebp - 0x34]
push edx
call fcn.00488340
add esp, 4
fcomp qword [0x5a4280]
fnstsw ax
test ah, 0x44
jnp 0x49345f
mov dword [ebp - 0x724], 1
jmp 0x493469
mov dword [ebp - 0x724], 0
mov eax, dword [ebp - 0x724]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx]
cmp edx, 0x2e
jne 0x493492
xor eax, eax
cmp dword [ebp - 0x12c], 0
sete al
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4934a0
jmp 0x4915b8
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax + 8]
and ecx, 1
je 0x4934c5
jmp 0x4915b8
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + 8]
and edx, 1
jne 0x4934ea
jmp 0x4915b8
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.0048cc40
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x19c], edx
cmp dword [ebp - 8], 0
je 0x493564
jmp 0x498d1f
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x40]
cmp edx, dword [ecx + 0x48]
je 0x4937c4
mov eax, dword [ebp - 0x150]
movzx ecx, byte [eax + 2]
test ecx, ecx
je 0x493604
mov edx, dword [ebp - 0x150]
movzx eax, byte [edx]
cmp eax, 3
jne 0x4935eb
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x14]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x1a0]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x1a0]
mov dword [ecx + 0x44], edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x50], edx
jmp 0x4935ff
mov eax, dword [ebp - 0x130]
push eax
call fcn.00488680
add esp, 4
jmp 0x493dd4
jmp 0x4936dc
mov ecx, dword [ebp - 0x150]
movzx edx, byte [ecx + 4]
test edx, edx
jne 0x493658
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x19c]
push ecx
call fcn.0047f4b0
add esp, 8
lea edx, [ebp - 0x1a0]
push edx
mov eax, dword [ebp - 0x19c]
push eax
call fcn.0047fb10
add esp, 8
mov ecx, dword [ebp - 0x150]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x150]
mov dword [eax + 0x44], edx
jmp 0x493690
mov ecx, dword [ebp - 0x150]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x19c]
push edx
call fcn.0047f4e0
add esp, 8
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 0x19c]
push ecx
call fcn.0047fb10
add esp, 8
mov edx, dword [ebp - 0x150]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp - 0x1a0]
ja 0x4936b5
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x48], ecx
jmp 0x4936dc
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x44]
cmp ecx, dword [eax + 0x5c]
jbe 0x4936cd
jmp 0x498e27
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x1a0]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
mov dword [ecx + 0x40], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x50]
movzx eax, byte [edx]
cmp eax, 0x80
jge 0x49371c
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x50]
movzx eax, byte [edx]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x728], 1
jmp 0x49373e
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0x50]
push eax
call fcn.00469440
add esp, 8
movzx ecx, al
mov dword [ebp - 0x728], ecx
movzx edx, byte [ebp - 0x728]
mov eax, dword [ebp - 0x150]
mov dword [eax + 0x4c], edx
xor ecx, ecx
mov edx, dword [ebp - 0x150]
mov word [edx + 0x12], cx
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x148]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1a0]
cmp edx, dword [ebp - 0x148]
jae 0x4937c2
mov eax, dword [ebp - 0x150]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x150]
mov dword [ecx + 0x48], 0
cmp dword [ebp - 0x148], 0x18003
ja 0x4937ad
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x148]
cmp eax, dword [edx + 0x44]
jbe 0x4937c2
push 0x12c96
call fcn.004e1aa0
add esp, 4
mov dword [ebp - 8], eax
jmp 0x498d1f
jmp 0x4937da
mov ecx, dword [ebp - 0x150]
movzx edx, word [ecx + 0x12]
cmp edx, dword [ebp - 0x140]
jg 0x493b52
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x144]
mov edx, dword [eax + 0x4c]
cmp edx, dword [ecx]
jae 0x493af7
mov eax, dword [ebp - 0x150]
cmp dword [eax + 0x50], 0
jne 0x49388e
xor ecx, ecx
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x15c], ecx
lea edx, [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x150]
movzx ecx, byte [eax + 4]
neg ecx
sbb ecx, ecx
add ecx, 1
push ecx
mov edx, dword [ebp - 0x144]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [ebp - 0x19c]
push ecx
call fcn.00488d70
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x493880
jmp 0x498d1f
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x188], edx
jmp 0x49389d
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x150]
movzx eax, word [edx + 0x12]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x188]
add eax, dword [edx + 0x4c]
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x188]
add edx, dword [ecx]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x184]
movzx ecx, byte [eax]
mov dword [ebp - 0x18c], ecx
cmp dword [ebp - 0x18c], 0x80
jae 0x49394d
mov edx, dword [ebp - 0x184]
add edx, 1
mov dword [ebp - 0x184], edx
movzx eax, byte [ebp - 0x18c]
push eax
call fcn.0048ced0
add esp, 4
movzx eax, al
cdq
add eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x194]
adc ecx, edx
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
jmp 0x49399d
lea edx, [ebp - 0x18c]
push edx
mov eax, dword [ebp - 0x184]
push eax
call fcn.00469440
add esp, 8
movzx ecx, al
add ecx, dword [ebp - 0x184]
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x18c]
push edx
call fcn.0048cea0
add esp, 4
xor ecx, ecx
add eax, dword [ebp - 0x198]
mov edx, dword [ebp - 0x194]
adc edx, ecx
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x18c]
mov dword [ecx + eax*4 + 0x58], edx
mov eax, dword [ebp - 0x134]
add eax, 1
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp - 0x194]
and edx, 0
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x144]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x140]
jg 0x493a00
mov ecx, dword [ebp - 0x184]
cmp ecx, dword [ebp - 0x13c]
jb 0x4938f3
mov edx, dword [ebp - 0x150]
mov ax, word [ebp - 0x134]
mov word [edx + 0x12], ax
mov ecx, dword [ebp - 0x184]
sub ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x150]
mov dword [edx + 0x4c], ecx
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x13c]
jb 0x493a75
mov ecx, dword [ebp - 0x184]
cmp ecx, dword [ebp - 0x13c]
ja 0x493aaa
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0x44]
xor ecx, ecx
mov dword [ebp - 0x730], eax
mov dword [ebp - 0x72c], ecx
mov edx, dword [ebp - 0x198]
cmp edx, dword [ebp - 0x730]
jne 0x493aaa
mov eax, dword [ebp - 0x194]
cmp eax, dword [ebp - 0x72c]
jne 0x493aaa
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x44]
xor eax, eax
mov dword [ebp - 0x738], edx
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 0x194]
cmp ecx, dword [ebp - 0x734]
jb 0x493ada
ja 0x493aaa
mov edx, dword [ebp - 0x198]
cmp edx, dword [ebp - 0x738]
jbe 0x493ada
mov eax, dword [ebp - 0x150]
cmp dword [eax + 0x50], 0
jne 0x493ac5
lea ecx, [ebp - 0x180]
push ecx
call fcn.00488230
add esp, 4
push 0x12cd3
call fcn.004e1aa0
add esp, 4
mov dword [ebp - 8], eax
jmp 0x498d1f
mov edx, dword [ebp - 0x150]
cmp dword [edx + 0x50], 0
jne 0x493af5
lea eax, [ebp - 0x180]
push eax
call fcn.00488230
add esp, 4
jmp 0x493b01
mov dword [ebp - 0x18c], 0
mov ecx, dword [ebp - 0x150]
movzx edx, word [ecx + 0x12]
cmp edx, dword [ebp - 0x140]
jg 0x493b50
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax + 1]
cmp ecx, 0xfffffff8
jne 0x493b3c
push 0x800
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.00488900
add esp, 0xc
jmp 0x493b4b
mov edx, dword [ebp - 0x130]
push edx
call fcn.00488680
add esp, 4
jmp 0x493dd4
jmp 0x493b68
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + eax*4 + 0x58]
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x130]
movzx ecx, word [eax + 8]
and ecx, 0x2460
je 0x493b89
mov edx, dword [ebp - 0x130]
push edx
call fcn.00488680
add esp, 4
mov eax, dword [ebp - 0x130]
mov cl, byte [ebp - 0x21]
mov byte [eax + 0xa], cl
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x144]
mov edx, dword [edx + 0x48]
cmp edx, dword [ecx + eax*4 + 4]
jb 0x493cdf
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x50]
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x144]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x188], ecx
cmp dword [ebp - 0x18c], 0xc
jae 0x493bfd
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x18c]
push edx
mov eax, dword [ebp - 0x188]
push eax
call fcn.0048d090
add esp, 0xc
jmp 0x493cda
mov ecx, dword [ebp - 0x18c]
sub ecx, 0xc
shr ecx, 1
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x14c]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x14c]
add ecx, 2
mov edx, dword [ebp - 0x130]
cmp dword [edx + 0x18], ecx
jge 0x493c66
mov eax, 1
mov ecx, dword [ebp - 0x130]
mov word [ecx + 8], ax
push 0
mov edx, dword [ebp - 0x14c]
add edx, 2
push edx
mov eax, dword [ebp - 0x130]
push eax
call fcn.00487b90
add esp, 0xc
test eax, eax
je 0x493c64
jmp 0x498e44
jmp 0x493c78
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x188]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00543950
add esp, 0xc
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x14c]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x14c]
mov byte [ecx + eax + 1], 0
mov edx, dword [ebp - 0x18c]
and edx, 1
mov eax, dword [ebp - 0x130]
mov cx, word [edx*2 + 0x58c7e8]
mov word [eax + 8], cx
jmp 0x493dd4
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
and eax, 0xc0
je 0x493d0f
cmp dword [ebp - 0x18c], 0xc
jb 0x493d01
mov ecx, dword [ebp - 0x18c]
and ecx, 1
je 0x493d2d
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
and eax, 0x80
jne 0x493d2d
mov ecx, dword [ebp - 0x18c]
push ecx
call fcn.0048cea0
add esp, 4
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x493d4d
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x18c]
push eax
push 0x5c9fb4
call fcn.0048d090
add esp, 0xc
jmp 0x493dd4
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x150]
movzx eax, byte [edx + 4]
neg eax
sbb eax, eax
add eax, 1
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x19c]
push edx
call fcn.00488d70
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x493d9a
jmp 0x498d1f
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x10]
push eax
call fcn.0048d090
add esp, 0xc
mov ecx, dword [ebp - 0x130]
movzx edx, word [ecx + 8]
and edx, 0xffffefff
mov eax, dword [ebp - 0x130]
mov word [eax + 8], dx
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1a4], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1a4]
mov al, byte [edx]
mov byte [ebp - 0x1a5], al
movsx ecx, byte [ebp - 0x1a5]
mov edx, dword [ebp - 0x1a4]
add edx, 1
mov dword [ebp - 0x1a4], edx
test ecx, ecx
je 0x493e40
movzx eax, byte [ebp - 0x21]
push eax
movzx ecx, byte [ebp - 0x1a5]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00491150
add esp, 0xc
mov eax, dword [ebp - 0x34]
add eax, 0x28
mov dword [ebp - 0x34], eax
jmp 0x493df4
jmp case.0x4914fc.62
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x200], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1d4], ecx
mov edx, dword [ebp - 0x200]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x200]
sub edx, 1
imul edx, edx, 0x28
add edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x5c]
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1d4], 0
je 0x493f57
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x1d4]
mov al, byte [edx]
mov byte [ebp - 0x739], al
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x740], ecx
movzx edx, byte [ebp - 0x21]
push edx
movzx eax, byte [ebp - 0x739]
push eax
mov ecx, dword [ebp - 0x740]
push ecx
call fcn.00491150
add esp, 0xc
mov edx, dword [ebp - 0x1d8]
add edx, 0x28
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x1d4]
add eax, 1
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1d4]
movsx edx, byte [ecx]
test edx, edx
jne 0x493ef6
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1d8], eax
lea ecx, [ebp - 0x1e4]
push ecx
mov edx, dword [ebp - 0x1dc]
push edx
mov eax, dword [ebp - 0x1d8]
push eax
call fcn.0048cce0
add esp, 0xc
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x1ac]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x1d8]
movzx ecx, word [eax + 8]
and ecx, 0x4000
je 0x494006
mov edx, dword [ebp - 0x1d0]
or edx, dword [ebp - 0x1cc]
je 0x493fcf
mov eax, dword [ebp - 0x1d8]
push eax
call fcn.00487e30
add esp, 4
test eax, eax
je 0x493fcd
jmp 0x498e44
jmp 0x494006
mov ecx, dword [ebp - 0x1d8]
mov eax, dword [ecx]
cdq
add eax, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1b4]
adc ecx, edx
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], ecx
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1e4]
sub eax, dword [edx]
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
xor edx, edx
add ecx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x1cc]
adc eax, edx
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1ac], 0x7f
ja 0x49403d
mov dword [ebp - 0x744], 1
jmp 0x494055
mov ecx, dword [ebp - 0x1ac]
xor edx, edx
push edx
push ecx
call fcn.00469540
add esp, 8
mov dword [ebp - 0x744], eax
mov eax, dword [ebp - 0x1c4]
add eax, dword [ebp - 0x744]
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1d8]
sub ecx, 0x28
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x1d8]
cmp edx, dword [ebp - 0x1f4]
jae 0x493f63
cmp dword [ebp - 0x1c4], 0x7e
jg 0x4940a2
mov eax, dword [ebp - 0x1c4]
add eax, 1
mov dword [ebp - 0x1c4], eax
jmp 0x4940f3
mov eax, dword [ebp - 0x1c4]
cdq
push edx
push eax
call fcn.00469540
add esp, 8
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c4]
add ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], ecx
mov eax, dword [ebp - 0x1c4]
cdq
push edx
push eax
call fcn.00469540
add esp, 8
cmp dword [ebp - 0x1c0], eax
jge 0x4940f3
mov edx, dword [ebp - 0x1c4]
add edx, 1
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1c4]
cdq
add eax, dword [ebp - 0x1d0]
adc edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1ec], edx
mov ecx, dword [ebp - 0x1f0]
add ecx, dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x1ec]
adc esi, dword [ebp - 0x1b4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5c]
cdq
mov dword [ebp - 0x74c], ecx
mov dword [ebp - 0x748], esi
mov dword [ebp - 0x754], eax
mov dword [ebp - 0x750], edx
mov eax, dword [ebp - 0x748]
cmp eax, dword [ebp - 0x750]
jl 0x49416c
jg 0x494167
mov ecx, dword [ebp - 0x74c]
cmp ecx, dword [ebp - 0x754]
jbe 0x49416c
jmp 0x498e27
mov edx, dword [ebp - 0x1f0]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00487d10
add esp, 8
test eax, eax
je 0x494188
jmp 0x498e44
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1e0], edx
cmp dword [ebp - 0x1c4], 0x80
jae 0x4941ba
mov eax, dword [ebp - 0x1e0]
mov cl, byte [ebp - 0x1c4]
mov byte [eax], cl
mov dword [ebp - 0x758], 1
jmp 0x4941d8
mov eax, dword [ebp - 0x1c4]
cdq
push edx
push eax
mov edx, dword [ebp - 0x1e0]
push edx
call fcn.00468fe0
add esp, 0xc
mov dword [ebp - 0x758], eax
movzx eax, byte [ebp - 0x758]
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1ac], ecx
cmp dword [ebp - 0x1ac], 0x80
jae 0x494238
mov edx, dword [ebp - 0x1e0]
add edx, dword [ebp - 0x1bc]
mov al, byte [ebp - 0x1ac]
mov byte [edx], al
mov dword [ebp - 0x75c], 1
jmp 0x49425d
mov ecx, dword [ebp - 0x1ac]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x1e0]
add eax, dword [ebp - 0x1bc]
push eax
call fcn.00468fe0
add esp, 0xc
mov dword [ebp - 0x75c], eax
movzx ecx, byte [ebp - 0x75c]
add ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1ac]
push edx
mov eax, dword [ebp - 0x1d8]
push eax
mov ecx, dword [ebp - 0x1e0]
add ecx, dword [ebp - 0x1fc]
push ecx
call fcn.0048cee0
add esp, 0xc
add eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x1fc], eax
mov edx, dword [ebp - 0x1d8]
add edx, 0x28
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x1d8]
cmp eax, dword [ebp - 0x1f8]
jbe 0x4941fd
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc], ecx
mov eax, 0x10
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
mov edx, dword [ebp - 0x1b8]
or edx, dword [ebp - 0x1b4]
je 0x494304
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
or eax, 0x4000
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
mov edx, dword [ebp - 0x14]
mov byte [edx + 0xa], 1
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x20c]
push ecx
call fcn.00485490
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x494360
jmp 0x498d1f
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x208]
mov dword [ecx], edx
mov eax, dword [ebp - 0x204]
mov dword [ecx + 4], eax
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x210], ecx
cmp dword [ebp - 0x21c], 0
jne 0x494509
mov edx, dword [ebp - 4]
cmp dword [edx + 0xa0], 0
jle 0x4943da
push str.cannot_open_savepoint___SQL_statements_in_progress
mov eax, dword [ebp + 8]
push eax
call fcn.004895b0
add esp, 8
mov dword [ebp - 8], 5
jmp 0x494504
mov ecx, dword [ebp - 0x210]
push ecx
call fcn.00467c90
add esp, 4
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1b4]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x1b0]
push eax
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.004cdbd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49441e
jmp 0x498d1f
mov eax, dword [ebp - 0x22c]
add eax, 0x21
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.00464600
add esp, 0xc
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x494504
mov eax, dword [ebp - 0x228]
add eax, 0x20
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
mov edx, dword [ebp - 0x22c]
add edx, 1
push edx
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
push edx
call fcn.00543950
add esp, 0xc
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x43]
test ecx, ecx
je 0x494498
mov edx, dword [ebp - 4]
mov byte [edx + 0x43], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4b], 1
jmp 0x4944ad
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1b0]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x1b0], edx
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1a8]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x228]
mov dword [ecx + 0x1a8], edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1b8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0x1bc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c0]
mov dword [edx + 0x10], ecx
mov eax, dword [eax + 0x1c4]
mov dword [edx + 0x14], eax
jmp 0x4948e6
mov dword [ebp - 0x220], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1a8]
mov dword [ebp - 0x224], edx
jmp 0x494533
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x224], ecx
cmp dword [ebp - 0x224], 0
je 0x494569
mov edx, dword [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
push ecx
call fcn.004680d0
add esp, 8
test eax, eax
je 0x494569
mov edx, dword [ebp - 0x220]
add edx, 1
mov dword [ebp - 0x220], edx
jmp 0x494524
cmp dword [ebp - 0x224], 0
jne 0x494596
mov eax, dword [ebp - 0x210]
push eax
push str.no_such_savepoint:__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.004895b0
add esp, 0xc
mov dword [ebp - 8], 1
jmp 0x4948e6
mov edx, dword [ebp - 4]
cmp dword [edx + 0xa0], 0
jle 0x4945c8
cmp dword [ebp - 0x21c], 1
jne 0x4945c8
push str.cannot_release_savepoint___SQL_statements_in_progress
mov eax, dword [ebp + 8]
push eax
call fcn.004895b0
add esp, 8
mov dword [ebp - 8], 5
jmp 0x4948e6
mov ecx, dword [ebp - 0x224]
cmp dword [ecx + 0x18], 0
jne 0x4945eb
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x4b]
test eax, eax
je 0x4945eb
mov dword [ebp - 0x760], 1
jmp 0x4945f5
mov dword [ebp - 0x760], 0
mov ecx, dword [ebp - 0x760]
mov dword [ebp - 0x230], ecx
cmp dword [ebp - 0x230], 0
je 0x494690
cmp dword [ebp - 0x21c], 1
jne 0x494690
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.0048c180
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x494633
jmp 0x498def
mov eax, dword [ebp - 4]
mov byte [eax + 0x43], 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048c220
add esp, 4
cmp eax, 5
jne 0x49467b
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x43], 0
mov dword [ebp - 8], 5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x50], edx
jmp 0x498def
mov eax, dword [ebp - 4]
mov byte [eax + 0x4b], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 8], edx
jmp 0x4947cc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1b0]
sub ecx, dword [ebp - 0x220]
sub ecx, 1
mov dword [ebp - 0x220], ecx
cmp dword [ebp - 0x21c], 2
jne 0x49472f
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
and eax, 2
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x218], 0
jmp 0x4946e1
mov ecx, dword [ebp - 0x218]
add ecx, 1
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
cmp eax, dword [edx + 0x14]
jge 0x49472d
xor ecx, ecx
cmp dword [ebp - 0x234], 0
sete cl
push ecx
push 0x204
mov edx, dword [ebp - 0x218]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.0047ee60
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49472b
jmp 0x498d1f
jmp 0x4946d2
jmp 0x494739
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x218], 0
jmp 0x494754
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x218]
cmp edx, dword [ecx + 0x14]
jge 0x49479c
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x218]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.0047f100
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49479a
jmp 0x498d1f
jmp 0x494745
cmp dword [ebp - 0x234], 0
je 0x4947cc
mov eax, dword [ebp - 4]
push eax
call fcn.0048e870
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.004aa830
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
or eax, 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1a8]
cmp eax, dword [ebp - 0x224]
je 0x494828
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1a8]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x1a8], edx
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00464260
add esp, 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1b0]
sub eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1b0], eax
jmp 0x4947cc
cmp dword [ebp - 0x21c], 1
jne 0x494876
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x1a8], ecx
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00464260
add esp, 8
cmp dword [ebp - 0x230], 0
jne 0x494874
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1b0]
sub edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x1b0], edx
jmp 0x4948ac
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x224]
mov eax, dword [edx + 8]
mov dword [ecx + 0x1b8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0x1bc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x1c0], edx
mov ecx, dword [ecx + 0x14]
mov dword [eax + 0x1c4], ecx
cmp dword [ebp - 0x230], 0
je 0x4948be
cmp dword [ebp - 0x21c], 2
jne 0x4948e6
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004cdbd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4948e6
jmp 0x498d1f
cmp dword [ebp - 8], 0
je 0x4948f1
jmp 0x498d1f
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x43]
cmp dword [ebp - 0x23c], ecx
je 0x494a19
cmp dword [ebp - 0x238], 0
je 0x494944
push 0x204
mov edx, dword [ebp - 4]
push edx
call fcn.004dfa10
add esp, 8
mov eax, dword [ebp - 4]
mov byte [eax + 0x43], 1
jmp 0x4949a2
cmp dword [ebp - 0x23c], 0
je 0x494978
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xa0], 0
jle 0x494978
push str.cannot_commit_transaction___SQL_statements_in_progress
mov edx, dword [ebp + 8]
push edx
call fcn.004895b0
add esp, 8
mov dword [ebp - 8], 5
jmp 0x498d1f
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0048c180
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x494996
jmp 0x498def
mov ecx, dword [ebp - 4]
mov dl, byte [ebp - 0x23c]
mov byte [ecx + 0x43], dl
mov eax, dword [ebp + 8]
push eax
call fcn.0048c220
add esp, 4
cmp eax, 5
jne 0x4949ed
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x4c], eax
mov eax, 1
sub eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x43], al
mov dword [ebp - 8], 5
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0x50], eax
jmp 0x498def
mov ecx, dword [ebp - 4]
push ecx
call fcn.004df3f0
add esp, 4
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
jne 0x494a0b
mov dword [ebp - 8], 0x65
jmp 0x494a12
mov dword [ebp - 8], 1
jmp 0x498def
cmp dword [ebp - 0x23c], 0
jne 0x494a2e
mov dword [ebp - 0x764], str.cannot_start_a_transaction_within_a_transaction
jmp 0x494a59
cmp dword [ebp - 0x238], 0
je 0x494a43
mov dword [ebp - 0x768], str.cannot_rollback___no_transaction_is_active
jmp 0x494a4d
mov dword [ebp - 0x768], str.cannot_commit___no_transaction_is_active
mov eax, dword [ebp - 0x768]
mov dword [ebp - 0x764], eax
mov ecx, dword [ebp - 0x764]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004895b0
add esp, 8
mov dword [ebp - 8], 1
jmp 0x498d1f
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 8], 0
je 0x494aa0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
and edx, 0x2000000
je 0x494aa0
mov dword [ebp - 8], 8
jmp 0x498d1f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
shl ecx, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx + 4]
mov dword [ebp - 0x240], ecx
cmp dword [ebp - 0x240], 0
je 0x494c36
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.0047dec0
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
and edx, 0xff
cmp edx, 5
jne 0x494b0f
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x50], ecx
jmp 0x498def
cmp dword [ebp - 8], 0
je 0x494b1a
jmp 0x498d1f
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
je 0x494c00
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
shr ecx, 4
and ecx, 1
je 0x494c00
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x43]
test eax, eax
je 0x494b54
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x9c], 1
jle 0x494c00
mov edx, dword [ebp + 8]
cmp dword [edx + 0x70], 0
jne 0x494b8a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1b4]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x1b4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1b0]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x1b4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
sub edx, 1
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.004cdbd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x494bc4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
push edx
mov eax, dword [ebp - 0x240]
push eax
call fcn.0047f0b0
add esp, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1b8]
mov dword [ecx + 0xa0], eax
mov edx, dword [edx + 0x1bc]
mov dword [ecx + 0xa4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c0]
mov dword [eax + 0xa8], edx
mov ecx, dword [ecx + 0x1c4]
mov dword [eax + 0xac], ecx
lea edx, [ebp - 0x244]
push edx
push 1
mov eax, dword [ebp - 0x240]
push eax
call fcn.004853a0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ebp - 0x248], eax
jmp 0x494c4c
mov dword [ebp - 0x244], 0
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
test eax, eax
je 0x494ce7
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x244]
cmp edx, dword [ecx + 0xc]
jne 0x494c77
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x248]
cmp ecx, dword [eax + 0x10]
je 0x494ce7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00464260
add esp, 8
push 0x5c164c
mov edx, dword [ebp - 4]
push edx
call fcn.00464880
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
shl eax, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax + 0xc]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x244]
je 0x494cd1
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004aa7e0
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
or eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], eax
mov dword [ebp - 8], 0x11
cmp dword [ebp - 8], 0
je 0x494cf2
jmp 0x498d1f
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x250], edx
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x254]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.004853a0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24c]
cdq
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
shl eax, 4
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 4]
push ecx
call fcn.00485410
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 1
jne 0x494dc3
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
or edx, 2
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], edx
jmp 0x494dde
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 8], 2
jne 0x494dde
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx + 0xc]
mov byte [eax + 0x4c], dl
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 1
jne 0x494e02
mov ecx, dword [ebp - 4]
push ecx
call fcn.0048e870
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
and eax, 0xfffffffe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], eax
cmp dword [ebp - 8], 0
je 0x494e0d
jmp 0x498d1f
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je case.0x4914fc.54
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0xc]
cmp eax, dword [edx + 8]
jne case.0x4914fc.54
jmp 0x49503e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
and edx, 1
je 0x494e5d
mov dword [ebp - 8], 0x204
jmp 0x498d1f
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x260], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
shl ecx, 4
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp - 0x270]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx]
cmp eax, 0x37
jne 0x494ef7
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
and edx, 8
or edx, 4
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x270]
mov ecx, dword [eax + 0xc]
movzx edx, byte [ecx + 0x4c]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x5c]
cmp edx, ecx
jge 0x494ef5
mov edx, dword [ebp - 0x270]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x4c]
mov byte [ecx + 0x5c], dl
jmp 0x494f01
mov dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
and ecx, 0x10
je 0x494f33
mov edx, dword [ebp - 0x260]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00488430
add esp, 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax + 1]
cmp ecx, 0xfffffffa
jne 0x494f69
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
movzx edx, word [ecx + 6]
mov eax, dword [ebp - 0x268]
movzx ecx, word [eax + 8]
add edx, ecx
mov dword [ebp - 0x278], edx
jmp 0x494f81
mov edx, dword [ebp - 0x2c]
movsx eax, byte [edx + 1]
cmp eax, 0xfffffff2
jne 0x494f81
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x278], edx
push 0
mov eax, dword [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x278]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00490f70
add esp, 0x14
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
jne 0x494fb8
jmp 0x498e44
mov edx, dword [ebp - 0x264]
mov byte [edx + 2], 1
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 8]
or ecx, 4
mov edx, dword [ebp - 0x264]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x260]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
mov edx, dword [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.0047f2d0
add esp, 0x14
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x268]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx + 1]
xor eax, eax
cmp edx, 0xfffffffa
setne al
mov ecx, dword [ebp - 0x264]
mov byte [ecx + 4], al
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
and eax, 3
push eax
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x14]
push edx
call fcn.0047af70
add esp, 8
cmp dword [ebp - 8], 0
je 0x495066
jmp 0x498d1f
jmp case.0x4914fc.62
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00490f70
add esp, 0x14
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jne 0x49509d
jmp 0x498e44
mov edx, dword [ebp - 0x27c]
mov byte [edx + 2], 1
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 8]
or ecx, 1
mov edx, dword [ebp - 0x27c]
mov dword [edx + 8], ecx
mov eax, dword [0x58c7ec]
push eax
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
or edx, 5
push edx
mov eax, dword [ebp - 0x27c]
add eax, 0x18
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call fcn.0047c9b0
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x49510b
push 1
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx + 0x18]
push edx
call fcn.0047dec0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4951d0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x280], ecx
cmp dword [ebp - 0x280], 0
je 0x4951a1
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
or eax, 2
push eax
lea ecx, [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x27c]
mov eax, dword [edx + 0x18]
push eax
call fcn.00484e60
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x495195
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x280]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x280]
push edx
push 4
mov eax, dword [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx + 0x18]
push edx
call fcn.0047f2d0
add esp, 0x14
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x27c]
mov byte [eax + 4], 0
jmp 0x4951d0
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx + 0x14]
push edx
push 0
push 4
push 1
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.0047f2d0
add esp, 0x14
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x27c]
mov byte [edx + 4], 1
cmp dword [ebp - 8], 0
je 0x4951db
jmp 0x498d1f
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
xor edx, edx
cmp ecx, 8
setne dl
and edx, 1
shl edx, 2
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 8]
and ecx, 0xfffffffb
or ecx, edx
mov edx, dword [ebp - 0x27c]
mov dword [edx + 8], ecx
jmp case.0x4914fc.62
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00490f70
add esp, 0x14
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jne 0x49523e
jmp 0x498e44
mov edx, dword [ebp - 0x288]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x288]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0049a7e0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x495275
jmp 0x498d1f
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x28c]
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
mov edx, dword [ebp - 0x28c]
mov esi, dword [edx + 0x28]
add esi, 1
mov edx, dword [edx + 0x2c]
adc edx, 0
mov edi, dword [ebp - 0x28c]
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], edx
mov dword [ebp - 0x770], eax
mov dword [ebp - 0x76c], ecx
mov eax, dword [ebp - 0x770]
or eax, dword [ebp - 0x76c]
jne 0x4952d8
jmp 0x4915b8
jmp case.0x4914fc.62
push 3
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00490f70
add esp, 0x14
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
jne 0x49530f
jmp 0x498e44
mov eax, dword [ebp - 0x290]
mov byte [eax + 2], 1
mov ecx, dword [ebp - 0x290]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x290]
mov byte [ecx + 4], 1
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048b5c0
add esp, 8
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov dword [edx + eax*4], 0
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx]
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x2a8], 0
mov ecx, dword [ebp - 0x2a4]
mov byte [ecx + 2], 0
mov edx, dword [ebp - 0x2a4]
movzx eax, byte [edx + 4]
test eax, eax
je 0x4954c8
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 8]
and ecx, 0xe
cmp ecx, 2
jne 0x4953de
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.004910a0
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
call fcn.004882b0
add esp, 4
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], edx
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 8]
and edx, 4
jne 0x495472
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 8]
and ecx, 8
jne 0x495418
jmp 0x4915b8
fild qword [ebp - 0x2a0]
mov edx, dword [ebp - 0xc]
fcomp qword [edx]
fnstsw ax
test ah, 0x41
jne 0x495446
mov eax, dword [ebp - 0x2bc]
and eax, 1
jne 0x495444
mov ecx, dword [ebp - 0x2bc]
sub ecx, 1
mov dword [ebp - 0x2bc], ecx
jmp 0x495472
fild qword [ebp - 0x2a0]
mov edx, dword [ebp - 0xc]
fcomp qword [edx]
fnstsw ax
test ah, 5
jp 0x495472
mov eax, dword [ebp - 0x2bc]
and eax, 1
je 0x495472
mov ecx, dword [ebp - 0x2bc]
add ecx, 1
mov dword [ebp - 0x2bc], ecx
lea edx, [ebp - 0x294]
push edx
push 0
mov eax, dword [ebp - 0x29c]
push eax
mov ecx, dword [ebp - 0x2a0]
push ecx
push 0
mov edx, dword [ebp - 0x2a4]
mov eax, dword [edx + 0x14]
push eax
call fcn.00480010
add esp, 0x18
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x2a0]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x29c]
mov dword [ecx + 0x34], eax
cmp dword [ebp - 8], 0
je 0x4954c3
jmp 0x498d1f
jmp 0x4955c7
push 2
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00486b20
add esp, 8
test eax, eax
je 0x4954ea
mov dword [ebp - 0x2a8], 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2c0], ecx
mov edx, dword [ebp - 0x2a4]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x2b8], eax
mov cx, word [ebp - 0x2c0]
mov word [ebp - 0x2b0], cx
mov edx, dword [ebp - 0x2bc]
sub edx, 0x3f
and edx, 1
neg edx
sbb edx, edx
and edx, 0xfffffffe
add edx, 1
mov byte [ebp - 0x2ae], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2b4], ecx
mov edx, dword [ebp - 0x2b4]
movzx eax, word [edx + 8]
and eax, 0x4000
je 0x495569
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.00487e30
add esp, 4
mov dword [ebp - 0x774], eax
jmp 0x495573
mov dword [ebp - 0x774], 0
mov byte [ebp - 0x2aa], 0
lea edx, [ebp - 0x294]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x2b8]
push eax
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00480010
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4955ae
jmp 0x498d1f
cmp dword [ebp - 0x2a8], 0
je 0x4955c7
movzx eax, byte [ebp - 0x2aa]
test eax, eax
jne 0x4955c7
jmp 0x4956a7
mov ecx, dword [ebp - 0x2a4]
mov byte [ecx + 3], 0
mov edx, dword [ebp - 0x2a4]
mov dword [edx + 0x40], 0
cmp dword [ebp - 0x2bc], 0x41
jl 0x495641
cmp dword [ebp - 0x294], 0
jl 0x495602
cmp dword [ebp - 0x294], 0
jne 0x495635
cmp dword [ebp - 0x2bc], 0x42
jne 0x495635
mov dword [ebp - 0x294], 0
lea eax, [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00480770
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x495633
jmp 0x498d1f
jmp 0x49563f
mov dword [ebp - 0x294], 0
jmp 0x4956a7
cmp dword [ebp - 0x294], 0
jg 0x49565c
cmp dword [ebp - 0x294], 0
jne 0x49568f
cmp dword [ebp - 0x2bc], 0x3f
jne 0x49568f
mov dword [ebp - 0x294], 0
lea eax, [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00480a40
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49568d
jmp 0x498d1f
jmp 0x4956a7
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.00480570
add esp, 4
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0
je 0x4956b7
jmp 0x4915b8
cmp dword [ebp - 0x2a8], 0
je 0x4956c9
mov edx, dword [ebp - 0x2c]
add edx, 0x14
mov dword [ebp - 0x2c], edx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x2d4], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2d0], 0
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x10], 0
jle 0x4957b2
mov edx, dword [ebp - 0x2d4]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x2c]
mov dx, word [ecx + 0x10]
mov word [ebp - 0x3a4], dx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x2d8], 0
jmp 0x49574a
mov ecx, dword [ebp - 0x2d8]
add ecx, 1
mov dword [ebp - 0x2d8], ecx
movzx edx, word [ebp - 0x3a4]
cmp dword [ebp - 0x2d8], edx
jge 0x4957a1
mov eax, dword [ebp - 0x2d8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x3a8]
movzx edx, word [ecx + eax + 8]
and edx, 0x4000
je 0x495795
mov eax, dword [ebp - 0x2d8]
imul eax, eax, 0x28
add eax, dword [ebp - 0x3a8]
push eax
call fcn.00487e30
add esp, 4
mov dword [ebp - 0x778], eax
jmp 0x49579f
mov dword [ebp - 0x778], 0
jmp 0x49573b
lea ecx, [ebp - 0x3ac]
mov dword [ebp - 0x39c], ecx
jmp 0x49583f
lea edx, [ebp - 0x2d0]
push edx
push 0xb7
lea eax, [ebp - 0x398]
push eax
mov ecx, dword [ebp - 0x2d4]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.0048d2b0
add esp, 0x10
mov dword [ebp - 0x39c], eax
cmp dword [ebp - 0x39c], 0
jne 0x4957eb
jmp 0x498e44
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 8]
and ecx, 0x4000
je 0x49580e
mov edx, dword [ebp - 0xc]
push edx
call fcn.00487e30
add esp, 4
mov dword [ebp - 0x77c], eax
jmp 0x495818
mov dword [ebp - 0x77c], 0
mov eax, dword [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x2d4]
mov eax, dword [edx + 0x1c]
push eax
call fcn.0048d360
add esp, 0x10
mov ecx, dword [ebp - 0x39c]
mov byte [ecx + 0xa], 0
mov dword [ebp - 0x2cc], 0
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx]
cmp eax, 0x43
jne 0x4958b5
mov dword [ebp - 0x2d8], 0
jmp 0x495879
mov ecx, dword [ebp - 0x2d8]
add ecx, 1
mov dword [ebp - 0x2d8], ecx
mov edx, dword [ebp - 0x39c]
movzx eax, word [edx + 8]
cmp dword [ebp - 0x2d8], eax
jge 0x4958b5
mov ecx, dword [ebp - 0x2d8]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x39c]
mov eax, dword [edx + 4]
movzx ecx, word [eax + ecx + 8]
and ecx, 1
je 0x4958b3
mov dword [ebp - 0x2cc], 1
jmp 0x4958b5
jmp 0x49586a
lea edx, [ebp - 0x2c8]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x2d4]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00480010
add esp, 0x18
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00464260
add esp, 8
cmp dword [ebp - 8], 0
je 0x4958fc
jmp 0x498d1f
mov edx, dword [ebp - 0x2d4]
mov eax, dword [ebp - 0x2c8]
mov dword [edx + 0x20], eax
xor ecx, ecx
cmp dword [ebp - 0x2c8], 0
sete cl
mov dword [ebp - 0x2c4], ecx
mov edx, 1
sub edx, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0x2d4]
mov byte [eax + 2], dl
mov ecx, dword [ebp - 0x2d4]
mov byte [ecx + 3], 0
mov edx, dword [ebp - 0x2d4]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax]
cmp ecx, 0x45
jne 0x495963
cmp dword [ebp - 0x2c4], 0
je 0x495961
jmp 0x4915b8
jmp 0x49597a
cmp dword [ebp - 0x2cc], 0
jne 0x495975
cmp dword [ebp - 0x2c4], 0
jne 0x49597a
jmp 0x4915b8
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + edx*4]
mov dword [ebp - 0x3bc], edx
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3c0], ecx
mov dword [ebp - 0x3b0], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x3b8], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x3b4], ecx
lea edx, [ebp - 0x3b0]
push edx
push 0
mov eax, dword [ebp - 0x3b4]
push eax
mov ecx, dword [ebp - 0x3b8]
push ecx
push 0
mov edx, dword [ebp - 0x3c0]
push edx
call fcn.00480010
add esp, 0x18
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [ebp - 0x3b8]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 0x3b4]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x3bc]
mov byte [eax + 2], 0
mov ecx, dword [ebp - 0x3bc]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x3bc]
mov byte [edx + 3], 0
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [ebp - 0x3b0]
mov dword [eax + 0x20], ecx
cmp dword [ebp - 0x3b0], 0
je 0x495a6c
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
jne 0x495a67
push 0x132c8
call fcn.004e1aa0
add esp, 4
mov dword [ebp - 8], eax
jmp 0x495a6c
jmp 0x4915b8
cmp dword [ebp - 8], 0
je 0x495a77
jmp 0x498d1f
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x28]
mov dword [ecx], edx
mov eax, dword [eax + 0x2c]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + edx*4]
mov eax, dword [edx + 0x28]
add eax, 1
mov ecx, dword [edx + 0x2c]
adc ecx, 0
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + 4]
mov esi, dword [ebp + 8]
mov esi, dword [esi + 0x38]
mov edx, dword [esi + edx*4]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], ecx
jmp case.0x4914fc.62
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 0x3cc], 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3e0]
mov edx, dword [ecx + 8]
shr edx, 1
and edx, 1
jne 0x495be9
lea eax, [ebp - 0x3cc]
push eax
mov ecx, dword [ebp - 0x3e0]
mov edx, dword [ecx + 0x14]
push edx
call fcn.0047ff70
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x495b62
jmp 0x498d1f
cmp dword [ebp - 0x3cc], 0
je 0x495b81
mov dword [ebp - 0x3d8], 1
mov dword [ebp - 0x3d4], 0
jmp 0x495be9
lea eax, [ebp - 0x3d8]
push eax
mov ecx, dword [ebp - 0x3e0]
mov edx, dword [ecx + 0x14]
push edx
call fcn.0047f4b0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x3d4], 0x7fffffff
jl 0x495bcb
jg 0x495bb4
cmp dword [ebp - 0x3d8], 0xffffffff
jb 0x495bcb
mov eax, dword [ebp - 0x3e0]
mov ecx, dword [eax + 8]
or ecx, 2
mov edx, dword [ebp - 0x3e0]
mov dword [edx + 8], ecx
jmp 0x495be9
mov eax, dword [ebp - 0x3d8]
add eax, 1
mov ecx, dword [ebp - 0x3d4]
adc ecx, 0
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3d4], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0xc], 0
je 0x495d1c
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb8], 0
je 0x495c4a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb8]
mov dword [ebp - 0x3c4], edx
jmp 0x495c22
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x3c4], ecx
mov edx, dword [ebp - 0x3c4]
cmp dword [edx + 4], 0
je 0x495c30
jmp 0x495c13
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x3c4]
add ecx, dword [edx + 0x10]
mov dword [ebp - 0x3c8], ecx
jmp 0x495c5c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c8], ecx
mov edx, dword [ebp - 0x3c8]
push edx
call fcn.00488430
add esp, 4
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x780], eax
mov ecx, dword [ebp - 0x780]
cmp dword [ecx], 0xffffffff
jne 0x495c91
mov edx, dword [ebp - 0x780]
cmp dword [edx + 4], 0x7fffffff
je 0x495ca1
mov eax, dword [ebp - 0x3e0]
mov ecx, dword [eax + 8]
shr ecx, 1
and ecx, 1
je 0x495cad
mov dword [ebp - 8], 0xd
jmp 0x498d1f
mov edx, dword [ebp - 0x3c8]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [edx + 4]
adc ecx, 0
mov dword [ebp - 0x788], eax
mov dword [ebp - 0x784], ecx
mov edx, dword [ebp - 0x3d4]
cmp edx, dword [ebp - 0x784]
jg 0x495d05
jl 0x495ce8
mov eax, dword [ebp - 0x3d8]
cmp eax, dword [ebp - 0x788]
jae 0x495d05
mov ecx, dword [ebp - 0x3c8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ecx + 4]
adc eax, 0
mov dword [ebp - 0x3d8], edx
mov dword [ebp - 0x3d4], eax
mov ecx, dword [ebp - 0x3c8]
mov edx, dword [ebp - 0x3d8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x3d4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x3e0]
mov edx, dword [ecx + 8]
shr edx, 1
and edx, 1
je 0x495e00
mov dword [ebp - 0x3dc], 0
lea eax, [ebp - 0x3d8]
push eax
push 8
call fcn.00466b50
add esp, 8
mov ecx, dword [ebp - 0x3d8]
mov edx, dword [ebp - 0x3d4]
and edx, 0x3fffffff
mov dword [ebp - 0x3d8], ecx
mov dword [ebp - 0x3d4], edx
mov eax, dword [ebp - 0x3d8]
add eax, 1
mov ecx, dword [ebp - 0x3d4]
adc ecx, 0
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3d4], ecx
lea edx, [ebp - 0x3cc]
push edx
push 0
mov eax, dword [ebp - 0x3d4]
push eax
mov ecx, dword [ebp - 0x3d8]
push ecx
push 0
mov edx, dword [ebp - 0x3e0]
mov eax, dword [edx + 0x14]
push eax
call fcn.00480010
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x495de0
cmp dword [ebp - 0x3cc], 0
jne 0x495de0
mov ecx, dword [ebp - 0x3dc]
add ecx, 1
mov dword [ebp - 0x3dc], ecx
cmp dword [ebp - 0x3dc], 0x64
jl 0x495d3a
cmp dword [ebp - 8], 0
je 0x495deb
jmp 0x498d1f
cmp dword [ebp - 0x3cc], 0
jne 0x495e00
mov dword [ebp - 8], 0xd
jmp 0x498d1f
mov edx, dword [ebp - 0x3e0]
mov byte [edx + 3], 0
mov eax, dword [ebp - 0x3e0]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3d8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x3d4]
mov dword [ecx + 4], eax
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x3e8], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x3fc], ecx
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx]
cmp eax, 0x4b
jne 0x495e8d
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x408], edx
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax]
mov dword [ebp - 0x3f8], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x3f4], edx
jmp 0x495ea0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
cdq
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 0x3f4], edx
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
and edx, 1
je 0x495ebb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], ecx
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
and ecx, 2
je 0x495ee8
mov edx, dword [ebp - 0x3f8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x3e8]
movzx edx, word [ecx + 8]
and edx, 1
je 0x495f11
mov eax, dword [ebp - 0x3e8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
and eax, 0x10
je 0x495f2e
mov ecx, dword [ebp - 0x3fc]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x78c], edx
jmp 0x495f38
mov dword [ebp - 0x78c], 0
mov eax, dword [ebp - 0x78c]
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x3e8]
movzx edx, word [ecx + 8]
and edx, 0x4000
je 0x495f66
mov eax, dword [ebp - 0x3e8]
mov ecx, dword [eax]
mov dword [ebp - 0x3e4], ecx
jmp 0x495f70
mov dword [ebp - 0x3e4], 0
mov edx, dword [ebp - 0x404]
push edx
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
and ecx, 8
neg ecx
sbb ecx, ecx
neg ecx
push ecx
mov edx, dword [ebp - 0x3e4]
push edx
mov eax, dword [ebp - 0x3e8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x3e8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x3f4]
push ecx
mov edx, dword [ebp - 0x3f8]
push edx
push 0
mov eax, dword [ebp - 0x3fc]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004844c0
add esp, 0x24
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x3fc]
mov byte [edx + 3], 0
mov eax, dword [ebp - 0x3fc]
mov dword [eax + 0x40], 0
cmp dword [ebp - 8], 0
je 0x495fea
jmp 0x498d1f
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xd8], 0
je 0x496080
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x10], 0
je 0x496080
mov eax, dword [ebp - 0x3fc]
movsx ecx, byte [eax + 1]
shl ecx, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x3ec], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x400], eax
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
and edx, 4
neg edx
sbb edx, edx
and edx, 5
add edx, 0x12
mov dword [ebp - 0x40c], edx
mov eax, dword [ebp - 0x3f4]
push eax
mov ecx, dword [ebp - 0x3f8]
push ecx
mov edx, dword [ebp - 0x400]
push edx
mov eax, dword [ebp - 0x3ec]
push eax
mov ecx, dword [ebp - 0x40c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xd4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xd8]
call edx
add esp, 0x18
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 0xd8], 0
je 0x4960c9
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x10], 0
je 0x4960c9
mov ecx, dword [ebp - 0x414]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x4960c9
mov dword [ebp - 0x790], 1
jmp 0x4960d3
mov dword [ebp - 0x790], 0
mov al, byte [ebp - 0x790]
mov byte [ebp - 0x40d], al
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
test edx, edx
je 0x496111
movzx eax, byte [ebp - 0x40d]
test eax, eax
je 0x496111
mov ecx, dword [ebp - 0x414]
add ecx, 0x30
push ecx
mov edx, dword [ebp - 0x414]
mov eax, dword [edx + 0x14]
push eax
call fcn.0047f4b0
add esp, 8
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
push edx
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004847e0
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x414]
mov dword [edx + 0x40], 0
cmp dword [ebp - 8], 0
je 0x496146
jmp 0x498d1f
movzx eax, byte [ebp - 0x40d]
test eax, eax
je 0x496197
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ecx + 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x414]
movsx ecx, byte [eax + 1]
shl ecx, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx]
push ecx
push 9
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xd4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xd8]
call edx
add esp, 0x18
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
and ecx, 1
je 0x4961b1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
jmp case.0x4914fc.62
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0048e830
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], 0
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call fcn.0049cfe0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496241
jmp 0x498d1f
cmp dword [ebp - 0x418], 0
je 0x49624f
jmp 0x4915b8
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x424]
push eax
call fcn.0049cf60
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496299
jmp 0x498d1f
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + edx*4]
mov dword [edx + 0x40], 0
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x43c], edx
mov eax, dword [ebp - 0x42c]
movzx ecx, byte [eax + 4]
test ecx, ecx
jne 0x49634f
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x43c]
push eax
call fcn.0047f4b0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x5c]
cdq
mov dword [ebp - 0x798], eax
mov dword [ebp - 0x794], edx
mov edx, dword [ebp - 0x434]
cmp edx, dword [ebp - 0x794]
jl 0x496341
jg 0x49633c
mov eax, dword [ebp - 0x438]
cmp eax, dword [ebp - 0x798]
jbe 0x496341
jmp 0x498e27
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 0x428], ecx
jmp 0x496378
lea edx, [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x43c]
push eax
call fcn.0047f4e0
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x428]
cmp edx, dword [ecx + 0x5c]
jbe 0x496378
jmp 0x498e27
cmp dword [ebp - 0x428], 0x20
jbe 0x49638f
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x79c], eax
jmp 0x496399
mov dword [ebp - 0x79c], 0x20
mov ecx, dword [ebp - 0x79c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00487d10
add esp, 8
test eax, eax
je 0x4963b5
jmp 0x498e44
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x428]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 8]
and eax, 0xffff3e00
or eax, 0x10
mov ecx, dword [ebp - 0x14]
mov word [ecx + 8], ax
mov edx, dword [ebp - 0x42c]
movzx eax, byte [edx + 4]
test eax, eax
jne 0x496409
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x428]
push eax
push 0
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.0047fa30
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x49642b
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x428]
push ecx
push 0
mov edx, dword [ebp - 0x43c]
push edx
call fcn.0047fa50
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496436
jmp 0x498d1f
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xa], 1
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x454], ecx
mov edx, dword [ebp - 0x454]
movzx eax, byte [edx + 2]
test eax, eax
je 0x49648e
mov ecx, 1
mov edx, dword [ebp - 0x14]
mov word [edx + 8], cx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x454]
movzx ecx, byte [eax + 3]
test ecx, ecx
je 0x4964b9
mov edx, dword [ebp - 0x454]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x448], eax
mov ecx, dword [edx + 0x34]
mov dword [ebp - 0x444], ecx
jmp 0x496580
mov edx, dword [ebp - 0x454]
movzx eax, byte [edx]
cmp eax, 2
jne 0x496528
mov ecx, dword [ebp - 0x454]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x450]
mov edx, dword [ecx]
mov dword [ebp - 0x44c], edx
lea eax, [ebp - 0x448]
push eax
mov ecx, dword [ebp - 0x454]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax + 0x30]
call ecx
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x450]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0048e960
add esp, 8
cmp dword [ebp - 8], 0
je 0x496526
jmp 0x498d1f
jmp 0x496580
mov ecx, dword [ebp - 0x454]
push ecx
call fcn.0048cc10
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496545
jmp 0x498d1f
mov edx, dword [ebp - 0x454]
movzx eax, byte [edx + 2]
test eax, eax
je 0x496564
mov ecx, 1
mov edx, dword [ebp - 0x14]
mov word [edx + 8], cx
jmp case.0x4914fc.62
lea eax, [ebp - 0x448]
push eax
mov ecx, dword [ebp - 0x454]
mov edx, dword [ecx + 0x14]
push edx
call fcn.0047f4b0
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x448]
mov dword [eax], ecx
mov edx, dword [ebp - 0x444]
mov dword [eax + 4], edx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x458], ecx
mov edx, dword [ebp - 0x458]
mov byte [edx + 2], 1
mov eax, dword [ebp - 0x458]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0x458]
movzx edx, byte [ecx]
test edx, edx
jne 0x4965e4
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.0047ad20
add esp, 4
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x464], edx
mov dword [ebp - 0x45c], 0
lea eax, [ebp - 0x45c]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
call fcn.0047ff70
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x460]
mov al, byte [ebp - 0x45c]
mov byte [edx + 2], al
mov ecx, dword [ebp - 0x460]
mov byte [ecx + 3], 0
mov edx, dword [ebp - 0x460]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x460]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x20], edx
cmp dword [ebp - 8], 0
je 0x496670
jmp 0x498d1f
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 8], 0
jle 0x496687
cmp dword [ebp - 0x45c], 0
je 0x496687
jmp 0x4915b8
jmp case.0x4914fc.62
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x7c]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + edx*4]
mov dword [ebp - 0x46c], edx
mov dword [ebp - 0x468], 1
mov eax, dword [ebp - 0x46c]
movzx ecx, byte [eax]
cmp ecx, 1
jne 0x4966e3
lea edx, [ebp - 0x468]
push edx
mov eax, dword [ebp - 0x46c]
push eax
call fcn.0049cd70
add esp, 8
mov dword [ebp - 8], eax
jmp 0x496722
mov ecx, dword [ebp - 0x46c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x470], edx
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x470]
push ecx
call fcn.0047ff20
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x46c]
mov byte [edx + 3], 0
mov eax, dword [ebp - 0x46c]
mov dword [eax + 0x40], 0
cmp dword [ebp - 8], 0
je 0x49672d
jmp 0x498d1f
mov ecx, dword [ebp - 0x46c]
mov dl, byte [ebp - 0x468]
mov byte [ecx + 2], dl
cmp dword [ebp - 0x468], 0
je 0x49674a
jmp 0x4915b8
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x474], 0
lea edx, [ebp - 0x474]
push edx
mov eax, dword [ebp - 0x478]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0049ce20
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x4967e4
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
cmp dword [edx + eax*4], 0
jne case.0x4914fc.6
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x478], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x474], eax
lea ecx, [ebp - 0x474]
push ecx
mov edx, dword [ebp - 0x478]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
call edx
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x478]
mov dword [eax + 0x40], 0
cmp dword [ebp - 8], 0
je 0x4967fc
jmp 0x498d1f
cmp dword [ebp - 0x474], 0
jne 0x496835
mov ecx, dword [ebp - 0x478]
mov byte [ecx + 2], 0
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x74]
add edx, 1
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
mov eax, dword [ebp + 8]
mov dword [eax + ecx*4 + 0x74], edx
jmp case.0x4914fc.13
mov ecx, dword [ebp - 0x478]
mov byte [ecx + 2], 1
jmp 0x491515
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
and ecx, 1
je 0x496883
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 8]
and eax, 0x4000
je 0x4968a5
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00487e30
add esp, 4
mov dword [ebp - 0x7a0], eax
jmp 0x4968af
mov dword [ebp - 0x7a0], 0
mov edx, dword [ebp - 0x7a0]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x4968c3
jmp 0x498d1f
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax]
cmp ecx, 0x6d
jne 0x4968e9
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x484]
push eax
call fcn.0049bb60
add esp, 8
mov dword [ebp - 8], eax
jmp 0x496971
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x480], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x47c], ecx
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
and eax, 0x10
je 0x49691e
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x7a4], edx
jmp 0x496928
mov dword [ebp - 0x7a4], 0
mov eax, dword [ebp - 0x7a4]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
push edx
push 0
push 0
push 0x5ca55e
mov eax, dword [ebp - 0x480]
cdq
push edx
push eax
mov eax, dword [ebp - 0x47c]
push eax
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx + 0x14]
push edx
call fcn.004844c0
add esp, 0x24
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x484]
mov dword [eax + 0x40], 0
cmp dword [ebp - 8], 0
je 0x49697c
jmp 0x498d1f
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + edx*4]
mov dword [ebp - 0x48c], edx
mov eax, dword [ebp - 0x48c]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x4a0], ecx
mov edx, dword [ebp - 0x48c]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x2c]
mov dx, word [ecx + 0xc]
mov word [ebp - 0x494], dx
mov byte [ebp - 0x492], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x498], ecx
lea edx, [ebp - 0x488]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x49c]
push eax
mov ecx, dword [ebp - 0x4a0]
push ecx
call fcn.00480010
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496a0c
jmp 0x498d1f
cmp dword [ebp - 0x488], 0
jne 0x496a34
push 4
mov edx, dword [ebp - 0x4a0]
push edx
call fcn.004847e0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496a34
jmp 0x498d1f
mov eax, dword [ebp - 0x48c]
mov dword [eax + 0x40], 0
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + edx*4]
mov dword [ebp - 0x4b0], edx
mov eax, dword [ebp - 0x4b0]
push eax
call fcn.0048cc10
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496a78
jmp 0x498d1f
mov ecx, dword [ebp - 0x4b0]
movzx edx, byte [ecx + 2]
test edx, edx
jne 0x496b6a
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
lea eax, [ebp - 0x4a8]
push eax
mov ecx, dword [ebp - 0x4b0]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0048e5f0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496ac9
jmp 0x498d1f
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx]
cmp edx, 0x70
jne 0x496b35
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x4ac], ecx
mov edx, dword [ebp - 0x4ac]
mov byte [edx + 2], 0
mov eax, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4a8]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 0x4a4]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x4ac]
mov byte [eax + 3], 1
mov ecx, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4b0]
mov dword [ecx + 0x38], edx
jmp 0x496b68
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4a8]
mov dword [edx], eax
mov ecx, dword [ebp - 0x4a4]
mov dword [edx + 4], ecx
mov edx, 4
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
jmp 0x496b7f
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
push edx
call fcn.00488680
add esp, 4
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x4b8], ecx
mov edx, dword [ebp - 0x4b8]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x4c8], eax
mov ecx, dword [ebp - 0x2c]
mov dx, word [ecx + 0x10]
mov word [ebp - 0x4c0], dx
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax]
cmp ecx, 0x74
jge 0x496bca
mov byte [ebp - 0x4be], 0xff
jmp 0x496bd1
mov byte [ebp - 0x4be], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4b4], 0
lea ecx, [ebp - 0x4b4]
push ecx
lea edx, [ebp - 0x4c8]
push edx
mov eax, dword [ebp - 0x4b8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0048e760
add esp, 0x10
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx]
and eax, 1
jne 0x496c2c
mov ecx, dword [ebp - 0x4b4]
neg ecx
mov dword [ebp - 0x4b4], ecx
jmp 0x496c3b
mov edx, dword [ebp - 0x4b4]
add edx, 1
mov dword [ebp - 0x4b4], edx
cmp dword [ebp - 8], 0
je 0x496c46
jmp 0x498d1f
cmp dword [ebp - 0x4b4], 0
jle 0x496c54
jmp 0x4915b8
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, 1
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
add edx, 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], edx
jle 0x496ca7
mov dword [ebp - 8], 6
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x56], 2
jmp 0x498d1f
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x4d0], eax
mov dword [ebp - 0x4cc], 0
lea ecx, [ebp - 0x4cc]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x4d0]
shl ecx, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx + 4]
push ecx
call fcn.00485360
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, 4
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
mov eax, dword [ebp - 0x4cc]
cdq
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp dword [ebp - 8], 0
je 0x496d10
jmp 0x498d1f
cmp dword [ebp - 0x4cc], 0
je 0x496d46
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x4cc]
push ecx
mov edx, dword [ebp - 0x4d0]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004ad380
add esp, 0x10
mov ecx, dword [ebp - 0x4d0]
add ecx, 1
mov byte [ebp - 0x22], cl
jmp case.0x4914fc.62
mov dword [ebp - 0x4d4], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x4d4]
and eax, ecx
push eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.00485090
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0xc], 0
je 0x496de1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x64]
add edx, dword [ebp - 0x4d4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], edx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0xc], 0
jle 0x496de1
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0xc]
imul ecx, ecx, 0x28
mov eax, dword [ebp - 0x4d4]
cdq
mov esi, dword [ebp - 0x30]
add eax, dword [esi + ecx]
mov ecx, dword [esi + ecx + 4]
adc ecx, edx
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + 0xc]
imul edx, edx, 0x28
mov esi, dword [ebp - 0x30]
mov dword [esi + edx], eax
mov dword [esi + edx + 4], ecx
cmp dword [ebp - 8], 0
je 0x496dec
jmp 0x498d1f
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x4d8], ecx
mov edx, dword [ebp - 0x4d8]
movzx eax, byte [edx]
cmp eax, 1
jne 0x496e2c
mov ecx, dword [ebp - 0x4d8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0049adb0
add esp, 8
jmp 0x496e4c
mov ecx, dword [ebp - 0x4d8]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00485110
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496e4c
jmp 0x498d1f
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4e0], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
shl eax, 4
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x4e4], eax
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx]
cmp eax, 0x7a
jne 0x496e9a
mov dword [ebp - 0x4dc], 1
jmp 0x496ea4
mov dword [ebp - 0x4dc], 2
mov ecx, dword [ebp - 0x4dc]
push ecx
lea edx, [ebp - 0x4e0]
push edx
mov eax, dword [ebp - 0x4e4]
mov ecx, dword [eax + 4]
push ecx
call fcn.00484e60
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496ed2
jmp 0x498d1f
mov eax, dword [ebp - 0x4e0]
cdq
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x500], eax
mov ecx, 1
test ecx, ecx
je 0x496f10
cmp dword [ebp - 0x500], 1
jne 0x496f10
mov dword [ebp - 0x7a8], 0x5c1668
jmp 0x496f1a
mov dword [ebp - 0x7a8], 0x5c167c
mov edx, dword [ebp - 0x7a8]
mov dword [ebp - 0x4e8], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x4f8], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x4f0], edx
mov eax, dword [ebp + 8]
add eax, 0x2c
mov dword [ebp - 0x4f4], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x4e8]
push eax
mov ecx, dword [ebp - 0x500]
shl ecx, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx]
push ecx
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
mov edx, dword [ebp - 4]
push edx
call fcn.004668e0
add esp, 0x14
mov dword [ebp - 0x4fc], eax
cmp dword [ebp - 0x4fc], 0
jne 0x496f91
mov dword [ebp - 8], 7
jmp 0x496ff5
mov eax, dword [ebp - 4]
mov byte [eax + 0x95], 1
mov dword [ebp - 0x4ec], 0
push 0
lea ecx, [ebp - 0x4f8]
push ecx
push fcn.004bed70
mov edx, dword [ebp - 0x4fc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004ba7f0
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x496fd8
mov ecx, dword [ebp - 0x4ec]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x4fc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00464260
add esp, 8
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x95], 0
cmp dword [ebp - 8], 0
je 0x497017
mov edx, dword [ebp - 4]
push edx
call fcn.004aa830
add esp, 4
cmp dword [ebp - 8], 7
jne 0x497012
jmp 0x498e44
jmp 0x498d1f
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004a8a90
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49703d
jmp 0x498d1f
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004aaab0
add esp, 0xc
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004aa610
add esp, 0xc
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004c9c30
add esp, 0xc
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x510], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x50c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x504]
push edx
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x510]
push edx
mov eax, dword [ebp - 0x508]
push eax
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.00486370
add esp, 0x14
mov dword [ebp - 0x514], eax
mov eax, dword [ebp - 0x504]
cdq
mov ecx, dword [ebp - 0x50c]
mov esi, dword [ecx]
sub esi, eax
mov eax, dword [ecx + 4]
sbb eax, edx
mov ecx, dword [ebp - 0x50c]
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x34]
push edx
call fcn.00488680
add esp, 4
cmp dword [ebp - 0x504], 0
jne 0x497151
jmp 0x49717d
cmp dword [ebp - 0x514], 0
jne 0x497161
jmp 0x498e44
push fcn.004641b0
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x514]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00488a60
add esp, 0x14
movzx edx, byte [ebp - 0x21]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00487b50
add esp, 8
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 8]
and eax, 0x20
jne 0x4971da
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004887e0
add esp, 4
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 8]
and eax, 0x20
jne 0x4971da
jmp 0x498e44
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
call fcn.004705a0
add esp, 0xc
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 8]
and eax, 0x20
je 0x49722b
lea ecx, [ebp - 0x520]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
push eax
call fcn.00470a10
add esp, 8
test eax, eax
jne 0x49723e
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00488680
add esp, 4
jmp case.0x4914fc.13
mov edx, dword [ebp - 0x51c]
push edx
mov eax, dword [ebp - 0x520]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
push edx
call fcn.00488750
add esp, 0xc
jmp 0x491515
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x528], edx
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax + 8]
and ecx, 0x20
jne 0x4972b9
mov edx, dword [ebp - 0x34]
push edx
call fcn.004887e0
add esp, 4
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax + 8]
and ecx, 0x20
jne 0x4972b9
jmp 0x498e44
cmp dword [ebp - 0x528], 0
je 0x4972f5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx]
push ecx
mov edx, dword [ebp - 0x528]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push ecx
call fcn.00470a80
add esp, 0x10
mov dword [ebp - 0x524], eax
cmp dword [ebp - 0x524], 0
je 0x4972f5
jmp 0x4915b8
cmp dword [ebp - 0x528], 0
jl 0x497316
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
push eax
call fcn.004705a0
add esp, 0xc
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x53c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x548], ecx
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
test eax, eax
je 0x49739d
mov ecx, dword [ebp - 0x53c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x544], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb8]
mov dword [ebp - 0x52c], ecx
jmp 0x497373
mov edx, dword [ebp - 0x52c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x52c], eax
cmp dword [ebp - 0x52c], 0
je 0x49738f
mov ecx, dword [ebp - 0x52c]
mov edx, dword [ecx + 0x1c]
cmp edx, dword [ebp - 0x544]
je 0x49738f
jmp 0x497364
cmp dword [ebp - 0x52c], 0
je 0x49739d
jmp case.0x4914fc.62
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0xc0]
cmp edx, dword [ecx + 0x84]
jl 0x4973ce
mov dword [ebp - 8], 1
push str.too_many_levels_of_trigger_recursion
mov eax, dword [ebp + 8]
push eax
call fcn.004895b0
add esp, 8
jmp 0x498d1f
mov ecx, dword [ebp - 0x548]
movzx edx, word [ecx + 8]
and edx, 0x40
jne 0x4975ca
mov eax, dword [ebp - 0x53c]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x53c]
add ecx, dword [edx + 0xc]
mov dword [ebp - 0x540], ecx
mov eax, dword [ebp - 0x53c]
cmp dword [eax + 0xc], 0
jne 0x497414
mov ecx, dword [ebp - 0x540]
add ecx, 1
mov dword [ebp - 0x540], ecx
mov edx, dword [ebp - 0x540]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x53c]
mov ecx, dword [eax + 0xc]
lea edx, [edx + ecx*4 + 0x50]
mov eax, dword [ebp - 0x53c]
add edx, dword [eax + 0x10]
mov dword [ebp - 0x538], edx
mov eax, dword [ebp - 0x538]
cdq
push edx
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00464550
add esp, 0xc
mov dword [ebp - 0x52c], eax
cmp dword [ebp - 0x52c], 0
jne 0x497462
jmp 0x498e44
mov edx, dword [ebp - 0x548]
push edx
call fcn.00488230
add esp, 4
mov eax, 0x40
mov ecx, dword [ebp - 0x548]
mov word [ecx + 8], ax
mov edx, dword [ebp - 0x548]
mov eax, dword [ebp - 0x52c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x52c]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp - 0x540]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x53c]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
mov edx, dword [ebp - 0x52c]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp - 0x53c]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd0]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xcc]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x52c]
mov ecx, dword [eax + 0x40]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x52c]
lea eax, [edx + ecx + 0x50]
mov dword [ebp - 0x534], eax
mov ecx, dword [ebp - 0x52c]
add ecx, 0x50
mov dword [ebp - 0x530], ecx
jmp 0x49759d
mov edx, dword [ebp - 0x530]
add edx, 0x28
mov dword [ebp - 0x530], edx
mov eax, dword [ebp - 0x530]
cmp eax, dword [ebp - 0x534]
je 0x4975c8
mov ecx, 0x80
mov edx, dword [ebp - 0x530]
mov word [edx + 8], cx
mov eax, dword [ebp - 0x530]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x20], ecx
jmp 0x49758e
jmp 0x4975d8
mov edx, dword [ebp - 0x548]
mov eax, dword [edx]
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc0]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0xc0], edx
mov ecx, dword [ebp - 0x52c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb8]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x52c]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x52c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x48], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x52c]
mov ecx, dword [edx + 0x54]
mov dword [eax + 0x4c], ecx
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x52c]
mov dword [ecx + 0xb8], edx
mov eax, dword [ebp - 0x52c]
add eax, 0x50
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x52c]
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x52c]
movzx ecx, word [eax + 0x44]
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 0x53c]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x53c]
mov eax, dword [edx + 4]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
lea edx, [ecx + edx*4]
mov eax, dword [ebp + 8]
mov dword [eax + 0xd0], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x53c]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xcc], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 0x14
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xcc]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd0]
push edx
call fcn.0053f680
add esp, 0xc
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb8]
mov dword [ebp - 0x54c], eax
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x30]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
add eax, dword [ecx + edx + 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x54c]
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x550], eax
push 0x1000
mov edx, dword [ebp - 0x550]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00488900
add esp, 0xc
jmp case.0x4914fc.62
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
and edx, 0x1000000
je 0x4977cf
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
cdq
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x1c0]
mov ecx, dword [ecx + 0x1c4]
adc ecx, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c0], eax
mov dword [edx + 0x1c4], ecx
jmp 0x497828
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0
je 0x497801
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 8]
cdq
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x1b8]
mov ecx, dword [ecx + 0x1bc]
adc ecx, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x1b8], eax
mov dword [edx + 0x1bc], ecx
jmp 0x497828
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
cdq
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x98]
mov ecx, dword [ecx + 0x9c]
adc ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx + 0x98], eax
mov dword [edx + 0x9c], ecx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0
je 0x497883
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x7ac], ecx
mov edx, dword [ebp - 0x7ac]
mov eax, dword [ebp - 0x7ac]
mov ecx, dword [edx + 0x1b8]
or ecx, dword [eax + 0x1bc]
jne 0x497881
mov edx, dword [ebp - 4]
mov dword [ebp - 0x7b0], edx
mov eax, dword [ebp - 0x7b0]
mov ecx, dword [ebp - 0x7b0]
mov edx, dword [eax + 0x1c0]
or edx, dword [ecx + 0x1c4]
jne 0x497881
jmp 0x4915b8
jmp 0x4978ce
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7b4], eax
mov ecx, dword [ebp - 0x7b4]
mov edx, dword [ebp - 0x7b4]
mov eax, dword [ecx + 0x98]
or eax, dword [edx + 0x9c]
jne 0x4978ce
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x7b8], ecx
mov edx, dword [ebp - 0x7b8]
mov eax, dword [ebp - 0x7b8]
mov ecx, dword [edx + 0x1c0]
or ecx, dword [eax + 0x1c4]
jne 0x4978ce
jmp 0x4915b8
jmp case.0x4914fc.62
mov edx, dword [ebp + 8]
cmp dword [edx + 0xb8], 0
je 0x497924
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb8]
mov dword [ebp - 0x554], ecx
jmp 0x4978ff
mov edx, dword [ebp - 0x554]
mov eax, dword [edx + 4]
mov dword [ebp - 0x554], eax
mov ecx, dword [ebp - 0x554]
cmp dword [ecx + 4], 0
je 0x49790d
jmp 0x4978f0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x554]
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
jmp 0x497933
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00488430
add esp, 4
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00488430
add esp, 4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x7bc], edx
mov dword [ebp - 0x7c0], eax
mov ecx, dword [ebp - 0x7bc]
mov edx, dword [ebp - 0x7c0]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jg 0x4979a4
jl 0x497994
mov ecx, dword [ebp - 0x7bc]
mov edx, dword [ebp - 0x7c0]
mov eax, dword [ecx]
cmp eax, dword [edx]
jae 0x4979a4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ecx], eax
mov edx, dword [edx + 4]
mov dword [ecx + 4], edx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x7c4], edx
mov eax, dword [ebp - 0x7c4]
cmp dword [eax + 4], 0
jl 0x4979fa
jg 0x4979da
mov ecx, dword [ebp - 0x7c4]
cmp dword [ecx], 0
jbe 0x4979fa
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
cdq
mov ecx, dword [ebp - 0x34]
mov esi, dword [ecx]
sub esi, eax
mov eax, dword [ecx + 4]
sbb eax, edx
mov ecx, dword [ebp - 0x34]
mov dword [ecx], esi
mov dword [ecx + 4], eax
jmp 0x4915b8
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x7c8], edx
mov eax, dword [ebp - 0x7c8]
cmp dword [eax + 4], 0
jg 0x497a68
jl 0x497a52
mov ecx, dword [ebp - 0x7c8]
cmp dword [ecx], 0
ja 0x497a68
mov dword [ebp - 0x7d0], 0xffffffff
mov dword [ebp - 0x7cc], 0xffffffff
jmp 0x497ad4
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x7d4], edx
mov eax, dword [ebp - 0x7d4]
cmp dword [eax + 4], 0
jl 0x497aa0
jg 0x497a8a
mov ecx, dword [ebp - 0x7d4]
cmp dword [ecx], 0
jbe 0x497aa0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x7dc], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x7d8], ecx
jmp 0x497ab4
mov dword [ebp - 0x7dc], 0
mov dword [ebp - 0x7d8], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
add eax, dword [ebp - 0x7dc]
mov ecx, dword [edx + 4]
adc ecx, dword [ebp - 0x7d8]
mov dword [ebp - 0x7d0], eax
mov dword [ebp - 0x7cc], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x7d0]
mov dword [edx], eax
mov ecx, dword [ebp - 0x7cc]
mov dword [edx + 4], ecx
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x7e0], ecx
mov edx, dword [ebp - 0x7e0]
mov eax, dword [ebp - 0x7e0]
mov ecx, dword [edx]
or ecx, dword [eax + 4]
je 0x497b38
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
cdq
mov ecx, dword [ebp - 0x34]
mov esi, dword [ecx]
sub esi, eax
mov eax, dword [ecx + 4]
sbb eax, edx
mov ecx, dword [ebp - 0x34]
mov dword [ecx], esi
mov dword [ecx + 4], eax
jmp 0x4915b8
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
sub edx, 1
mov eax, dword [ecx + 4]
sbb eax, 0
mov ecx, dword [ebp - 0x34]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x7e4], edx
mov eax, dword [ebp - 0x7e4]
mov ecx, dword [ebp - 0x7e4]
mov edx, dword [eax]
or edx, dword [ecx + 4]
jne 0x497b83
jmp 0x4915b8
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x34]
mov esi, dword [edx]
add esi, 1
mov edx, dword [edx + 4]
adc edx, 0
mov edi, dword [ebp - 0x34]
mov dword [edi], esi
mov dword [edi + 4], edx
mov dword [ebp - 0x7ec], eax
mov dword [ebp - 0x7e8], ecx
mov eax, dword [ebp - 0x7ec]
or eax, dword [ebp - 0x7e8]
jne 0x497bd4
jmp 0x4915b8
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
mov dword [ebp - 0x55c], edx
mov eax, dword [ebp - 0x55c]
lea ecx, [eax*4 + 0x1c]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.00464600
add esp, 0xc
mov dword [ebp - 0x558], eax
cmp dword [ebp - 0x558], 0
jne 0x497c17
jmp 0x498e44
mov ecx, dword [ebp - 0x558]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x558]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
mov edx, dword [ebp - 0x558]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x558]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x558]
mov al, byte [ebp - 0x55c]
mov byte [edx + 0x1a], al
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 1], 0xec
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x558]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], 0x90
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x564], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x560], edx
mov eax, dword [ebp - 0x564]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x560]
je 0x497d0d
mov edx, dword [ebp - 0x564]
mov eax, dword [ebp - 0x560]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x564]
movzx edx, byte [ecx + 0x1a]
sub edx, 1
mov dword [ebp - 0x568], edx
jmp 0x497ce0
mov eax, dword [ebp - 0x568]
sub eax, 1
mov dword [ebp - 0x568], eax
cmp dword [ebp - 0x568], 0
jl 0x497d0d
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
add edx, dword [ebp - 0x568]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x568]
mov ecx, dword [ebp - 0x564]
mov dword [ecx + eax*4 + 0x1c], edx
jmp 0x497cd1
mov edx, dword [ebp - 0x560]
mov eax, dword [edx + 0xc]
add eax, 1
mov ecx, dword [ebp - 0x560]
mov dword [ecx + 0xc], eax
push 1
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x590]
push eax
call fcn.00488650
add esp, 0xc
mov ecx, dword [ebp - 0x564]
lea edx, [ebp - 0x590]
mov dword [ecx], edx
mov eax, dword [ebp - 0x564]
mov byte [eax + 0x19], 0
mov ecx, dword [ebp - 0x564]
mov byte [ecx + 0x18], 0
mov edx, dword [ebp - 0x564]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0x564]
movzx ecx, byte [eax + 0x1a]
push ecx
mov edx, dword [ebp - 0x564]
push edx
mov eax, dword [ebp - 0x564]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xc]
call edx
add esp, 0xc
mov eax, dword [ebp - 0x564]
movzx ecx, byte [eax + 0x19]
test ecx, ecx
je 0x497de7
mov edx, dword [ebp - 0x564]
cmp dword [edx + 0x14], 0
je 0x497dcd
lea eax, [ebp - 0x590]
push eax
call fcn.0048ee40
add esp, 4
push eax
push 0x5c16f8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004895b0
add esp, 0xc
mov edx, dword [ebp - 0x564]
mov eax, dword [edx + 0x14]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x590]
push ecx
call fcn.00488230
add esp, 4
cmp dword [ebp - 8], 0
je 0x497de7
jmp 0x498d1f
mov edx, dword [ebp - 0x564]
movzx eax, byte [edx + 0x18]
test eax, eax
je 0x497e23
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx - 0x10]
mov dword [ebp - 0x568], edx
cmp dword [ebp - 0x568], 0
je 0x497e23
push 0
push 1
mov eax, dword [ebp - 0x568]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
push eax
call fcn.00488750
add esp, 0xc
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x594], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x594]
push edx
call fcn.00488050
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x497e7f
mov eax, dword [ebp - 0x594]
push eax
call fcn.0048ee40
add esp, 4
push eax
push 0x5c16fc
mov ecx, dword [ebp + 8]
push ecx
call fcn.004895b0
add esp, 0xc
jmp 0x498d1f
movzx edx, byte [ebp - 0x21]
push edx
mov eax, dword [ebp - 0x594]
push eax
call fcn.00487b50
add esp, 8
mov ecx, dword [ebp - 0x594]
push ecx
call fcn.00488880
add esp, 4
test eax, eax
je 0x497eab
jmp 0x498e27
jmp case.0x4914fc.62
mov dword [ebp - 0x5a4], 0
mov dword [ebp - 0x59c], 0xffffffff
mov edx, dword [ebp - 0x59c]
mov dword [ebp - 0x5a0], edx
lea eax, [ebp - 0x59c]
push eax
lea ecx, [ebp - 0x5a0]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004e0640
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x497f1d
cmp dword [ebp - 8], 5
je 0x497f0c
jmp 0x498d1f
mov dword [ebp - 8], 0
mov dword [ebp - 0x5a4], 1
mov dword [ebp - 0x5a8], 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x598], edx
jmp 0x497f59
mov eax, dword [ebp - 0x5a8]
add eax, 1
mov dword [ebp - 0x5a8], eax
mov ecx, dword [ebp - 0x598]
add ecx, 0x28
mov dword [ebp - 0x598], ecx
cmp dword [ebp - 0x5a8], 3
jge 0x497f83
mov edx, dword [ebp - 0x5a8]
mov eax, dword [ebp + edx*4 - 0x5a4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x598]
push eax
call fcn.00488750
add esp, 0xc
jmp 0x497f3b
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x5bc], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
shl eax, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax + 4]
mov dword [ebp - 0x5ac], eax
mov ecx, dword [ebp - 0x5ac]
push ecx
call fcn.00485650
add esp, 4
mov dword [ebp - 0x5b4], eax
mov edx, dword [ebp - 0x5b4]
push edx
call fcn.00476c00
add esp, 4
mov dword [ebp - 0x5b8], eax
cmp dword [ebp - 0x5bc], 0xffffffff
jne 0x497fff
mov eax, dword [ebp - 0x5b8]
mov dword [ebp - 0x5bc], eax
mov ecx, dword [ebp - 0x5b4]
push ecx
call fcn.00476c10
add esp, 4
test eax, eax
jne 0x49801e
mov edx, dword [ebp - 0x5b8]
mov dword [ebp - 0x5bc], edx
push 1
mov eax, dword [ebp - 0x5b4]
push eax
call fcn.004767c0
add esp, 8
mov dword [ebp - 0x5b0], eax
cmp dword [ebp - 0x5bc], 5
jne 0x498070
mov ecx, dword [ebp - 0x5b0]
push ecx
call fcn.00467c90
add esp, 4
test eax, eax
je 0x498064
mov edx, dword [ebp - 0x5b4]
push edx
call fcn.00476db0
add esp, 4
test eax, eax
jne 0x498070
mov eax, dword [ebp - 0x5b8]
mov dword [ebp - 0x5bc], eax
mov ecx, dword [ebp - 0x5bc]
cmp ecx, dword [ebp - 0x5b8]
je 0x49816f
cmp dword [ebp - 0x5b8], 5
je 0x498098
cmp dword [ebp - 0x5bc], 5
jne 0x49816f
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x43]
test eax, eax
je 0x4980af
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x9c], 1
jle 0x4980f4
mov dword [ebp - 8], 1
cmp dword [ebp - 0x5bc], 5
jne 0x4980cb
mov dword [ebp - 0x7f0], str.into
jmp 0x4980d5
mov dword [ebp - 0x7f0], str.out_of
mov edx, dword [ebp - 0x7f0]
push edx
push str.cannot_change__s_wal_mode_from_within_a_transaction
mov eax, dword [ebp + 8]
push eax
call fcn.004895b0
add esp, 0xc
jmp 0x498d1f
cmp dword [ebp - 0x5b8], 5
jne 0x49812d
mov ecx, dword [ebp - 0x5b4]
push ecx
call fcn.00476f50
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x49812b
mov edx, dword [ebp - 0x5bc]
push edx
mov eax, dword [ebp - 0x5b4]
push eax
call fcn.00476aa0
add esp, 8
jmp 0x498147
cmp dword [ebp - 0x5b8], 4
jne 0x498147
push 2
mov ecx, dword [ebp - 0x5b4]
push ecx
call fcn.00476aa0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x49816f
xor edx, edx
cmp dword [ebp - 0x5bc], 5
sete dl
add edx, 1
push edx
mov eax, dword [ebp - 0x5ac]
push eax
call fcn.00486a40
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x498181
mov ecx, dword [ebp - 0x5b8]
mov dword [ebp - 0x5bc], ecx
mov edx, dword [ebp - 0x5bc]
push edx
mov eax, dword [ebp - 0x5b4]
push eax
call fcn.00476aa0
add esp, 8
mov dword [ebp - 0x5bc], eax
mov ecx, 0xa02
mov edx, dword [ebp - 0x14]
mov word [edx + 8], cx
mov eax, dword [ebp - 0x5bc]
push eax
call fcn.004bb8f0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
call fcn.00467c90
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x14]
mov byte [edx + 0xa], 1
movzx eax, byte [ebp - 0x21]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00487b50
add esp, 8
cmp dword [ebp - 8], 0
je 0x4981f6
jmp 0x498d1f
jmp case.0x4914fc.62
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
add eax, 0x2c
push eax
call fcn.004cc100
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49821c
jmp 0x498d1f
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 4]
mov dword [ebp - 0x5c0], edx
mov eax, dword [ebp - 0x5c0]
push eax
call fcn.0047e930
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x498269
cmp dword [ebp - 8], 0x65
je 0x49825d
jmp 0x498d1f
mov dword [ebp - 8], 0
jmp 0x4915b8
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0
jne 0x498285
mov edx, dword [ebp - 4]
push edx
call fcn.0048e870
add esp, 4
jmp 0x498294
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
or ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x58], ecx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0xc]
mov byte [ebp - 0x5c1], cl
movzx edx, byte [ebp - 0x5c1]
test edx, edx
jne 0x4982be
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
and ecx, 0x4000
jne 0x498335
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x5c8], eax
movzx ecx, byte [ebp - 0x5c1]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x5c8]
shl ecx, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx + 4]
push ecx
call fcn.00486900
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x498335
mov edx, dword [ebp - 8]
and edx, 0xff
cmp edx, 6
jne 0x498330
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x5cc], ecx
mov edx, dword [ebp - 0x5cc]
push edx
push str.database_table_is_locked:__s
mov eax, dword [ebp + 8]
push eax
call fcn.004895b0
add esp, 0xc
jmp 0x498d1f
jmp case.0x4914fc.62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x5d0], edx
mov eax, dword [ebp - 0x5d0]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004cdac0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x5d0], 0
je 0x49837b
mov edx, dword [ebp - 0x5d0]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048e960
add esp, 8
cmp dword [ebp - 8], 0
je 0x498386
jmp 0x498d1f
jmp case.0x4914fc.62
xor edx, edx
mov dword [ebp - 0x600], edx
mov dword [ebp - 0x5fc], edx
mov dword [ebp - 0x5f8], edx
mov dword [ebp - 0x5f4], edx
mov dword [ebp - 0x5f0], edx
mov dword [ebp - 0x5ec], edx
mov dword [ebp - 0x5e8], edx
mov dword [ebp - 0x5e4], edx
mov dword [ebp - 0x5e0], edx
mov dword [ebp - 0x5dc], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5e0], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x600]
push eax
call fcn.00488980
add esp, 8
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x600]
push ecx
call fcn.0048ee40
add esp, 4
mov dword [ebp - 0x5d4], eax
cmp dword [ebp - 0x5d4], 0
je 0x498433
mov edx, dword [ebp + 8]
add edx, 0x2c
push edx
mov eax, dword [ebp - 0x5d4]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004cd4e0
add esp, 0x10
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x600]
push ecx
call fcn.00488230
add esp, 4
cmp dword [ebp - 8], 0
je 0x49844d
jmp 0x498d1f
jmp case.0x4914fc.62
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa8]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004cd820
add esp, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
sub edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xa8], edx
cmp dword [ebp - 8], 0
je 0x4984a4
jmp 0x498d1f
jmp case.0x4914fc.62
mov dword [ebp - 0x610], 0
mov dword [ebp - 0x60c], 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x608], eax
cmp dword [ebp - 0x608], 0
je 0x4984e0
mov ecx, dword [ebp - 0x608]
cmp dword [ecx], 0
jne 0x4984ec
mov dword [ebp - 8], 6
jmp 0x498d1f
mov edx, dword [ebp - 0x608]
mov eax, dword [edx]
mov dword [ebp - 0x604], eax
lea ecx, [ebp - 0x60c]
push ecx
mov edx, dword [ebp - 0x608]
push edx
mov eax, dword [ebp - 0x604]
mov ecx, dword [eax + 0x18]
call ecx
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x608]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0048e960
add esp, 8
cmp dword [ebp - 8], 0
je 0x498537
jmp 0x498d1f
mov ecx, dword [ebp - 0x60c]
mov edx, dword [ebp - 0x608]
mov dword [ecx], edx
push 2
push 0xffffffffffffffff
push 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00490f70
add esp, 0x14
mov dword [ebp - 0x610], eax
cmp dword [ebp - 0x610], 0
je 0x498593
mov eax, dword [ebp - 0x610]
mov ecx, dword [ebp - 0x60c]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x608]
mov eax, dword [edx + 4]
add eax, 1
mov ecx, dword [ebp - 0x608]
mov dword [ecx + 4], eax
jmp 0x4985ad
mov edx, dword [ebp - 0x60c]
push edx
mov eax, dword [ebp - 0x604]
mov ecx, dword [eax + 0x1c]
call ecx
add esp, 4
jmp 0x498e44
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x618], eax
mov ecx, dword [ebp - 0x618]
add ecx, 0x28
mov dword [ebp - 0x630], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x634], eax
mov ecx, dword [ebp - 0x634]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x62c], edx
mov eax, dword [ebp - 0x62c]
mov ecx, dword [eax]
mov dword [ebp - 0x628], ecx
mov edx, dword [ebp - 0x628]
mov eax, dword [edx]
mov dword [ebp - 0x61c], eax
mov ecx, dword [ebp - 0x630]
mov edx, dword [ecx]
mov dword [ebp - 0x63c], edx
mov eax, dword [ebp - 0x618]
mov ecx, dword [eax]
mov dword [ebp - 0x638], ecx
mov dword [ebp - 0x614], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x624], eax
mov dword [ebp - 0x620], 0
jmp 0x498660
mov ecx, dword [ebp - 0x620]
add ecx, 1
mov dword [ebp - 0x620], ecx
mov edx, dword [ebp - 0x620]
cmp edx, dword [ebp - 0x63c]
jge 0x498691
mov eax, dword [ebp - 0x620]
add eax, 1
imul eax, eax, 0x28
add eax, dword [ebp - 0x630]
mov ecx, dword [ebp - 0x620]
mov edx, dword [ebp - 0x624]
mov dword [edx + ecx*4], eax
jmp 0x498651
mov eax, dword [ebp - 0x624]
push eax
mov ecx, dword [ebp - 0x63c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x638]
push ecx
mov edx, dword [ebp - 0x62c]
push edx
mov eax, dword [ebp - 0x61c]
mov ecx, dword [eax + 0x20]
call ecx
add esp, 0x14
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x628]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0048e960
add esp, 8
cmp dword [ebp - 8], 0
je 0x4986e3
jmp 0x498d1f
mov ecx, dword [ebp - 0x62c]
push ecx
mov edx, dword [ebp - 0x61c]
mov eax, dword [edx + 0x28]
call eax
add esp, 4
mov dword [ebp - 0x614], eax
mov ecx, dword [ebp - 0x634]
mov byte [ecx + 2], 0
cmp dword [ebp - 0x614], 0
je 0x498716
jmp 0x4915b8
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x66c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x640], edx
mov eax, dword [ebp - 0x66c]
movzx ecx, byte [eax + 2]
test ecx, ecx
je 0x498764
mov edx, dword [ebp - 0x640]
push edx
call fcn.00488680
add esp, 4
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x66c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x668], edx
mov eax, dword [ebp - 0x668]
mov ecx, dword [eax]
mov dword [ebp - 0x664], ecx
xor edx, edx
mov dword [ebp - 0x660], edx
mov dword [ebp - 0x65c], edx
mov dword [ebp - 0x658], edx
mov dword [ebp - 0x654], edx
mov dword [ebp - 0x650], edx
mov dword [ebp - 0x64c], edx
mov dword [ebp - 0x648], edx
mov dword [ebp - 0x644], edx
mov eax, dword [ebp - 0x640]
mov dword [ebp - 0x660], eax
mov ecx, dword [ebp - 0x640]
movzx edx, word [ecx + 8]
and edx, 0xffff3e00
or edx, 1
mov eax, dword [ebp - 0x640]
mov word [eax + 8], dx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0x660]
push eax
mov ecx, dword [ebp - 0x66c]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x664]
mov ecx, dword [eax + 0x2c]
call ecx
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x668]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0048e960
add esp, 8
cmp dword [ebp - 0x64c], 0
je 0x49882c
mov ecx, dword [ebp - 0x64c]
mov dword [ebp - 8], ecx
movzx edx, byte [ebp - 0x21]
push edx
mov eax, dword [ebp - 0x640]
push eax
call fcn.00487b50
add esp, 8
mov ecx, dword [ebp - 0x640]
push ecx
call fcn.00488880
add esp, 4
test eax, eax
je 0x498858
jmp 0x498e27
cmp dword [ebp - 8], 0
je 0x498863
jmp 0x498d1f
jmp case.0x4914fc.62
mov dword [ebp - 0x670], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x67c], eax
mov ecx, dword [ebp - 0x67c]
movzx edx, byte [ecx + 2]
test edx, edx
je 0x49889a
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x67c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x678], edx
mov eax, dword [ebp - 0x678]
mov ecx, dword [eax]
mov dword [ebp - 0x674], ecx
mov edx, dword [ebp - 0x67c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x674]
mov edx, dword [ecx + 0x24]
call edx
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x678]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048e960
add esp, 8
cmp dword [ebp - 8], 0
je 0x4988f2
jmp 0x498d1f
mov edx, dword [ebp - 0x67c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x674]
mov edx, dword [ecx + 0x28]
call edx
add esp, 4
mov dword [ebp - 0x670], eax
cmp dword [ebp - 0x670], 0
jne 0x49891e
jmp case.0x4914fc.13
jmp 0x491515
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x684], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x680], ecx
push 1
mov edx, dword [ebp - 0x680]
push edx
call fcn.00487b50
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x498963
jmp 0x498d1f
mov eax, dword [ebp - 0x680]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x684]
push edx
mov eax, dword [ebp - 0x684]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
call edx
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x684]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048e960
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
and eax, 0xfffffffe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], eax
cmp dword [ebp - 8], 0
je 0x4989b4
jmp 0x498d1f
jmp case.0x4914fc.62
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x6a4], ecx
cmp dword [ebp - 0x6a4], 0
je 0x4989dc
mov edx, dword [ebp - 0x6a4]
cmp dword [edx], 0
jne 0x4989e8
mov dword [ebp - 8], 6
jmp 0x498d1f
mov eax, dword [ebp - 0x6a4]
mov ecx, dword [eax]
mov dword [ebp - 0x688], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x6a8], eax
mov ecx, dword [ebp - 0x688]
cmp dword [ecx + 0x34], 0
je 0x498b90
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x4a]
mov byte [ebp - 0x6a9], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x694], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x690], ecx
mov dword [ebp - 0x68c], 0
jmp 0x498a57
mov edx, dword [ebp - 0x68c]
add edx, 1
mov dword [ebp - 0x68c], edx
mov eax, dword [ebp - 0x68c]
cmp eax, dword [ebp - 0x6a8]
jge 0x498a8b
mov ecx, dword [ebp - 0x68c]
mov edx, dword [ebp - 0x694]
mov eax, dword [ebp - 0x690]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x690]
add ecx, 0x28
mov dword [ebp - 0x690], ecx
jmp 0x498a48
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 3]
mov byte [edx + 0x4a], cl
lea edx, [ebp - 0x6a0]
push edx
mov eax, dword [ebp - 0x694]
push eax
mov ecx, dword [ebp - 0x6a8]
push ecx
mov edx, dword [ebp - 0x6a4]
push edx
mov eax, dword [ebp - 0x688]
mov ecx, dword [eax + 0x34]
call ecx
add esp, 0x10
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov al, byte [ebp - 0x6a9]
mov byte [edx + 0x4a], al
mov ecx, dword [ebp - 0x6a4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048e960
add esp, 8
cmp dword [ebp - 8], 0
jne 0x498b13
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0
je 0x498b13
mov ecx, dword [ebp - 0x6a0]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x69c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 8]
and eax, 0xff
cmp eax, 0x13
jne 0x498b76
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x498b76
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 3]
cmp edx, 4
jne 0x498b43
mov dword [ebp - 8], 0
jmp 0x498b74
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
cmp ecx, 5
jne 0x498b5b
mov dword [ebp - 0x7f4], 2
jmp 0x498b68
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 3]
mov dword [ebp - 0x7f4], eax
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x7f4]
mov byte [ecx + 0x56], dl
jmp 0x498b85
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], ecx
cmp dword [ebp - 8], 0
je 0x498b90
jmp 0x498d1f
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
shl eax, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax + 4]
push eax
call fcn.0047c730
add esp, 4
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp case.0x4914fc.62
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00491330
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
shl eax, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax + 4]
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 0x6b4], 0
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0xc], 0
je 0x498c41
mov edx, dword [ebp - 0x6b0]
push edx
call fcn.0047c730
add esp, 4
mov dword [ebp - 0x6b4], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x6b4]
cmp ecx, dword [eax + 0xc]
jae 0x498c41
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x6b4], eax
mov ecx, dword [ebp - 0x6b4]
push ecx
mov edx, dword [ebp - 0x6b0]
push edx
call fcn.0047d7c0
add esp, 8
cdq
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4914fc.62
mov edx, dword [ebp - 4]
cmp dword [edx + 0xb4], 0
je 0x498d0c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
shr ecx, 1
and ecx, 1
jne 0x498d0c
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x10], 0
je 0x498c9d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x7f8], ecx
jmp 0x498cac
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb0]
mov dword [ebp - 0x7f8], eax
mov ecx, dword [ebp - 0x7f8]
mov dword [ebp - 0x6b8], ecx
cmp dword [ebp - 0x6b8], 0
je 0x498d0c
mov edx, dword [ebp - 0x6b8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00490b60
add esp, 8
mov dword [ebp - 0x6bc], eax
mov ecx, dword [ebp - 0x6bc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xb4]
call edx
add esp, 8
mov eax, dword [ebp - 0x6bc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00464260
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
je case.0x4914fc.62
jmp 0x4915b8
jmp 0x4914bb
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x45]
test ecx, ecx
je 0x498d31
mov dword [ebp - 8], 7
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2c], 0
jne 0x498d61
cmp dword [ebp - 8], 0xc0a
je 0x498d61
mov eax, dword [ebp - 8]
push eax
call fcn.004dfb90
add esp, 4
push eax
push 0x5c1764
mov ecx, dword [ebp + 8]
push ecx
call fcn.004895b0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00467db0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb0]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
cdq
mov ecx, 0x14
idiv ecx
push eax
push str.statement_aborts_at__d:___s___s
mov edx, dword [ebp - 8]
push edx
call fcn.00466ae0
add esp, 0x14
mov eax, dword [ebp + 8]
push eax
call fcn.0048c220
add esp, 4
cmp dword [ebp - 8], 0xc0a
jne 0x498dcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.00464970
add esp, 4
mov dword [ebp - 8], 1
movzx edx, byte [ebp - 0x22]
test edx, edx
jle 0x498def
movzx eax, byte [ebp - 0x22]
sub eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004aa7e0
add esp, 8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], eax
mov edx, dword [ebp + 8]
push edx
call fcn.0048ab40
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x498ead
push 0x5c1788
mov eax, dword [ebp + 8]
push eax
call fcn.004895b0
add esp, 8
mov dword [ebp - 8], 0x12
jmp 0x498d1f
mov ecx, dword [ebp - 4]
push ecx
call fcn.00464970
add esp, 4
push 0x5c17a0
mov edx, dword [ebp + 8]
push edx
call fcn.004895b0
add esp, 8
mov dword [ebp - 8], 7
jmp 0x498d1f
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x45]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 9
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004dfb90
add esp, 4
push eax
push 0x5c17b0
mov edx, dword [ebp + 8]
push edx
call fcn.004895b0
add esp, 0xc
jmp 0x498d1f
pop edi
pop esi
mov ecx, dword [ebp - 0x2dc]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret