Function at 0x4be475
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5ec
push esi
push edi
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x14]
mov dl, byte [ecx + 0x79]
mov byte [ebp - 0x1c], dl
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x50], 0xbdf20da3
je 0x4b94e4
mov eax, 0x15
jmp 0x4bf0e4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 7
jne 0x4b94fe
jmp 0x4bf01e
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x22c], 0
je 0x4b953a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x22c]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.004bf362
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x22c], 0
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x234], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xe8], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
and ecx, 4
test ecx, ecx
je 0x4b9563
jmp 0x4bf089
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov dword [ebp - 0x14], eax
jmp 0x4b9577
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 8], 0
jne 0x4befdf
call fcn.004a2fef
test eax, eax
je 0x4b958f
jmp 0x4bf01e
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
add ecx, edx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x98], 0
je 0x4b9626
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xa0]
cmp ecx, dword [ebp - 0x18]
jne 0x4b961d
mov edx, dword [ebp - 0xc]
push edx
call fcn.004a29d7
add esp, 4
test eax, eax
je 0x4b95cf
jmp 0x4bf040
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x9c]
push ecx
mov edx, dword [ebp - 0xc]
call dword [edx + 0x98]
add esp, 4
test eax, eax
je 0x4b9601
mov eax, dword [ebp - 0xc]
push eax
call fcn.004a298e
add esp, 4
mov dword [ebp - 8], 4
jmp 0x4b956e
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004a298e
add esp, 4
test eax, eax
je 0x4b961d
jmp 0x4bf040
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 0x568], ecx
mov edx, dword [ebp - 0x568]
sub edx, 1
mov dword [ebp - 0x568], edx
cmp dword [ebp - 0x568], 0x8c
ja case.0x4b9658.10
mov eax, dword [ebp - 0x568]
jmp dword [eax*4 + 0x4bf0ea]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
and edx, 4
test edx, edx
je 0x4b9671
jmp 0x4bf089
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x14]
add edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x220]
mov eax, dword [ebp + 8]
mov dword [eax + ecx*4 + 0x90], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x220]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x220], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp case.0x4b9658.10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x220]
sub ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x220], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x220]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4 + 0x90]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp case.0x4b9658.10
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [eax + 0x80], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x4b9748
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004a1ccf
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.004b4493
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jne 0x4b9774
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 5
mov eax, 5
jmp 0x4bf0e4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
neg eax
sbb eax, eax
and al, 0x9c
add eax, 0x65
jmp 0x4bf0e4
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0xa2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0046bfa0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x1b], 1
mov eax, dword [ebp - 4]
push eax
call fcn.004a34d1
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x18]
or al, 4
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], ax
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0xa2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0046bfa0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x1b], 1
mov eax, dword [ebp - 4]
push eax
call fcn.004a3563
add esp, 4
mov ecx, dword [ebp - 4]
fstp qword [ecx + 8]
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x18]
or al, 8
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 0x1c]
and edx, 0xff
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004a3040
add esp, 8
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call fcn.0046bfa0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1c]
and edx, 0xff
cmp edx, 1
je case.0x4b9658.23
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
push 0
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004a3893
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004a3040
add esp, 8
test eax, eax
je 0x4b98f9
jmp 0x4bf01e
mov eax, dword [ebp - 4]
push eax
call fcn.004a307f
add esp, 4
test eax, eax
je 0x4b990e
jmp 0x4bf01e
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0x18]
and dx, 0xffbf
mov eax, dword [ebp - 4]
mov word [eax + 0x18], dx
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0x18]
or dl, 0x80
mov eax, dword [ebp - 4]
mov word [eax + 0x18], dx
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x10], 0xffffffff
jne 0x4b994a
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call fcn.004a1ba2
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx + 4], ecx
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0xa2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 4]
mov dl, byte [ebp - 0x1c]
mov byte [ecx + 0x1b], dl
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov byte [eax], 0x75
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
call fcn.0046bfa0
add esp, 4
shr eax, 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
je 0x4b9a3a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004a2e82
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4b9a0d
jmp 0x4bf01e
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xffffffff
jne 0x4b9a25
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004a1ba2
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0xffffffff
jmp case.0x4b9658.116
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xffffffff
jne 0x4b9a52
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004a1ba2
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0xfffffffe
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0x51c880
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004a3893
add esp, 0x14
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
sub edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
push 0x80
mov ecx, dword [ebp - 0x24]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, ecx
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3744
add esp, 0xc
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004bf362
add esp, 8
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
neg eax
shl eax, 6
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
push 0x100
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3744
add esp, 0xc
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
je 0x4b9b46
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x100
test ecx, ecx
je 0x4b9b46
mov edx, dword [ebp - 4]
push edx
call fcn.004a312d
add esp, 4
test eax, eax
je 0x4b9b46
jmp 0x4bf01e
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
neg ecx
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 0x70], edx
mov esi, dword [ebp - 0x70]
mov ecx, 0x10
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x100
test ecx, ecx
je 0x4b9b93
mov edx, dword [ebp - 4]
push edx
call fcn.004a312d
add esp, 4
test eax, eax
je 0x4b9b93
jmp 0x4bf01e
mov dword [ebp - 0x2c], 0
jmp 0x4b9bae
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x40
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 4]
jge 0x4b9c15
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov dx, word [ecx + 0x58]
and edx, 0x100
test edx, edx
je 0x4b9be4
mov eax, dword [ebp - 0x70]
add eax, 0x40
push eax
call fcn.004a312d
add esp, 4
test eax, eax
je 0x4b9be4
jmp 0x4bf01e
mov esi, dword [ebp - 0x70]
add esi, 0x40
mov ecx, 0x10
mov edi, dword [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x200
test edx, edx
je 0x4b9c13
mov eax, dword [ebp - 0x70]
add eax, 0x20
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x10], eax
jmp 0x4b9b9c
mov ecx, 0x10
lea esi, [ebp - 0x6c]
mov edi, dword [ebp - 4]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x200
test eax, eax
je 0x4b9c40
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], ecx
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
neg ecx
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.004a37ff
add esp, 8
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
xor ecx, ecx
sub ecx, dword [eax + 4]
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x78], ecx
jmp 0x4b9c9d
mov edx, dword [ebp - 0x78]
add edx, 0x40
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x7c]
jae 0x4b9ccf
mov ecx, dword [ebp - 0x78]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x100
test edx, edx
je 0x4b9ccd
mov eax, dword [ebp - 0x78]
push eax
call fcn.004a312d
add esp, 4
test eax, eax
je 0x4b9ccd
jmp 0x4bf01e
jmp 0x4b9c94
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
add edx, 2
or edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], edx
jmp 0x4b9cec
mov ecx, dword [ebp - 0x78]
add ecx, 0x40
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 4]
ja 0x4b9d0e
mov eax, dword [ebp - 0x78]
push eax
call fcn.004a3207
add esp, 4
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004b92e0
add esp, 4
jmp 0x4b9ce3
mov edx, dword [ebp + 8]
mov byte [edx + 0x234], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [eax + 0x22c], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x7c], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, 0x64
jmp 0x4bf0e4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
add edx, 2
mov dword [ebp - 0x80], edx
mov eax, 1
sub eax, dword [ebp - 0x80]
shl eax, 6
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x84], 0
jmp 0x4b9dab
mov edx, dword [ebp - 0x84]
add edx, 1
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x8c]
add eax, 0x40
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [ebp - 0x80]
jge 0x4b9e23
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4b9dd5
mov dword [ebp - 0x94], 0xffffffff
jmp 0x4b9e23
mov ecx, dword [ebp - 0x8c]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x12
test edx, edx
jne 0x4b9e09
mov eax, dword [ebp - 0x1c]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004a32d5
add esp, 8
test eax, eax
je 0x4b9e09
jmp 0x4bf01e
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
add eax, dword [edx + 0x14]
mov dword [ebp - 0x94], eax
jmp 0x4b9d8d
cmp dword [ebp - 0x94], 0
jge 0x4b9e5c
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
jne 0x4b9e45
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 4]
push eax
call fcn.004bf362
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4b9fa3
push 1
mov eax, dword [ebp - 0x94]
add eax, 2
push eax
call fcn.004a1ae0
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x4b9e84
jmp 0x4bf01e
mov dword [ebp - 0x88], 0
mov ecx, 1
sub ecx, dword [ebp - 0x80]
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
jmp 0x4b9eda
mov ecx, dword [ebp - 0x84]
add ecx, 1
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x8c]
add edx, 0x40
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x80]
jge 0x4b9f2e
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x88]
push eax
call fcn.004705f0
add esp, 0xc
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x98]
mov dword [ebp - 0x88], ecx
jmp 0x4b9ebc
mov edx, dword [ebp - 0x90]
add edx, dword [ebp - 0x88]
mov byte [edx], 0
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x88]
mov byte [eax + 1], 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
jne 0x4b9f66
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 4]
push eax
call fcn.004bf362
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x88]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0x62
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x1c]
mov byte [eax + 0x1b], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x90]
mov dword [edx + 0x10], eax
jmp case.0x4b9658.10
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
mov ecx, dword [ebp - 0xa0]
xor edx, edx
mov dx, word [ecx + 0x18]
or eax, edx
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
and eax, 1
test eax, eax
je 0x4ba02d
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4b9ffa
mov eax, dword [ebp - 4]
push eax
call fcn.004a3448
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4ba01f
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3448
add esp, 4
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4ba3b9
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
mov edx, dword [ebp - 0xa0]
xor eax, eax
mov ax, word [edx + 0x18]
and ecx, eax
and ecx, 4
cmp ecx, 4
jne 0x4ba21e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0xa8], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov dword [ebp - 0xb0], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
mov dword [ebp - 0x56c], edx
mov eax, dword [ebp - 0x56c]
sub eax, 0x4d
mov dword [ebp - 0x56c], eax
cmp dword [ebp - 0x56c], 3
ja case.default.0x4ba0aa
mov ecx, dword [ebp - 0x56c]
jmp dword [ecx*4 + 0x4bf31e]
mov edx, dword [ebp - 0xb0]
add edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xac]
adc eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], eax
jmp 0x4ba1bb
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xac]
sbb edx, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edx
jmp 0x4ba1bb
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0048e440
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
jmp 0x4ba1bb
mov ecx, dword [ebp - 0xa8]
or ecx, dword [ebp - 0xa4]
test ecx, ecx
jne 0x4ba14a
jmp 0x4ba3be
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
call fcn.0047ae60
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
jmp 0x4ba1bb
mov eax, dword [ebp - 0xa8]
or eax, dword [ebp - 0xa4]
test eax, eax
jne 0x4ba18e
jmp 0x4ba3be
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.0047af10
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4ba1d7
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3448
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4ba1fc
mov edx, dword [ebp - 4]
push edx
call fcn.004a3448
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xb0]
mov dword [eax], ecx
mov edx, dword [ebp - 0xac]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 4
jmp 0x4ba3b9
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3563
add esp, 4
fstp qword [ebp - 0xb8]
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004a3563
add esp, 4
fstp qword [ebp - 0xc0]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 0x570], ecx
mov edx, dword [ebp - 0x570]
sub edx, 0x4d
mov dword [ebp - 0x570], edx
cmp dword [ebp - 0x570], 3
ja case.default.0x4ba270
mov eax, dword [ebp - 0x570]
jmp dword [eax*4 + 0x4bf32e]
fld qword [ebp - 0xc0]
fadd qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4ba341
fld qword [ebp - 0xc0]
fsub qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4ba341
fld qword [ebp - 0xc0]
fmul qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4ba341
fld qword [ebp - 0xb8]
fcomp qword [0x4f31e8]
fnstsw ax
test ah, 0x40
je 0x4ba2d4
jmp 0x4ba3be
fld qword [ebp - 0xc0]
fdiv qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4ba341
fld qword [ebp - 0xb8]
call fcn.004daf00
mov dword [ebp - 0xc4], eax
fld qword [ebp - 0xc0]
call fcn.004daf00
mov dword [ebp - 0xc8], eax
fild dword [ebp - 0xc4]
fcomp qword [0x4f31e8]
fnstsw ax
test ah, 0x40
je 0x4ba322
jmp 0x4ba3be
mov eax, dword [ebp - 0xc8]
cdq
idiv dword [ebp - 0xc4]
mov dword [ebp - 0x574], edx
fild dword [ebp - 0x574]
fstp qword [ebp - 0xc0]
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4ba35d
mov eax, dword [ebp - 4]
push eax
call fcn.004a3448
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4ba382
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3448
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc0]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xbc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 8
mov eax, dword [ebp - 0x9c]
and eax, 8
test eax, eax
jne 0x4ba3b9
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3602
add esp, 4
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4ba3da
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3448
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4ba3ff
mov edx, dword [ebp - 4]
push edx
call fcn.004a3448
add esp, 4
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x124], ecx
mov edx, 1
sub edx, dword [ebp - 0x130]
shl edx, 6
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], 0
jmp 0x4ba468
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x12c]
add edx, 0x40
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x130]
jge 0x4ba49c
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x12c]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.004b92e0
add esp, 4
jmp 0x4ba44a
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xfffffffb
jne 0x4ba4bd
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], 0
jmp 0x4ba4d7
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx]
mov dword [ebp - 0x120], edx
mov word [ebp - 0x100], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0xd4], 0
mov eax, dword [ebp - 0x120]
xor ecx, ecx
mov cl, byte [eax + 3]
test ecx, ecx
je 0x4ba516
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004a29d7
add esp, 4
test eax, eax
je 0x4ba52b
jmp 0x4bf040
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x120]
call dword [edx + 0x10]
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call fcn.004a298e
add esp, 4
test eax, eax
je 0x4ba561
jmp 0x4bf040
call fcn.004a2fef
test eax, eax
je 0x4ba56f
jmp 0x4bf01e
mov ecx, dword [ebp - 0x130]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.004bf362
add esp, 8
cmp dword [ebp - 0x11c], 0
je 0x4ba5b7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
call fcn.004b4f5a
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x11c]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0xfffffff9
mov eax, dword [ebp - 0xd4]
and eax, 0xff
test eax, eax
je 0x4ba5f1
push 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.0049a970
add esp, 4
push eax
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004a1ccf
add esp, 0xc
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x1c]
and eax, 0xff
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.004a3040
add esp, 8
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004a37ff
add esp, 8
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
mov eax, dword [ebp - 0x13c]
xor ecx, ecx
mov cx, word [eax + 0x18]
or edx, ecx
and edx, 1
test edx, edx
je 0x4ba682
push 2
lea edx, [ebp - 4]
push edx
call fcn.004bf362
add esp, 8
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x13c]
push edx
call fcn.004a34d1
add esp, 4
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 4]
push eax
call fcn.004a34d1
add esp, 4
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
mov dword [ebp - 0x578], edx
mov eax, dword [ebp - 0x578]
sub eax, 0x49
mov dword [ebp - 0x578], eax
cmp dword [ebp - 0x578], 3
ja case.default.0x4ba6e4
mov ecx, dword [ebp - 0x578]
jmp dword [ecx*4 + 0x4bf33e]
mov edx, dword [ebp - 0x138]
and edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x134]
and eax, dword [ebp - 0x140]
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], eax
jmp case.default.0x4ba6e4
mov ecx, dword [ebp - 0x138]
or ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x134]
or edx, dword [ebp - 0x140]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], edx
jmp case.default.0x4ba6e4
mov ecx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
call fcn.004948f0
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
jmp case.default.0x4ba6e4
mov ecx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
call fcn.004db060
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4ba79b
mov edx, dword [ebp - 4]
push edx
call fcn.004a3448
add esp, 4
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4ba7c0
mov eax, dword [ebp - 4]
push eax
call fcn.004a3448
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x138]
mov dword [ecx], edx
mov eax, dword [ebp - 0x134]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
push edx
call fcn.004a363d
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cdq
mov ecx, dword [ebp - 4]
mov esi, dword [ecx]
add esi, eax
mov eax, dword [ecx + 4]
adc eax, edx
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [ecx + 4], eax
jmp case.0x4b9658.10
mov dl, byte [ebp - 0x1c]
push edx
push 0x63
mov eax, dword [ebp - 4]
push eax
call fcn.004b9414
add esp, 0xc
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0xc
test edx, edx
jne 0x4ba866
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4ba84c
mov edx, dword [ebp - 4]
push edx
call fcn.004a3448
add esp, 4
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 4
test ecx, ecx
je 0x4ba8a0
mov edx, dword [ebp - 0x10]
xor eax, eax
cmp dword [edx + 4], 0
setne al
cdq
mov ecx, dword [ebp - 4]
mov esi, dword [ecx]
add esi, eax
mov eax, dword [ecx + 4]
adc eax, edx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], eax
jmp 0x4ba92f
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a366d
add esp, 4
mov edx, dword [ebp - 4]
fld qword [edx + 8]
call fcn.004daf00
cdq
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 4]
fild qword [ebp - 0x14c]
fcomp qword [eax + 8]
fnstsw ax
test ah, 1
je 0x4ba8f5
mov ecx, dword [ebp - 0x14c]
add ecx, 1
mov edx, dword [ebp - 0x148]
adc edx, 0
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x4ba92f
mov ecx, dword [ebp - 4]
fild qword [ebp - 0x14c]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 0x40
je 0x4ba92f
mov edx, dword [ebp - 0x14c]
add edx, 1
mov eax, dword [ebp - 0x148]
adc eax, 0
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4ba94b
mov eax, dword [ebp - 4]
push eax
call fcn.004a3448
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x148]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4b9658.10
mov dl, byte [ebp - 0x1c]
push edx
push 0x63
mov eax, dword [ebp - 4]
push eax
call fcn.004b9414
add esp, 0xc
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 4
test edx, edx
jne 0x4ba9c9
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x4ba9a4
mov dword [ebp - 8], 0x14
jmp 0x4bf047
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x4ba9bb
push 1
lea edx, [ebp - 4]
push edx
call fcn.004bf362
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4ba9ee
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4ba9e5
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3448
add esp, 4
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 4
test ecx, ecx
je 0x4baa0f
mov edx, dword [ebp - 4]
push edx
call fcn.004a366d
add esp, 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4baa29
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x10
sar eax, 3
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0x18]
or dx, ax
mov eax, dword [ebp - 4]
mov word [eax + 0x18], dx
mov cl, byte [ebp - 0x1c]
push ecx
push 0x61
mov edx, dword [ebp - 4]
push edx
call fcn.004b9414
add esp, 0xc
mov eax, dword [ebp - 4]
mov cx, word [eax + 0x18]
and cx, 0xffe3
mov edx, dword [ebp - 4]
mov word [edx + 0x18], cx
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4baa88
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x10
test eax, eax
jne 0x4baabb
mov cl, byte [ebp - 0x1c]
push ecx
push 0x61
mov edx, dword [ebp - 4]
push edx
call fcn.004b9414
add esp, 0xc
mov eax, dword [ebp - 4]
mov cx, word [eax + 0x18]
or cl, 0x10
mov edx, dword [ebp - 4]
mov word [edx + 0x18], cx
mov eax, dword [ebp - 4]
mov cx, word [eax + 0x18]
and cx, 0xfff1
mov edx, dword [ebp - 4]
mov word [edx + 0x18], cx
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
jne 0x4baaef
mov edx, dword [ebp - 4]
push edx
call fcn.004a369b
add esp, 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
jne 0x4bab10
mov edx, dword [ebp - 4]
push edx
call fcn.004a363d
add esp, 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
jne 0x4bab31
mov edx, dword [ebp - 4]
push edx
call fcn.004a366d
add esp, 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
mov eax, dword [ebp - 0x154]
xor ecx, ecx
mov cx, word [eax + 0x18]
or edx, ecx
mov dword [ebp - 0x150], edx
mov edx, dword [ebp - 0x150]
and edx, 1
test edx, edx
je 0x4bac14
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
and ecx, 0x200
test ecx, ecx
je 0x4babc8
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a36e5
add esp, 0xc
mov edx, dword [ebp - 0x154]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call fcn.004a36e5
add esp, 0xc
jmp 0x4bac14
push 2
lea edx, [ebp - 4]
push edx
call fcn.004bf362
add esp, 8
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x4babfd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
and edx, 0x100
test edx, edx
je 0x4babfb
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4bac0f
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
and edx, 0xff
mov byte [ebp - 0x15c], dl
movsx eax, byte [ebp - 0x15c]
test eax, eax
je 0x4bac62
mov cl, byte [ebp - 0x1c]
push ecx
mov dl, byte [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x154]
push eax
call fcn.004b9414
add esp, 0xc
mov cl, byte [ebp - 0x1c]
push ecx
mov dl, byte [ebp - 0x15c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004b9414
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call fcn.004a3a2c
add esp, 0xc
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
mov dword [ebp - 0x57c], eax
mov ecx, dword [ebp - 0x57c]
sub ecx, 0x42
mov dword [ebp - 0x57c], ecx
cmp dword [ebp - 0x57c], 4
ja case.default.0x4bacad
mov edx, dword [ebp - 0x57c]
jmp dword [edx*4 + 0x4bf34e]
xor eax, eax
cmp dword [ebp - 0x158], 0
sete al
mov dword [ebp - 0x158], eax
jmp 0x4bad2a
xor ecx, ecx
cmp dword [ebp - 0x158], 0
setne cl
mov dword [ebp - 0x158], ecx
jmp 0x4bad2a
xor edx, edx
cmp dword [ebp - 0x158], 0
setl dl
mov dword [ebp - 0x158], edx
jmp 0x4bad2a
xor eax, eax
cmp dword [ebp - 0x158], 0
setle al
mov dword [ebp - 0x158], eax
jmp 0x4bad2a
xor ecx, ecx
cmp dword [ebp - 0x158], 0
setg cl
mov dword [ebp - 0x158], ecx
jmp 0x4bad2a
xor edx, edx
cmp dword [ebp - 0x158], 0
setge dl
mov dword [ebp - 0x158], edx
push 2
lea eax, [ebp - 4]
push eax
call fcn.004bf362
add esp, 8
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je 0x4bad58
cmp dword [ebp - 0x158], 0
je 0x4bad56
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4bad79
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
mov eax, dword [ebp - 0x158]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4bada6
mov dword [ebp - 0x160], 2
jmp 0x4badf2
mov edx, dword [ebp - 4]
push edx
call fcn.004a363d
add esp, 4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x580], eax
mov ecx, dword [ebp - 0x580]
mov edx, dword [ebp - 0x580]
mov eax, dword [ecx]
or eax, dword [edx + 4]
test eax, eax
jne 0x4baddc
mov dword [ebp - 0x584], 1
jmp 0x4bade6
mov dword [ebp - 0x584], 0
mov ecx, dword [ebp - 0x584]
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0x168]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4bae11
mov dword [ebp - 0x164], 2
jmp 0x4bae63
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.004a363d
add esp, 4
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x588], edx
mov eax, dword [ebp - 0x588]
mov ecx, dword [ebp - 0x588]
mov edx, dword [eax]
or edx, dword [ecx + 4]
test edx, edx
jne 0x4bae4d
mov dword [ebp - 0x58c], 1
jmp 0x4bae57
mov dword [ebp - 0x58c], 0
mov eax, dword [ebp - 0x58c]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x3c
jne 0x4bae8f
mov eax, dword [ebp - 0x160]
imul eax, eax, 3
mov ecx, dword [ebp - 0x164]
xor edx, edx
mov dl, byte [eax + ecx + 0x4f3810]
mov dword [ebp - 0x160], edx
jmp 0x4baead
mov eax, dword [ebp - 0x160]
imul eax, eax, 3
mov ecx, dword [ebp - 0x164]
xor edx, edx
mov dl, byte [eax + ecx + 0x4f381c]
mov dword [ebp - 0x160], edx
push 2
lea eax, [ebp - 4]
push eax
call fcn.004bf362
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x160], 2
jne 0x4baed8
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4baef6
xor eax, eax
cmp dword [ebp - 0x160], 0
sete al
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 8
test ecx, ecx
je 0x4baf62
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4baf27
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3448
add esp, 4
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x53
je 0x4baf46
mov ecx, dword [ebp - 4]
fld qword [ecx + 8]
fcomp qword [0x4f31e8]
fnstsw ax
test ah, 1
je 0x4baf54
mov edx, dword [ebp - 4]
fld qword [edx + 8]
fchs
mov eax, dword [ebp - 4]
fstp qword [eax + 8]
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 8
jmp 0x4bb001
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 4
test eax, eax
je 0x4bafde
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4baf8e
mov eax, dword [ebp - 4]
push eax
call fcn.004a3448
add esp, 4
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x53
je 0x4bafbc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
cmp dword [ecx + 4], 0
jg 0x4bafd3
jl 0x4bafbc
mov edx, dword [ebp - 0x590]
cmp dword [edx], 0
jae 0x4bafd3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
neg ecx
mov edx, dword [eax + 4]
adc edx, 0
neg edx
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp 0x4bb001
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4baff0
jmp 0x4bb001
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a369b
add esp, 4
jmp 0x4baf0b
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4bb01b
jmp case.0x4b9658.10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a363d
add esp, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0x594], edx
mov eax, dword [ebp - 0x594]
mov ecx, dword [ebp - 0x594]
mov edx, dword [eax]
or edx, dword [ecx + 4]
test edx, edx
jne 0x4bb051
mov dword [ebp - 0x598], 1
jmp 0x4bb05b
mov dword [ebp - 0x598], 0
mov eax, dword [ebp - 0x598]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4bb08d
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
push edx
call fcn.004a363d
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
not ecx
mov edx, dword [eax + 4]
not edx
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4bb0d9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x16c], edx
jmp 0x4bb132
mov eax, dword [ebp - 4]
push eax
call fcn.004a3563
add esp, 4
fcomp qword [0x4f31e8]
fnstsw ax
test ah, 0x40
jne 0x4bb0fe
mov dword [ebp - 0x59c], 1
jmp 0x4bb108
mov dword [ebp - 0x59c], 0
mov ecx, dword [ebp - 0x59c]
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x48
jne 0x4bb132
xor ecx, ecx
cmp dword [ebp - 0x16c], 0
sete cl
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4bb14e
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3448
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
cmp dword [ebp - 0x16c], 0
je 0x4bb16c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jge 0x4bb194
mov ecx, dword [ebp - 0x170]
neg ecx
mov dword [ebp - 0x170], ecx
mov edx, 1
sub edx, dword [ebp - 0x170]
shl edx, 6
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], 0
jmp 0x4bb1d7
mov ecx, dword [ebp - 0x174]
add ecx, 1
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x178]
add edx, 0x40
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 0x170]
jge 0x4bb208
mov ecx, dword [ebp - 0x178]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 1
test edx, edx
je 0x4bb206
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4bb208
jmp 0x4bb1b9
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jle 0x4bb224
mov eax, dword [ebp - 0x170]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004bf362
add esp, 8
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
jge 0x4bb24c
mov ecx, dword [ebp - 0x17c]
neg ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x180], 0
jmp 0x4bb267
mov edx, dword [ebp - 0x180]
add edx, 1
mov dword [ebp - 0x180], edx
mov eax, dword [ebp - 0x180]
cmp eax, dword [ebp - 0x17c]
jge 0x4bb29a
mov ecx, dword [ebp - 0x180]
add ecx, 1
sub ecx, dword [ebp - 0x17c]
shl ecx, 6
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + ecx + 0x18]
and eax, 1
test eax, eax
jne 0x4bb29a
jmp 0x4bb258
mov ecx, dword [ebp - 0x180]
cmp ecx, dword [ebp - 0x17c]
jl 0x4bb2b4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
jle 0x4bb2d0
mov edx, dword [ebp - 0x17c]
push edx
lea eax, [ebp - 4]
push eax
call fcn.004bf362
add esp, 8
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx + edx*4]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [eax + 0x50], edx
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1ec], 0
mov word [ebp - 0x1c4], 0
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x19c]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
cmp dword [ecx], 0
je 0x4bb43a
mov edx, dword [ebp - 0x1ec]
push edx
call fcn.004b5106
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bb37c
jmp 0x4bf047
mov dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax]
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x1ec]
xor eax, eax
mov al, byte [edx + 0x1c]
test eax, eax
je 0x4bb3af
mov dword [ebp - 0x188], 0
jmp 0x4bb429
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x60]
cmp eax, dword [edx + 0x60]
jne 0x4bb3e0
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + 0x64]
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x1f4], ecx
jmp 0x4bb429
mov edx, dword [ebp - 0x1ec]
xor eax, eax
mov al, byte [edx + 0x21]
test eax, eax
je 0x4bb413
lea ecx, [ebp - 0x1fc]
push ecx
mov edx, dword [ebp - 0x198]
push edx
call fcn.004ab1c0
add esp, 8
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x188], eax
jmp 0x4bb429
lea ecx, [ebp - 0x188]
push ecx
mov edx, dword [ebp - 0x198]
push edx
call fcn.004ab489
add esp, 8
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x18c], ecx
jmp 0x4bb4b7
mov edx, dword [ebp - 0x1ec]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4bb48f
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x1ec]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x198], 0
jmp 0x4bb4b7
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x18c], 0
cmp dword [ebp - 0x188], 0
jne 0x4bb4c5
jmp case.0x4b9658.10
cmp dword [ebp - 0x1ec], 0
je 0x4bb502
mov edx, dword [ebp - 0x1ec]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x60]
cmp ecx, dword [eax + 0x60]
jne 0x4bb502
mov edx, dword [ebp - 0x1ec]
mov eax, dword [edx + 0x68]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + 0x6c]
mov dword [ebp - 0x190], edx
jmp 0x4bb852
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x194], 0
jne 0x4bb545
push 1
mov edx, dword [ebp - 0x18c]
shl edx, 1
shl edx, 2
push edx
call fcn.004a1ae0
add esp, 8
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x194]
mov dword [eax + 0x68], ecx
cmp dword [ebp - 0x194], 0
jne 0x4bb553
jmp 0x4bf01e
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x194]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x1ec]
mov eax, dword [ebp - 0x190]
mov dword [edx + 0x6c], eax
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ebp - 0x188]
mov dword [ecx + 0x64], edx
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x60], edx
cmp dword [ebp - 0x1f4], 0
je 0x4bb5af
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e0], eax
jmp 0x4bb630
mov ecx, dword [ebp - 0x1ec]
xor edx, edx
mov dl, byte [ecx + 0x21]
test edx, edx
je 0x4bb5dc
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x198]
push ecx
call fcn.004ab7d5
add esp, 8
mov dword [ebp - 0x1e0], eax
jmp 0x4bb5f8
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x198]
push eax
call fcn.004ab899
add esp, 8
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [ebp - 0x188]
jb 0x4bb623
mov edx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x1e0]
mov dword [eax + 0x70], ecx
jmp 0x4bb630
mov edx, dword [ebp - 0x1ec]
mov dword [edx + 0x70], 0
mov eax, dword [ebp - 0x1e0]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 0x204], ecx
cmp dword [ebp - 0x204], 0x7f
ja 0x4bb655
mov dword [ebp - 0x5a0], 1
jmp 0x4bb671
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp - 0x1e0]
push eax
call fcn.004a2d78
add esp, 8
mov dword [ebp - 0x5a0], eax
mov ecx, dword [ebp - 0x5a0]
mov dword [ebp - 0x200], ecx
cmp dword [ebp - 0x1f4], 0
jne 0x4bb6d9
mov edx, dword [ebp - 0x210]
cmp edx, dword [ebp - 0x204]
jae 0x4bb6d9
lea eax, [ebp - 0x1dc]
push eax
mov ecx, dword [ebp - 0x1ec]
xor edx, edx
mov dl, byte [ecx + 0x21]
push edx
mov eax, dword [ebp - 0x204]
push eax
push 0
mov ecx, dword [ebp - 0x198]
push ecx
call fcn.004a3d2a
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bb6cd
jmp 0x4bb99d
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp - 0x1e0]
add eax, dword [ebp - 0x204]
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x1e0]
add ecx, dword [ebp - 0x200]
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x1e4], 0
jmp 0x4bb718
mov edx, dword [ebp - 0x1e4]
add edx, 1
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x1e4]
cmp eax, dword [ebp - 0x18c]
jae 0x4bb7ff
mov ecx, dword [ebp - 0x208]
cmp ecx, dword [ebp - 0x20c]
jae 0x4bb7e7
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x204]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x208]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x1e4]
mov edx, dword [ebp - 0x194]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x194]
cmp dword [ecx + eax*4], 0x7f
ja 0x4bb788
mov dword [ebp - 0x5a4], 1
jmp 0x4bb7ad
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x194]
lea ecx, [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x208]
push edx
call fcn.004a2d78
add esp, 8
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x208]
add eax, dword [ebp - 0x5a4]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x1e4]
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + ecx*4]
push eax
call fcn.004b536f
add esp, 4
mov ecx, dword [ebp - 0x204]
add ecx, eax
mov dword [ebp - 0x204], ecx
jmp 0x4bb7fa
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x190]
mov dword [eax + edx*4], 0
jmp 0x4bb709
mov ecx, dword [ebp - 0x1c4]
and ecx, 0xffff
and ecx, 0x40
test ecx, ecx
je 0x4bb821
lea edx, [ebp - 0x1dc]
push edx
call fcn.004a3448
add esp, 4
mov word [ebp - 0x1c4], 1
mov eax, dword [ebp - 0x208]
cmp eax, dword [ebp - 0x20c]
ja 0x4bb846
mov ecx, dword [ebp - 0x204]
cmp ecx, dword [ebp - 0x188]
jbe 0x4bb852
mov dword [ebp - 8], 0xb
jmp 0x4bb99d
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x190]
cmp dword [eax + edx*4], 0
je 0x4bb92d
cmp dword [ebp - 0x1f4], 0
je 0x4bb88e
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x1f4]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1e0], eax
jmp 0x4bb8ff
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + ecx*4]
push eax
call fcn.004b536f
add esp, 4
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x1dc]
push ecx
mov edx, dword [ebp - 0x1ec]
xor eax, eax
mov al, byte [edx + 0x21]
push eax
mov ecx, dword [ebp - 0x1f0]
push ecx
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x198]
push edx
call fcn.004a3d2a
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bb8f3
jmp 0x4bb99d
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
call fcn.004b546e
add esp, 0xc
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x1c]
mov byte [eax + 0x1b], cl
jmp 0x4bb959
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xfffffff8
jne 0x4bb950
push 0x80
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004a3744
add esp, 0xc
jmp 0x4bb959
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
mov ecx, dword [ebp - 0x1c4]
and ecx, 0xffff
and ecx, 0x40
test ecx, ecx
je 0x4bb98e
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x18]
and ax, 0xfeff
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x18]
or al, 0x60
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 4]
push edx
call fcn.004a312d
add esp, 4
mov dword [ebp - 8], eax
jmp case.0x4b9658.10
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 4], 0
setl cl
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
neg edx
sbb edx, edx
and edx, 0xfffffffe
add edx, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
imul ecx, edx
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
xor eax, eax
cmp edx, 0x33
sete al
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x214], edx
mov eax, 1
sub eax, dword [ebp - 0x224]
shl eax, 6
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x234], 0
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x239]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x238], ecx
jmp 0x4bba83
mov edx, dword [ebp - 0x238]
add edx, 0x40
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 4]
ja 0x4bbb42
cmp dword [ebp - 0x214], 0
je 0x4bbac7
mov cl, byte [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x238]
sub edx, dword [ebp - 0x22c]
sar edx, 6
mov eax, dword [ebp - 0x214]
mov cl, byte [eax + edx]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call fcn.004b9414
add esp, 0xc
mov eax, dword [ebp - 0x238]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4bbae4
mov dword [ebp - 0x234], 1
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x238]
push eax
call fcn.004b51ed
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.004b536f
add esp, 4
mov edx, dword [ebp - 0x220]
add edx, eax
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x268]
xor ecx, ecx
push ecx
push eax
call fcn.004a2e41
add esp, 8
mov edx, dword [ebp - 0x240]
add edx, eax
mov dword [ebp - 0x240], edx
jmp 0x4bba74
cmp dword [ebp - 0x23c], 0
je 0x4bbbc4
xor eax, eax
sub eax, dword [ebp - 0x224]
shl eax, 6
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp - 0x26c]
push edx
call fcn.004a363d
add esp, 4
push 0
mov eax, dword [ebp - 0x26c]
push eax
call fcn.004b51ed
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.004b536f
add esp, 4
mov edx, dword [ebp - 0x220]
add edx, eax
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x268]
xor ecx, ecx
push ecx
push eax
call fcn.004a2e41
add esp, 8
mov edx, dword [ebp - 0x240]
add edx, eax
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x240]
cdq
push edx
push eax
call fcn.004a2e41
add esp, 8
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x240]
add eax, dword [ebp - 0x218]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
cdq
push edx
push eax
call fcn.004a2e41
add esp, 8
cmp dword [ebp - 0x218], eax
jge 0x4bbc15
mov ecx, dword [ebp - 0x240]
add ecx, 1
mov dword [ebp - 0x240], ecx
mov edx, dword [ebp - 0x240]
add edx, dword [ebp - 0x220]
mov dword [ebp - 0x270], edx
cmp dword [ebp - 0x270], 0x20
jbe 0x4bbc57
push 1
mov eax, dword [ebp - 0x270]
push eax
call fcn.004a1ae0
add esp, 8
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x4bbc55
jmp 0x4bf01e
jmp 0x4bbc63
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x240]
cdq
push edx
push eax
mov eax, dword [ebp - 0x274]
push eax
call fcn.004a2a62
add esp, 0xc
mov ecx, dword [ebp - 0x274]
add ecx, eax
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x238], edx
jmp 0x4bbcb2
mov eax, dword [ebp - 0x238]
add eax, 0x40
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
cmp ecx, dword [ebp - 4]
ja 0x4bbd02
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x238]
push eax
call fcn.004b51ed
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x274]
push eax
call fcn.004a2a62
add esp, 0xc
mov ecx, dword [ebp - 0x274]
add ecx, eax
mov dword [ebp - 0x274], ecx
jmp 0x4bbca3
cmp dword [ebp - 0x23c], 0
je 0x4bbd3d
push 0
mov edx, dword [ebp - 0x26c]
push edx
call fcn.004b51ed
add esp, 8
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0x274]
push edx
call fcn.004a2a62
add esp, 0xc
mov ecx, dword [ebp - 0x274]
add ecx, eax
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x238], edx
jmp 0x4bbd5a
mov eax, dword [ebp - 0x238]
add eax, 0x40
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
cmp ecx, dword [ebp - 4]
ja 0x4bbd92
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.004b5391
add esp, 0xc
mov edx, dword [ebp - 0x274]
add edx, eax
mov dword [ebp - 0x274], edx
jmp 0x4bbd4b
cmp dword [ebp - 0x23c], 0
je 0x4bbdc1
push 0
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.004b5391
add esp, 0xc
mov edx, dword [ebp - 0x274]
add edx, eax
mov dword [ebp - 0x274], edx
cmp dword [ebp - 0x228], 0
jne 0x4bbde3
mov eax, dword [ebp - 0x224]
add eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004bf362
add esp, 8
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x270]
mov dword [eax + 0x14], ecx
cmp dword [ebp - 0x270], 0x20
ja 0x4bbe35
mov edx, dword [ebp - 4]
add edx, 0x20
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x270]
push ecx
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
call fcn.004705f0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0x210
jmp 0x4bbe54
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x230]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0x50
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b], 1
cmp dword [ebp - 0x21c], 0
je 0x4bbe79
cmp dword [ebp - 0x234], 0
je 0x4bbe79
mov ecx, dword [ebp - 0x21c]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jl 0x4bbef3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x27c]
cmp edx, dword [ecx]
jge 0x4bbef3
mov eax, dword [ebp - 0x27c]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 4]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
je 0x4bbef3
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx + 0x10]
test edx, edx
jne 0x4bbef3
mov eax, dword [ebp - 0x278]
push eax
call fcn.004b1cb2
add esp, 4
test eax, eax
jne 0x4bbef3
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.004aad00
add esp, 4
mov dword [ebp - 8], eax
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov al, byte [edx + 4]
mov byte [ebp - 0x280], al
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + 8]
mov byte [ebp - 0x284], dl
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x4c], 1
jle 0x4bbf8b
mov ecx, dword [ebp - 0x280]
and ecx, 0xff
test ecx, ecx
je 0x4bbf8b
mov edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x10]
test eax, eax
jne 0x4bbf8b
mov ecx, dword [ebp - 0x284]
and ecx, 0xff
test ecx, ecx
je 0x4bbf51
mov dword [ebp - 0x5a8], str.rollback
jmp 0x4bbf5b
mov dword [ebp - 0x5a8], str.commit
push 0
push str._transaction___SQL_statements_in_progress
mov edx, dword [ebp - 0x5a8]
push edx
push str.cannot
mov eax, dword [ebp + 8]
add eax, 0x230
push eax
call fcn.004a1ccf
add esp, 0x14
mov dword [ebp - 8], 1
jmp 0x4bc09d
mov ecx, dword [ebp - 0x280]
and ecx, 0xff
mov edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x10]
cmp ecx, eax
je 0x4bc02e
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je 0x4bbfc5
mov edx, dword [ebp - 0xc]
push edx
call fcn.00499714
add esp, 4
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x10], 1
jmp 0x4bc024
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x280]
mov byte [ecx + 0x10], dl
mov eax, dword [ebp + 8]
push eax
call fcn.004b4493
add esp, 4
cmp eax, 5
jne 0x4bc024
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp - 0x280]
and edx, 0xff
mov eax, 1
sub eax, edx
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x10], al
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 5
mov eax, 5
jmp 0x4bf0e4
mov eax, 0x65
jmp 0x4bf0e4
mov eax, dword [ebp - 0x280]
and eax, 0xff
test eax, eax
jne 0x4bc049
mov dword [ebp - 0x5ac], str.cannot_start_a_transaction_within_a_transaction
jmp 0x4bc07b
mov ecx, dword [ebp - 0x284]
and ecx, 0xff
test ecx, ecx
je 0x4bc065
mov dword [ebp - 0x5b0], str.cannot_rollback___no_transaction_is_active
jmp 0x4bc06f
mov dword [ebp - 0x5b0], str.cannot_commit___no_transaction_is_active
mov edx, dword [ebp - 0x5b0]
mov dword [ebp - 0x5ac], edx
push 0
mov eax, dword [ebp - 0x5ac]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004a1ccf
add esp, 0xc
mov dword [ebp - 8], 1
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx + 4]
mov dword [ebp - 0x288], ecx
cmp dword [ebp - 0x288], 0
je 0x4bc129
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.004aa320
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jne 0x4bc118
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x7c], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 5
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, 5
jmp 0x4bf0e4
cmp dword [ebp - 8], 0
je 0x4bc129
cmp dword [ebp - 8], 8
je 0x4bc129
jmp 0x4bf047
jmp case.0x4b9658.10
lea ecx, [ebp - 0x290]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
imul edx, edx, 0x18
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.004b0977
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x290]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
add eax, ecx
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a363d
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
add edx, 1
push edx
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 4]
push ecx
call fcn.004b0bb9
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jne 0x4bc1f6
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
or edx, 0x10
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], edx
jmp 0x4bc210
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 1
jne 0x4bc210
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [eax + 0x78], dl
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 1
jne 0x4bc22e
mov edx, dword [ebp - 0xc]
push edx
call fcn.004b5ca7
add esp, 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx + 4]
mov dword [ebp - 0x29c], ecx
cmp dword [ebp - 0x29c], 0
je 0x4bc272
lea edx, [ebp - 0x298]
push edx
push 1
mov eax, dword [ebp - 0x29c]
push eax
call fcn.004b0977
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x4bc283
mov dword [ebp - 8], 0
mov dword [ebp - 0x298], 0
cmp dword [ebp - 8], 0
jne 0x4bc2b6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x298]
cmp edx, dword [ecx + 8]
je 0x4bc2b6
push 0
push str.database_schema_has_changed
mov eax, dword [ebp + 8]
add eax, 0x230
push eax
call fcn.004a1ccf
add esp, 0xc
mov dword [ebp - 8], 0x11
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2ac], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2a8], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004a363d
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2a4]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
add edx, eax
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 8
jne 0x4bc363
mov dword [ebp - 0x2b0], 1
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ecx + 0x14]
xor eax, eax
mov al, byte [edx + 0x78]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0x239]
cmp eax, edx
jge 0x4bc361
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
mov al, byte [ecx + 0x78]
mov byte [edx + 0x239], al
jmp 0x4bc36d
mov dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x2a8], 0
jg 0x4bc396
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a363d
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x2a4]
push edx
mov eax, dword [ebp - 0x2ac]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bf3b0
add esp, 0xc
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jne 0x4bc3c4
jmp 0x4bf01e
mov edx, dword [ebp - 0x2a0]
mov byte [edx + 0x1c], 1
cmp dword [ebp - 0x2b8], 0
jne 0x4bc3dc
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x2a0]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
push fcn.004b5766
mov eax, dword [ebp - 0x2b0]
push eax
mov ecx, dword [ebp - 0x2a8]
push ecx
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.004aae14
add esp, 0x18
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xfffffffa
jne 0x4bc457
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ecx + 0x4c]
add edx, 1
mov eax, dword [ebp - 0x2a0]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0x4c]
mov cl, byte [ecx + 0x79]
mov byte [eax], cl
jmp 0x4bc476
mov edx, dword [ebp - 0x2a0]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp - 0x2a0]
add eax, 0x22
mov ecx, dword [ebp - 0x2a0]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x5b4], edx
cmp dword [ebp - 0x5b4], 0
je 0x4bc4e0
cmp dword [ebp - 0x5b4], 5
je 0x4bc4a3
cmp dword [ebp - 0x5b4], 0x10
je 0x4bc59c
jmp 0x4bc5d3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 5
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 8], 0
setle cl
add ecx, 1
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov eax, 5
jmp 0x4bf0e4
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ecx]
push edx
call fcn.004b0c2e
add esp, 4
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
and eax, 0xf0
test eax, eax
jne 0x4bc522
mov ecx, dword [ebp - 0x2bc]
and ecx, 7
cmp ecx, 5
je 0x4bc52e
mov edx, dword [ebp - 0x2bc]
and edx, 7
cmp edx, 2
je 0x4bc52e
mov dword [ebp - 8], 0xb
jmp 0x4bf047
mov eax, dword [ebp - 0x2bc]
and eax, 1
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x2a0]
mov byte [ecx + 0x20], al
mov edx, dword [ebp - 0x2bc]
and edx, 2
neg edx
sbb edx, edx
neg edx
mov eax, dword [ebp - 0x2a0]
mov byte [eax + 0x21], dl
mov ecx, dword [ebp - 0x2a0]
xor edx, edx
mov dl, byte [ecx + 0x20]
test edx, edx
je 0x4bc576
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xfffffffa
je 0x4bc58e
mov ecx, dword [ebp - 0x2a0]
xor edx, edx
mov dl, byte [ecx + 0x21]
test edx, edx
je 0x4bc59a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xfffffffa
je 0x4bc59a
mov dword [ebp - 8], 0xb
jmp 0x4bf047
jmp 0x4bc5d8
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp dword [ecx + 0x10], 0xfffffffa
setne dl
mov eax, dword [ebp - 0x2a0]
mov byte [eax + 0x20], dl
mov ecx, dword [ebp - 0x2a0]
xor edx, edx
mov dl, byte [ecx + 0x20]
neg edx
sbb edx, edx
inc edx
mov eax, dword [ebp - 0x2a0]
mov byte [eax + 0x21], dl
mov dword [ebp - 8], 0
jmp 0x4bc5d8
jmp 0x4bf047
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2c4], edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bf3b0
add esp, 0xc
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x4bc612
jmp 0x4bf01e
mov edx, dword [ebp - 0x2c0]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x2c0]
add eax, 0x30
push eax
push 0x1f4
push 1
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00499f33
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4bc65b
push 1
mov edx, dword [ebp - 0x2c0]
mov eax, dword [edx + 0x30]
push eax
call fcn.004aa320
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4bc750
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xc], 0
je 0x4bc710
push 2
lea edx, [ebp - 0x2c8]
push edx
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.004afd8c
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4bc704
mov edx, dword [ebp - 0x2c0]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
push fcn.004b5766
push 1
mov edx, dword [ebp - 0x2c8]
push edx
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.004aae14
add esp, 0x18
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x2c0]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x4c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x4c]
mov dl, byte [edx + 0x79]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x2c0]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp - 0x2c0]
mov byte [eax + 0x20], 0
jmp 0x4bc750
mov ecx, dword [ebp - 0x2c0]
push ecx
push 0
push 0
push 1
push 1
mov edx, dword [ebp - 0x2c0]
mov eax, dword [edx + 0x30]
push eax
call fcn.004aae14
add esp, 0x18
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x2c0]
mov byte [ecx + 0x20], 1
mov edx, dword [ebp - 0x2c0]
add edx, 0x22
mov eax, dword [ebp - 0x2c0]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x2c0]
xor edx, edx
mov dl, byte [ecx + 0x20]
neg edx
sbb edx, edx
inc edx
mov eax, dword [ebp - 0x2c0]
mov byte [eax + 0x21], dl
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2d0], edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bf3b0
add esp, 0xc
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
jne 0x4bc7b2
jmp 0x4bf01e
mov edx, dword [ebp - 0x2cc]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x2cc]
mov byte [eax + 0x1e], 1
mov ecx, dword [ebp - 0x2cc]
add ecx, 0x22
mov edx, dword [ebp - 0x2cc]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp - 0x2cc]
mov byte [eax + 0x20], 1
mov ecx, dword [ebp - 0x2cc]
mov byte [ecx + 0x21], 0
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jl 0x4bc83f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2d4]
cmp edx, dword [ecx + 0x38]
jge 0x4bc83f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x2d4]
mov eax, dword [ecx + edx*4]
push eax
call fcn.004b4238
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x2d4]
mov dword [edx + eax*4], 0
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2d8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
cmp dword [ecx], 0
je 0x4bcae2
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2dc]
mov byte [ecx + 0x1c], 0
cmp dword [ebp - 0x2e0], 6
je 0x4bc8a9
cmp dword [ebp - 0x2e0], 0x3f
je 0x4bc8a9
mov dword [ebp - 0x5b8], 0
jmp 0x4bc8b3
mov dword [ebp - 0x5b8], 1
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x48]
mov cl, byte [ebp - 0x5b8]
mov byte [eax], cl
mov edx, dword [ebp - 0x2dc]
xor eax, eax
mov al, byte [edx + 0x20]
test eax, eax
je 0x4bc99d
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a363d
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x2ec], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x2e8], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jne 0x4bc93c
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x78
jne 0x4bc93c
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0x2ec]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0x2e8]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x2dc]
mov byte [edx + 0x1f], 1
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
jmp case.0x4b9658.10
lea ecx, [ebp - 0x2e4]
push ecx
mov edx, dword [ebp - 0x2e8]
push edx
mov eax, dword [ebp - 0x2ec]
push eax
push 0
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx]
push edx
call fcn.004abc1c
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bc972
jmp 0x4bf047
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0xc], ecx
xor edx, edx
cmp dword [ebp - 0x2e4], 0
sete dl
mov eax, dword [ebp - 0x2dc]
mov byte [eax + 0x19], dl
jmp 0x4bc9dd
lea ecx, [ebp - 0x2e4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx]
push eax
call fcn.004abc1c
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bc9d3
jmp 0x4bf047
mov ecx, dword [ebp - 0x2dc]
mov byte [ecx + 0x19], 0
mov edx, dword [ebp - 0x2dc]
mov byte [edx + 0x1f], 0
mov eax, dword [ebp - 0x2dc]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x48]
mov byte [edx], 0
mov eax, dword [0x51c874]
add eax, 1
mov dword [0x51c874], eax
cmp dword [ebp - 0x2e0], 0x78
je 0x4bca1f
cmp dword [ebp - 0x2e0], 6
jne 0x4bca66
cmp dword [ebp - 0x2e4], 0
jge 0x4bca5a
lea ecx, [ebp - 0x2e4]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx]
push eax
call fcn.004abfbb
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bca4e
jmp 0x4bf047
mov ecx, dword [ebp - 0x2dc]
mov byte [ecx + 0x19], 0
jmp 0x4bca64
mov dword [ebp - 0x2e4], 0
jmp 0x4bcab8
cmp dword [ebp - 0x2e4], 0
jl 0x4bcaa1
lea edx, [ebp - 0x2e4]
push edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax]
push ecx
call fcn.004ac243
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bca95
jmp 0x4bf047
mov edx, dword [ebp - 0x2dc]
mov byte [edx + 0x19], 0
jmp 0x4bcab8
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax]
push ecx
call fcn.004abfa3
add esp, 4
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0
je 0x4bcae2
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jle 0x4bcad8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4bcae2
mov edx, dword [ebp - 0x2dc]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4bcafe
mov edx, dword [ebp - 4]
push edx
call fcn.004a3448
add esp, 4
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2f4], edx
mov dword [ebp - 0x2f0], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x2f4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x2f8]
cmp dword [ecx], 0
je 0x4bcbee
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x12
test eax, eax
jne 0x4bcb75
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004a32d5
add esp, 8
test eax, eax
je 0x4bcb75
jmp 0x4bf01e
lea eax, [ebp - 0x2fc]
push eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x14]
cdq
push edx
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ecx]
push edx
call fcn.004abc1c
add esp, 0x14
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x4bcbc1
cmp dword [ebp - 0x2fc], 0
jne 0x4bcbc1
mov dword [ebp - 0x5bc], 1
jmp 0x4bcbcb
mov dword [ebp - 0x5bc], 0
mov eax, dword [ebp - 0x5bc]
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2f8]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 0x2f8]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x7b
jne 0x4bcc11
cmp dword [ebp - 0x2f0], 0
je 0x4bcc0f
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4bcc26
cmp dword [ebp - 0x2f0], 0
jne 0x4bcc26
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x6a
je 0x4bcc57
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4bcc4e
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3448
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x318], ecx
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 0x308], edx
mov eax, dword [ebp - 4]
push eax
call fcn.004a363d
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x310], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x318]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x304], edx
mov eax, dword [ebp - 0x304]
mov ecx, dword [eax]
mov dword [ebp - 0x314], ecx
cmp dword [ebp - 0x314], 0
je 0x4bce87
mov edx, dword [ebp - 0x308]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x12
test eax, eax
jne 0x4bcd02
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x308]
push edx
call fcn.004a32d5
add esp, 8
test eax, eax
je 0x4bcd02
jmp 0x4bf01e
mov eax, dword [ebp - 0x308]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x31c], ecx
mov edx, dword [ebp - 0x308]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x31c]
push ecx
call fcn.004b5ab4
add esp, 4
mov dword [ebp - 0x320], eax
mov edx, dword [ebp - 0x330]
sub edx, dword [ebp - 0x320]
mov dword [ebp - 0x334], edx
mov eax, dword [ebp - 0x304]
mov dword [eax + 0x60], 0
lea ecx, [ebp - 0x32c]
push ecx
mov eax, dword [ebp - 0x334]
cdq
push edx
push eax
mov edx, dword [ebp - 0x31c]
push edx
mov eax, dword [ebp - 0x314]
push eax
call fcn.004abc1c
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bcd88
jmp 0x4bf047
cmp dword [ebp - 0x32c], 0
jge 0x4bcdc4
lea ecx, [ebp - 0x32c]
push ecx
mov edx, dword [ebp - 0x314]
push edx
call fcn.004abfbb
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x32c], 0
je 0x4bcdc4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4b9658.10
lea edx, [ebp - 0x32c]
push edx
mov eax, dword [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x334]
push ecx
mov edx, dword [ebp - 0x304]
push edx
call fcn.004b5bd2
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bcdf6
jmp 0x4bf047
cmp dword [ebp - 0x32c], 0
jle 0x4bce10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4b9658.10
lea edx, [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x314]
push eax
call fcn.004b5af1
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bce34
jmp 0x4bf047
mov ecx, dword [ebp - 0x328]
cmp ecx, dword [ebp - 0x310]
jne 0x4bce61
mov edx, dword [ebp - 0x324]
cmp edx, dword [ebp - 0x30c]
jne 0x4bce61
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4b9658.10
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x328]
mov dword [eax], ecx
mov edx, dword [ebp - 0x324]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 4
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x33c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x33c]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
mov edx, dword [ecx]
mov dword [ebp - 0x338], edx
cmp dword [ebp - 0x338], 0
je 0x4bcf64
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x34c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x348], edx
lea eax, [ebp - 0x344]
push eax
mov ecx, dword [ebp - 0x348]
push ecx
mov edx, dword [ebp - 0x34c]
push edx
push 0
mov eax, dword [ebp - 0x338]
push eax
call fcn.004abc1c
add esp, 0x14
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x340]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ecx + 8], eax
mov edx, dword [edx + 4]
mov dword [ecx + 0xc], edx
xor eax, eax
cmp dword [ebp - 0x344], 0
sete al
mov ecx, dword [ebp - 0x340]
mov byte [ecx + 0x19], al
mov edx, dword [ebp - 0x340]
mov byte [edx + 0x1c], 0
mov eax, dword [ebp - 0x340]
mov dword [eax + 0x60], 0
cmp dword [ebp - 0x344], 0
je 0x4bcf64
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x340]
mov byte [eax + 0x19], 0
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4bcf80
mov eax, dword [ebp - 4]
push eax
call fcn.004a3448
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x350]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x58]
mov dword [eax], ecx
mov edx, dword [edx + 0x5c]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x350]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0x58]
add ecx, 1
mov edx, dword [eax + 0x5c]
adc edx, 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov esi, dword [ebp - 0x350]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x35c], eax
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x35c]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x360], ecx
mov edx, dword [ebp - 0x360]
cmp dword [edx], 0
jne 0x4bd043
jmp 0x4bd43d
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x364], 0
mov eax, dword [ebp - 0x360]
mov ecx, dword [eax]
push ecx
call fcn.004b0c2e
add esp, 4
and eax, 3
cmp eax, 1
je 0x4bd07c
mov dword [ebp - 8], 0xb
jmp 0x4bf047
mov edx, dword [ebp - 0x360]
xor eax, eax
mov al, byte [edx + 0x1b]
test eax, eax
jne 0x4bd29d
mov ecx, dword [ebp - 0x360]
xor edx, edx
mov dl, byte [ecx + 0x1d]
test edx, edx
je 0x4bd0bb
mov eax, dword [ebp - 0x360]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x358], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x354], edx
jmp 0x4bd16f
lea eax, [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx]
push edx
call fcn.004abb3d
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bd0e1
jmp 0x4bf047
cmp dword [ebp - 0x368], 0
je 0x4bd100
mov dword [ebp - 0x358], 1
mov dword [ebp - 0x354], 0
jmp 0x4bd16f
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx]
push edx
call fcn.004ab1c0
add esp, 8
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x354], ecx
cmp dword [ebp - 0x358], 0xffffffff
jne 0x4bd151
cmp dword [ebp - 0x354], 0x7fffffff
jne 0x4bd151
mov edx, dword [ebp - 0x360]
mov byte [edx + 0x1b], 1
jmp 0x4bd16f
mov eax, dword [ebp - 0x358]
add eax, 1
mov ecx, dword [ebp - 0x354]
adc ecx, 0
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
je 0x4bd252
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
push ecx
call fcn.004a363d
add esp, 4
mov edx, dword [ebp - 0x378]
mov dword [ebp - 0x5c0], edx
mov eax, dword [ebp - 0x5c0]
cmp dword [eax], 0xffffffff
jne 0x4bd1c8
mov ecx, dword [ebp - 0x5c0]
cmp dword [ecx + 4], 0x7fffffff
je 0x4bd1d7
mov edx, dword [ebp - 0x360]
xor eax, eax
mov al, byte [edx + 0x1b]
test eax, eax
je 0x4bd1e3
mov dword [ebp - 8], 0xd
jmp 0x4bf047
mov ecx, dword [ebp - 0x378]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ecx + 4]
adc eax, 0
mov dword [ebp - 0x5c8], edx
mov dword [ebp - 0x5c4], eax
mov ecx, dword [ebp - 0x354]
cmp ecx, dword [ebp - 0x5c4]
jg 0x4bd23b
jl 0x4bd21e
mov edx, dword [ebp - 0x358]
cmp edx, dword [ebp - 0x5c8]
jae 0x4bd23b
mov eax, dword [ebp - 0x378]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [eax + 4]
adc edx, 0
mov dword [ebp - 0x358], ecx
mov dword [ebp - 0x354], edx
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 0x358]
mov dword [eax], ecx
mov edx, dword [ebp - 0x354]
mov dword [eax + 4], edx
cmp dword [ebp - 0x354], 0x7fffffff
ja 0x4bd293
jb 0x4bd269
cmp dword [ebp - 0x358], 0xffffffff
jae 0x4bd293
mov eax, dword [ebp - 0x360]
mov byte [eax + 0x1d], 1
mov ecx, dword [ebp - 0x358]
add ecx, 1
mov edx, dword [ebp - 0x354]
adc edx, 0
mov eax, dword [ebp - 0x360]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
jmp 0x4bd29d
mov ecx, dword [ebp - 0x360]
mov byte [ecx + 0x1d], 0
mov edx, dword [ebp - 0x360]
xor eax, eax
mov al, byte [edx + 0x1b]
test eax, eax
je 0x4bd41c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x358], edx
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x364], 0
mov ecx, dword [ebp - 0x358]
or ecx, dword [ebp - 0x354]
test ecx, ecx
je 0x4bd2e8
cmp dword [ebp - 0x364], 2
jle 0x4bd324
lea edx, [ebp - 0x358]
push edx
push 8
call fcn.004bf570
add esp, 8
cmp dword [ebp - 0x364], 5
jge 0x4bd322
mov eax, dword [ebp - 0x358]
and eax, 0xffffff
mov ecx, dword [ebp - 0x354]
and ecx, 0
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], ecx
jmp 0x4bd360
lea edx, [ebp - 0x37c]
push edx
push 1
call fcn.004bf570
add esp, 8
mov eax, dword [ebp - 0x37c]
and eax, 0xff
add eax, 1
cdq
mov ecx, dword [ebp - 0x358]
add ecx, eax
mov eax, dword [ebp - 0x354]
adc eax, edx
mov dword [ebp - 0x358], ecx
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x358]
or ecx, dword [ebp - 0x354]
test ecx, ecx
jne 0x4bd372
jmp 0x4bd3c7
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x374], edx
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x370], eax
lea ecx, [ebp - 0x368]
push ecx
mov edx, dword [ebp - 0x370]
push edx
mov eax, dword [ebp - 0x374]
push eax
push 0
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx]
push edx
call fcn.004abc1c
add esp, 0x14
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x364]
add eax, 1
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0x3e8
jge 0x4bd3e9
cmp dword [ebp - 0x36c], 0
jne 0x4bd3e9
cmp dword [ebp - 0x368], 0
je 0x4bd2cf
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x358]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0x354]
mov dword [ecx + 0x2c], eax
cmp dword [ebp - 0x36c], 0
jne 0x4bd41c
cmp dword [ebp - 0x368], 0
jne 0x4bd41c
mov dword [ebp - 8], 0xd
jmp 0x4bf047
mov ecx, dword [ebp - 0x360]
mov byte [ecx + 0x19], 0
mov edx, dword [ebp - 0x360]
mov byte [edx + 0x1f], 0
mov eax, dword [ebp - 0x360]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x358]
mov dword [edx], eax
mov ecx, dword [ebp - 0x354]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x384], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x384]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x388]
cmp dword [ecx], 0
jne 0x4bd4b3
mov edx, dword [ebp - 0x388]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4bd775
mov ecx, dword [ebp - 0x380]
mov edx, dword [ecx]
mov dword [ebp - 0x390], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x38c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
and edx, 1
test edx, edx
je 0x4bd4ec
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x23c]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x23c], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 2
test ecx, ecx
je 0x4bd50d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x380]
mov ecx, dword [eax]
mov dword [edx + 0x20], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 0x388]
xor edx, edx
mov dl, byte [ecx + 0x1d]
test edx, edx
je 0x4bd569
mov eax, dword [ebp - 0x388]
add eax, 0x10
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x5cc], ecx
mov dword [ebp - 0x5d0], eax
mov edx, dword [ebp - 0x5cc]
mov eax, dword [ebp - 0x5d0]
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 4]
jl 0x4bd569
jg 0x4bd55f
mov edx, dword [ebp - 0x5cc]
mov eax, dword [ebp - 0x5d0]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jb 0x4bd569
mov edx, dword [ebp - 0x388]
mov byte [edx + 0x1d], 0
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4bd58d
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x388]
xor edx, edx
mov dl, byte [ecx + 0x1e]
test edx, edx
je 0x4bd693
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 0x38]
push ecx
call fcn.004a1ba2
add esp, 4
mov edx, dword [ebp - 0x388]
mov eax, dword [ebp - 0x390]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp - 0x38c]
mov dword [edx + 0x44], ecx
mov edx, dword [ebp - 0x388]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4bd606
mov ecx, dword [ebp - 0x388]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x38], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
jmp 0x4bd687
push 1
mov edx, dword [ebp - 0x388]
mov eax, dword [edx + 0x34]
add eax, 2
push eax
call fcn.004a1ae0
add esp, 8
mov ecx, dword [ebp - 0x388]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x388]
cmp dword [edx + 0x38], 0
jne 0x4bd637
jmp 0x4bf01e
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x388]
mov edx, dword [ecx + 0x38]
push edx
call fcn.004705f0
add esp, 0xc
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x388]
mov eax, dword [edx + 0x34]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0x388]
mov edx, dword [ecx + 0x34]
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 0x38]
mov byte [ecx + edx + 1], 0
mov edx, dword [ebp - 0x388]
mov byte [edx + 0x1c], 0
jmp 0x4bd6c5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x38c]
push ecx
mov edx, dword [ebp - 0x390]
push edx
push 0
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax]
push ecx
call fcn.004ac48b
add esp, 0x18
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x388]
mov byte [edx + 0x19], 0
mov eax, dword [ebp - 0x388]
mov byte [eax + 0x1f], 0
mov ecx, dword [ebp - 0x388]
mov dword [ecx + 0x60], 0
cmp dword [ebp - 8], 0
jne 0x4bd775
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x74], 0
je 0x4bd775
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4bd775
mov ecx, dword [ebp - 0x388]
mov edx, dword [ecx + 4]
imul edx, edx, 0x18
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx]
mov dword [ebp - 0x394], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x39c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
and eax, 4
neg eax
sbb eax, eax
and eax, 5
add eax, 0x12
mov dword [ebp - 0x398], eax
mov ecx, dword [ebp - 0x38c]
push ecx
mov edx, dword [ebp - 0x390]
push edx
mov eax, dword [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x394]
push ecx
mov edx, dword [ebp - 0x398]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x70]
push ecx
mov edx, dword [ebp - 0xc]
call dword [edx + 0x74]
add esp, 0x18
push 2
lea eax, [ebp - 4]
push eax
call fcn.004bf362
add esp, 8
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3a0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x3a4], eax
mov ecx, dword [ebp - 0x3a4]
cmp dword [ecx], 0
je 0x4bd8e6
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x74], 0
je 0x4bd831
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4bd831
mov ecx, dword [ebp - 0x3a4]
xor edx, edx
mov dl, byte [ecx + 0x19]
test edx, edx
je 0x4bd7f3
mov eax, dword [ebp - 0x3a4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3ac], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x3a8], edx
jmp 0x4bd831
lea eax, [ebp - 0x3ac]
push eax
mov ecx, dword [ebp - 0x3a4]
mov edx, dword [ecx]
push edx
call fcn.004ab1c0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bd819
jmp 0x4bf047
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3a8], ecx
mov edx, dword [ebp - 0x3a4]
push edx
call fcn.004b5106
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bd84e
jmp 0x4bf047
mov eax, dword [ebp - 0x3a4]
mov ecx, dword [eax]
push ecx
call fcn.004af9eb
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x3a4]
mov byte [edx + 0x1d], 0
mov eax, dword [ebp - 0x3a4]
mov dword [eax + 0x60], 0
cmp dword [ebp - 8], 0
jne 0x4bd8e6
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x74], 0
je 0x4bd8e6
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x4bd8e6
mov eax, dword [ebp - 0x3a4]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x3b0], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x3a8]
push ecx
mov edx, dword [ebp - 0x3ac]
push edx
mov eax, dword [ebp - 0x3b4]
push eax
mov ecx, dword [ebp - 0x3b0]
push ecx
push 9
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x70]
push eax
mov ecx, dword [ebp - 0xc]
call dword [ecx + 0x74]
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
and eax, 1
test eax, eax
je 0x4bd908
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x23c]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x23c], edx
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x4bd92c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x23c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004b5c7b
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x23c], 0
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x3b8], ecx
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x3b8]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x3bc], eax
mov ecx, dword [ebp - 0x3bc]
xor edx, edx
mov dl, byte [ecx + 0x1c]
test edx, edx
je 0x4bd985
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp 0x4bdb27
mov ecx, dword [ebp - 0x3bc]
cmp dword [ecx], 0
je 0x4bdae6
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx]
mov dword [ebp - 0x3c4], eax
mov ecx, dword [ebp - 0x3bc]
push ecx
call fcn.004b5106
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bd9bf
jmp 0x4bf047
mov edx, dword [ebp - 0x3bc]
xor eax, eax
mov al, byte [edx + 0x1c]
test eax, eax
je 0x4bd9dc
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x3bc]
xor eax, eax
mov al, byte [edx + 0x21]
test eax, eax
je 0x4bda0f
lea ecx, [ebp - 0x3cc]
push ecx
mov edx, dword [ebp - 0x3c4]
push edx
call fcn.004ab1c0
add esp, 8
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x3c0], eax
jmp 0x4bda25
lea ecx, [ebp - 0x3c0]
push ecx
mov edx, dword [ebp - 0x3c4]
push edx
call fcn.004ab489
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x3c0]
mov dword [eax + 0x14], ecx
cmp dword [ebp - 0x3c0], 0x20
ja 0x4bda51
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 0x210
mov eax, dword [ebp - 4]
add eax, 0x20
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
jmp 0x4bda95
push 1
mov edx, dword [ebp - 0x3c0]
push edx
call fcn.004a1ae0
add esp, 8
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
jne 0x4bda76
jmp 0x4bf01e
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0x50
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x3d0]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x3bc]
xor edx, edx
mov dl, byte [ecx + 0x21]
test edx, edx
je 0x4bdac5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x3c0]
push edx
push 0
mov eax, dword [ebp - 0x3c4]
push eax
call fcn.004ab4f7
add esp, 0x10
jmp 0x4bdae4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x3c0]
push eax
push 0
mov ecx, dword [ebp - 0x3c4]
push ecx
call fcn.004ab778
add esp, 0x10
jmp 0x4bdb27
mov edx, dword [ebp - 0x3bc]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4bdb1e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0x110
jmp 0x4bdb27
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b], 1
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3dc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x3dc]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3e0]
push ecx
call fcn.004b5106
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bdb71
jmp 0x4bf047
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x3e0]
xor ecx, ecx
mov cl, byte [eax + 0x19]
test ecx, ecx
je 0x4bdba6
mov edx, dword [ebp - 0x3e0]
mov eax, dword [edx + 8]
mov dword [ebp - 0x3d8], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x3d4], ecx
jmp 0x4bdc27
mov edx, dword [ebp - 0x3e0]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4bdbcf
mov ecx, dword [ebp - 0x3e0]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x3d8], edx
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x3d4], eax
jmp 0x4bdc27
mov ecx, dword [ebp - 0x3e0]
xor edx, edx
mov dl, byte [ecx + 0x1c]
test edx, edx
jne 0x4bdbe9
mov eax, dword [ebp - 0x3e0]
cmp dword [eax], 0
jne 0x4bdbf7
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
jmp case.0x4b9658.10
lea edx, [ebp - 0x3d8]
push edx
mov eax, dword [ebp - 0x3e0]
mov ecx, dword [eax]
push ecx
call fcn.004ab1c0
add esp, 8
mov edx, dword [ebp - 0x3d8]
mov dword [ebp - 0x3d8], edx
mov eax, dword [ebp - 0x3d4]
mov dword [ebp - 0x3d4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x3d8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x3d4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x3e4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x3e8], ecx
mov edx, dword [ebp - 0x3e8]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x3e8]
mov byte [eax + 0x19], 0
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3f0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x3f0]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x3f4], eax
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [ecx]
mov dword [ebp - 0x3ec], edx
cmp dword [ebp - 0x3ec], 0
je 0x4bdd1a
lea eax, [ebp - 0x3f8]
push eax
mov ecx, dword [ebp - 0x3ec]
push ecx
call fcn.004abb3d
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x3f4]
mov al, byte [ebp - 0x3f8]
mov byte [edx + 0x1c], al
mov ecx, dword [ebp - 0x3f4]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 0x3f4]
mov dword [edx + 0x60], 0
cmp dword [ebp - 0x3f8], 0
je 0x4bdd18
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jle 0x4bdd18
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp 0x4bdd24
mov eax, dword [ebp - 0x3f4]
mov byte [eax + 0x1c], 0
jmp case.0x4b9658.10
mov ecx, dword [0x51c87c]
add ecx, 1
mov dword [0x51c87c], ecx
mov edx, dword [0x51c874]
sub edx, 1
mov dword [0x51c874], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x404], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x404]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x408], edx
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax]
mov dword [ebp - 0x400], ecx
cmp dword [ebp - 0x400], 0
je 0x4bddc6
lea edx, [ebp - 0x3fc]
push edx
mov eax, dword [ebp - 0x400]
push eax
call fcn.004ab8c1
add esp, 8
mov dword [ebp - 8], eax
xor ecx, ecx
cmp dword [ebp - 0x3fc], 0
sete cl
mov edx, dword [ebp - 0x408]
mov byte [edx + 0x1a], cl
mov eax, dword [ebp - 0x408]
mov byte [eax + 0x1f], 0
mov ecx, dword [ebp - 0x408]
mov dword [ecx + 0x60], 0
jmp 0x4bddd0
mov dword [ebp - 0x3fc], 1
mov edx, dword [ebp - 0x408]
mov al, byte [ebp - 0x3fc]
mov byte [edx + 0x1c], al
cmp dword [ebp - 0x3fc], 0
je 0x4bddfd
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
jle 0x4bddfd
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
and edx, 4
test edx, edx
je 0x4bde14
jmp 0x4bf089
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x410], ecx
mov edx, dword [ebp - 0x410]
mov eax, dword [edx]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
je 0x4bdeee
mov ecx, dword [ebp - 0x410]
xor edx, edx
mov dl, byte [ecx + 0x1c]
test edx, edx
je 0x4bde5f
mov dword [ebp - 0x414], 1
jmp 0x4bdeca
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x68
jne 0x4bde89
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x40c]
push eax
call fcn.004abfbb
add esp, 8
mov dword [ebp - 0x5d4], eax
jmp 0x4bdea5
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x40c]
push edx
call fcn.004ac243
add esp, 8
mov dword [ebp - 0x5d4], eax
mov eax, dword [ebp - 0x5d4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x410]
mov dl, byte [ebp - 0x414]
mov byte [ecx + 0x1c], dl
mov eax, dword [ebp - 0x410]
mov dword [eax + 0x60], 0
cmp dword [ebp - 0x414], 0
jne 0x4bdeec
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [0x51c874]
add eax, 1
mov dword [0x51c874], eax
jmp 0x4bdef8
mov ecx, dword [ebp - 0x410]
mov byte [ecx + 0x1c], 1
mov edx, dword [ebp - 0x410]
mov byte [edx + 0x19], 0
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x41c]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax]
mov dword [ebp - 0x418], ecx
cmp dword [ebp - 0x418], 0
je 0x4bdf8d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x424], edx
push 0
push 0x51c884
mov eax, dword [ebp - 0x428]
cdq
push edx
push eax
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
call fcn.004ac48b
add esp, 0x18
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x420]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4bdfa9
mov edx, dword [ebp - 4]
push edx
call fcn.004a3448
add esp, 4
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x430], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x430]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx]
mov dword [ebp - 0x42c], edx
cmp dword [ebp - 0x42c], 0
je 0x4be046
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x14]
cdq
push edx
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
call fcn.004abc1c
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4be039
cmp dword [ebp - 0x438], 0
jne 0x4be039
mov edx, dword [ebp - 0x42c]
push edx
call fcn.004af9eb
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x434]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4be062
mov eax, dword [ebp - 4]
push eax
call fcn.004a3448
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x440]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov edx, dword [ecx]
mov dword [ebp - 0x43c], edx
cmp dword [ebp - 0x43c], 0
je 0x4be115
mov eax, dword [ebp - 0x444]
xor ecx, ecx
mov cl, byte [eax + 0x1c]
test ecx, ecx
je 0x4be0d4
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4be115
lea eax, [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.004b5af1
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4be0f8
jmp 0x4bf047
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x44c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x448]
mov dword [eax + 4], edx
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x450], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x450]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x454], edx
mov eax, dword [ebp - 0x454]
cmp dword [eax], 0
je 0x4be219
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x12
test edx, edx
jne 0x4be178
mov eax, dword [ebp - 0x1c]
and eax, 0xff
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a32d5
add esp, 8
test eax, eax
je 0x4be178
jmp 0x4bf01e
mov edx, dword [ebp - 0x10]
xor eax, eax
cmp dword [edx + 0xc], 0
setne al
mov ecx, dword [ebp - 0x454]
mov edx, dword [ecx + 0x48]
mov byte [edx], al
lea eax, [ebp - 0x458]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x454]
push edx
call fcn.004b5bd2
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax + 0x48]
mov byte [ecx], 0
cmp dword [ebp - 8], 0
je 0x4be1cd
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x24
jne 0x4be1e9
mov ecx, dword [ebp - 0x458]
neg ecx
mov dword [ebp - 0x458], ecx
jmp 0x4be204
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x3a
jne 0x4be204
mov ecx, dword [ebp - 0x458]
add ecx, 1
mov dword [ebp - 0x458], ecx
cmp dword [ebp - 0x458], 0
jle 0x4be219
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4be235
mov eax, dword [ebp - 4]
push eax
call fcn.004a3448
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x460], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x46c], ecx
lea edx, [ebp - 0x468]
push edx
mov eax, dword [ebp - 0x460]
push eax
call fcn.004a2d78
add esp, 8
mov dword [ebp - 0x464], eax
jmp 0x4be294
mov ecx, dword [ebp - 0x45c]
sub ecx, 1
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x464]
cmp edx, dword [ebp - 0x46c]
jge 0x4be2ee
cmp dword [ebp - 0x45c], 0
jle 0x4be2ee
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, dword [ebp - 0x464]
push ecx
call fcn.004a2d78
add esp, 8
mov edx, dword [ebp - 0x464]
add edx, eax
mov dword [ebp - 0x464], edx
cmp dword [ebp - 0x468], 0
jne 0x4be2ec
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4be2ee
jmp 0x4be285
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4be30a
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3448
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4b9658.10
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x4c], 1
jle 0x4be32d
mov dword [ebp - 8], 6
jmp 0x4be3b2
lea ecx, [ebp - 0x470]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
imul edx, edx, 0x18
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.004b06f2
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
mov eax, dword [ebp - 0x470]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp dword [ebp - 8], 0
jne 0x4be3b2
cmp dword [ebp - 0x470], 0
je 0x4be3b2
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x470]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
add edx, eax
push edx
call fcn.004a714d
add esp, 0xc
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 4]
push eax
call fcn.004b0499
add esp, 8
mov dword [ebp - 8], eax
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
imul edx, edx, 0x18
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
add ecx, edx
mov dword [ebp - 0x47c], ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x30
jne 0x4be411
mov dword [ebp - 0x474], 5
jmp 0x4be41b
mov dword [ebp - 0x474], 2
mov ecx, dword [ebp - 0x474]
push ecx
lea edx, [ebp - 0x478]
push edx
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 4]
push ecx
call fcn.004afd8c
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
jne 0x4be467
mov eax, dword [ebp - 0x478]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp 0x4be470
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x484], edx
mov eax, dword [ebp - 0x484]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 0x14]
xor ecx, ecx
mov cx, word [eax + 0x7a]
and ecx, 1
cmp ecx, 1
je 0x4be4a7
jmp case.0x4b9658.10
mov edx, 1
test edx, edx
je 0x4be4c5
cmp dword [ebp - 0x484], 1
jne 0x4be4c5
mov dword [ebp - 0x5d8], 0x515ba0
jmp 0x4be4cf
mov dword [ebp - 0x5d8], 0x515bb4
mov eax, dword [ebp - 0x5d8]
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x490], ecx
mov edx, dword [ebp + 8]
add edx, 0x230
mov dword [ebp - 0x48c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x480]
push edx
mov eax, dword [ebp - 0x484]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
push str.SELECT_name__rootpage__sql___d_FROM__q._s_WHERE__s
call fcn.004993f0
add esp, 0x14
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
jne 0x4be53c
jmp 0x4bf01e
mov eax, dword [ebp - 0xc]
push eax
call fcn.004a29d7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x44], 1
push 0
lea edx, [ebp - 0x490]
push edx
push fcn.004a0d40
mov eax, dword [ebp - 0x488]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004a09e0
add esp, 0x14
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x488]
push edx
call fcn.004a1ba2
add esp, 4
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x44], 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004a298e
add esp, 4
cmp dword [ebp - 8], 7
jne 0x4be5a5
call fcn.004a3021
jmp 0x4bf01e
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x494], eax
mov ecx, dword [ebp - 0x494]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004c001d
add esp, 8
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004a551c
add esp, 0xc
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004a504b
add esp, 0xc
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004cc260
add esp, 0xc
jmp case.0x4b9658.10
mov dword [ebp - 0x498], 0
jmp 0x4be646
mov eax, dword [ebp - 0x498]
add eax, 1
mov dword [ebp - 0x498], eax
mov ecx, dword [ebp - 0x498]
neg ecx
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov eax, dword [ebp + 8]
cmp edx, dword [eax + 0x28]
jb 0x4be67e
mov ecx, dword [ebp - 0x498]
neg ecx
shl ecx, 6
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + ecx + 0x18]
and eax, 4
test eax, eax
jne 0x4be67c
jmp 0x4be67e
jmp 0x4be637
push 1
mov ecx, dword [ebp - 0x498]
lea edx, [ecx*4 + 4]
push edx
call fcn.004a1ae0
add esp, 8
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x49c], 0
jne 0x4be6aa
jmp 0x4bf01e
mov dword [ebp - 0x4a4], 0
jmp 0x4be6c5
mov eax, dword [ebp - 0x4a4]
add eax, 1
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x4a4]
cmp ecx, dword [ebp - 0x498]
jge 0x4be702
mov edx, dword [ebp - 0x4a4]
neg edx
shl edx, 6
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x4a8], eax
mov ecx, dword [ebp - 0x4a8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4a4]
mov ecx, dword [ebp - 0x49c]
mov dword [ecx + eax*4], edx
jmp 0x4be6b6
mov edx, dword [ebp - 0x4a4]
mov eax, dword [ebp - 0x49c]
mov dword [eax + edx*4], 0
mov ecx, dword [ebp - 0x498]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.004bf362
add esp, 8
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x498]
push ecx
mov edx, dword [ebp - 0x49c]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx + 4]
push ecx
call fcn.004b0c76
add esp, 0xc
mov dword [ebp - 0x4a0], eax
cmp dword [ebp - 0x4a0], 0
je 0x4be777
mov edx, dword [ebp - 0x4a0]
movsx eax, byte [edx]
test eax, eax
jne 0x4be7ae
cmp dword [ebp - 0x4a0], 0
je 0x4be78f
mov ecx, dword [ebp - 0x4a0]
push ecx
call fcn.004a1ba2
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x515bfc
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 2
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0xa2
jmp 0x4be7e2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4a0]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x4a0]
push ecx
call fcn.0046bfa0
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0x62
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0x1b], 1
mov eax, dword [ebp - 0x1c]
and eax, 0xff
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a3040
add esp, 8
mov edx, dword [ebp - 0x49c]
push edx
call fcn.004a1ba2
add esp, 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 4]
push eax
call fcn.004a363d
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
push ecx
call fcn.004cd3c5
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4b9658.10
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
and ecx, 4
test ecx, ecx
je 0x4be857
jmp 0x4bf089
lea edx, [ebp - 0x4b0]
push edx
mov eax, dword [ebp + 8]
add eax, 0x64
push eax
call fcn.004cd4ea
add esp, 8
cmp eax, 0x65
jne 0x4be880
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp 0x4be8a6
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x4b0]
mov dword [ecx], edx
mov eax, dword [ebp - 0x4ac]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4b9658.10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
mov dword [ebp - 0x4b8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x4b8]
cmp edx, dword [ecx + 0x74]
jl 0x4be90d
mov eax, dword [ebp - 0x4b8]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 0x4b8]
add edx, 1
imul edx, edx, 0x18
push edx
mov eax, dword [ebp + 8]
add eax, 0x78
push eax
call fcn.004a1c02
add esp, 8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x4be90d
jmp 0x4bf01e
mov edx, dword [ebp - 0x4b8]
imul edx, edx, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
add ecx, edx
mov dword [ebp - 0x4b4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [edx + 0x20]
mov dword [eax], ecx
mov edx, dword [edx + 0x24]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x23c]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
add eax, 0x64
mov ecx, dword [ebp - 0x4b4]
add ecx, 0xc
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
push ecx
call fcn.004cd3b0
add esp, 4
jmp case.0x4b9658.10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
sub eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x70], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
imul eax, eax, 0x18
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
add edx, eax
mov dword [ebp - 0x4bc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x4bc]
mov edx, dword [ecx]
mov dword [eax + 0x20], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x4bc]
mov ecx, dword [eax + 8]
mov dword [edx + 0x23c], ecx
mov edx, dword [ebp + 8]
add edx, 0x64
push edx
call fcn.004cd57b
add esp, 4
mov eax, dword [ebp - 0x4bc]
add eax, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x64
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
jmp case.0x4b9658.10
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
shl eax, 6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
add edx, eax
push edx
call fcn.004a37ff
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je case.0x4b9658.0
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x4c0], eax
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
push 0x100
mov edx, dword [ebp - 0x4c0]
shl edx, 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
add ecx, edx
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004a3744
add esp, 0xc
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4c8], ecx
mov edx, dword [ebp - 0x4c8]
shl edx, 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
add ecx, edx
mov dword [ebp - 0x4c4], ecx
mov edx, dword [ebp - 0x4c4]
push edx
call fcn.004a363d
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004a363d
add esp, 4
mov ecx, dword [ebp - 0x4c4]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x5dc], ecx
mov dword [ebp - 0x5e0], edx
mov eax, dword [ebp - 0x5dc]
mov ecx, dword [ebp - 0x5e0]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jg 0x4beaff
jl 0x4beaec
mov eax, dword [ebp - 0x5dc]
mov ecx, dword [ebp - 0x5e0]
mov edx, dword [eax]
cmp edx, dword [ecx]
jae 0x4beaff
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x4d0], eax
mov ecx, dword [ebp - 0x4d0]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
mov dword [ebp - 0x4cc], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
cdq
mov ecx, dword [ebp - 0x4cc]
mov esi, dword [ecx]
add esi, eax
mov eax, dword [ecx + 4]
adc eax, edx
mov ecx, dword [ebp - 0x4cc]
mov dword [ecx], esi
mov dword [ecx + 4], eax
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp - 0x4d4]
mov dword [ebp - 0x5e4], ecx
mov edx, dword [ebp - 0x5e4]
cmp dword [edx + 4], 0
jl 0x4beba1
jg 0x4beb95
mov eax, dword [ebp - 0x5e4]
cmp dword [eax], 0
jbe 0x4beba1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4e0], ecx
mov edx, dword [ebp - 0x4e0]
shl edx, 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
add ecx, edx
mov dword [ebp - 0x4dc], ecx
mov edx, dword [ebp - 0x4dc]
mov dword [ebp - 0x5e8], edx
mov eax, dword [ebp - 0x5e8]
cmp dword [eax + 4], 0
jg 0x4bebfa
jl 0x4bebee
mov ecx, dword [ebp - 0x5e8]
cmp dword [ecx], 0
jae 0x4bebfa
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x4e8], edx
mov eax, dword [ebp - 0x4e8]
shl eax, 6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
add edx, eax
mov dword [ebp - 0x4e4], edx
mov eax, dword [ebp - 0x4e4]
mov dword [ebp - 0x5ec], eax
mov ecx, dword [ebp - 0x5ec]
mov edx, dword [ebp - 0x5ec]
mov eax, dword [ecx]
or eax, dword [edx + 4]
test eax, eax
jne 0x4bec4f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
push eax
call fcn.004a36ba
add esp, 4
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
cdq
push edx
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
shl eax, 6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
add edx, eax
push edx
call fcn.004a36e5
add esp, 0xc
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
shl edx, 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
add ecx, edx
push ecx
call fcn.004a37ff
add esp, 8
mov dword [ebp - 8], eax
jmp case.0x4b9658.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x554], eax
mov ecx, 1
sub ecx, dword [ebp - 0x554]
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 0x54c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x548], ecx
mov dword [ebp - 0x550], 0
jmp 0x4bed2a
mov edx, dword [ebp - 0x550]
add edx, 1
mov dword [ebp - 0x550], edx
mov eax, dword [ebp - 0x54c]
add eax, 0x40
mov dword [ebp - 0x54c], eax
mov ecx, dword [ebp - 0x550]
cmp ecx, dword [ebp - 0x554]
jge 0x4bed5e
mov edx, dword [ebp - 0x550]
mov eax, dword [ebp - 0x548]
mov ecx, dword [ebp - 0x54c]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x54c]
push edx
call fcn.004b92e0
add esp, 4
jmp 0x4bed0c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x540], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
shl eax, 6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
add edx, eax
mov dword [ebp - 0x544], edx
mov eax, dword [ebp - 0x544]
mov dword [ebp - 0x4f8], eax
mov ecx, dword [ebp - 0x544]
mov edx, dword [ecx + 0x14]
add edx, 1
mov eax, dword [ebp - 0x544]
mov dword [eax + 0x14], edx
mov word [ebp - 0x520], 1
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x51c], 0
mov byte [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0
mov ecx, dword [ebp - 0x540]
xor edx, edx
mov dl, byte [ecx + 3]
test edx, edx
je 0x4bedeb
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x4f0], ecx
mov edx, dword [ebp - 0x548]
push edx
mov eax, dword [ebp - 0x554]
push eax
lea ecx, [ebp - 0x540]
push ecx
mov edx, dword [ebp - 0x540]
call dword [edx + 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x554]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004bf362
add esp, 8
mov edx, dword [ebp - 0x4f4]
and edx, 0xff
test edx, edx
je 0x4bee5a
push 0
lea eax, [ebp - 0x538]
push eax
call fcn.0049a970
add esp, 4
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004a1ccf
add esp, 0xc
mov dword [ebp - 8], 1
lea edx, [ebp - 0x538]
push edx
call fcn.004a3448
add esp, 4
jmp case.0x4b9658.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
mov dword [ebp - 0x558], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x558]
push eax
call fcn.004a3389
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x4beec8
push 0
mov ecx, dword [ebp - 0x558]
push ecx
call fcn.0049a970
add esp, 4
push eax
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004a1ccf
add esp, 0xc
jmp case.0x4b9658.10
mov eax, dword [ebp - 0xc]
push eax
call fcn.004a29d7
add esp, 4
test eax, eax
je 0x4beee2
jmp 0x4bf040
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004cfe7f
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004a298e
add esp, 4
test eax, eax
je 0x4bef10
jmp 0x4bf040
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
jne 0x4bef2c
mov edx, dword [ebp - 0xc]
push edx
call fcn.004b5ca7
add esp, 4
jmp 0x4bef36
mov eax, dword [ebp + 8]
mov byte [eax + 0x238], 1
jmp case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x560], edx
xor eax, eax
cmp dword [ebp - 0x560], 0
setl al
mov byte [ebp - 0x55c], al
mov ecx, dword [ebp - 0x55c]
and ecx, 0xff
test ecx, ecx
je 0x4bef7b
mov edx, dword [ebp - 0x560]
imul edx, edx, 0xffffffff
sub edx, 1
mov dword [ebp - 0x560], edx
mov al, byte [ebp - 0x55c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x560]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 4]
push eax
call fcn.004b20fe
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 6
jne case.0x4b9658.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x564], edx
push 0
mov eax, dword [ebp - 0x564]
push eax
push str.database_table_is_locked:
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004a1ccf
add esp, 0x10
jmp 0x4b956e
cmp dword [ebp - 8], 0
je 0x4beffa
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0x80], eax
mov dword [ebp - 8], 1
jmp 0x4bf001
mov dword [ebp - 8], 0x65
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b4493
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 8]
jmp 0x4bf0e4
push 0
push 0x515c1c
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004a1ccf
add esp, 0xc
mov dword [ebp - 8], 7
jmp 0x4befdf
mov dword [ebp - 8], 0x15
mov edx, dword [ebp + 8]
cmp dword [edx + 0x230], 0
jne 0x4bf084
call fcn.004a2fef
test eax, eax
je 0x4bf063
mov dword [ebp - 8], 7
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004997ea
add esp, 4
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004a1ccf
add esp, 0xc
jmp 0x4befdf
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
and al, 0xfb
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x30], 0xf03b7906
je 0x4bf0ac
mov dword [ebp - 8], 0x15
jmp 0x4bf0b3
mov dword [ebp - 8], 9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x80], ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.004997ea
add esp, 4
push eax
mov eax, dword [ebp + 8]
add eax, 0x230
push eax
call fcn.004a1ccf
add esp, 0xc
jmp 0x4befdf
pop edi
pop esi
mov esp, ebp
pop ebp
ret