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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ecx, ecx
push esi
mov eax, dword [esi]
mov ebx, dword [esi + 0x68]
mov edi, dword [esi + 0x58]
mov dword [ebp - 8], eax
mov al, byte [eax + 0x4e]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ecx
mov byte [ebp - 0xb4], cl
mov byte [ebp - 0x38], al
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x5c], edi
call fcn.004f3b30
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, dword [ecx + 0x148]
test eax, eax
je 0x4f91d6
mov eax, dword [esi + 0xb4]
mov edx, ecx
mov ecx, dword [edx + 0x150]
xor edx, edx
div ecx
sub ecx, edx
mov dword [ebp - 0x58], ecx
jmp 0x4f91dd
mov dword [ebp - 0x58], 0xffffffff
cmp dword [esi + 0x28], 7
je 0x4fe7f9
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x78], ecx
mov dword [eax + 0x19c], ecx
mov edx, dword [eax + 0x110]
cmp edx, ecx
jne 0x4fe819
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x34]
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*8]
mov eax, dword [ebp - 0x7c]
mov cl, byte [ebx]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, ecx
and eax, 0xff
cmp eax, 0xa8
ja case.0x4f9230.86
jmp dword [eax*4 + 0x4fe9a0]
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x34]
lea edx, [eax + eax*4]
mov eax, 0x2aaaaaab
lea ecx, [edi + edx*8]
mov edx, ebx
sub edx, esi
imul edx
sar edx, 2
mov esi, edx
mov eax, edx
shr esi, 0x1f
add eax, esi
mov word [ecx + 8], 4
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x4fe371
mov ebx, dword [ebx + 4]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp + 8]
lea eax, [ebx + ebx*4]
mov ecx, dword [edi + eax*8]
lea eax, [edi + eax*8]
mov edi, dword [ebp - 0x5c]
lea ecx, [ecx + ecx*2]
mov word [eax + 8], 0x80
lea ebx, [edx + ecx*8]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebx + 0xc]
dec eax
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov word [ecx + 8], 4
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ebx, dword [ebx + 4]
mov esi, dword [ebp + 8]
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + ecx*8]
lea edi, [edi + ecx*8]
mov ecx, dword [ebp - 0x34]
lea edx, [eax + eax*2]
mov eax, dword [ecx + edx*8 + 8]
mov word [edi + 8], 0x80
mov edi, dword [ebp - 0x5c]
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*8 - 0x18]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x34]
sub ebx, esi
lea ecx, [eax + eax*4]
mov eax, 0x2aaaaaab
imul ebx
sar edx, 2
mov ebx, edx
mov eax, edx
shr ebx, 0x1f
lea edi, [edi + ecx*8]
add eax, ebx
cdq
mov word [edi + 8], 4
mov ecx, dword [edi]
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x5c]
lea edx, [ecx + ecx*2]
lea ebx, [esi + edx*8]
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
test byte [edi + eax*8 + 8], 1
je case.0x4f9230.86
mov edx, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebx + 4]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
test eax, eax
mov dword [ebp - 0x24], edx
jne 0x4fe44a
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x4fe44a
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 8]
mov dword [esi + 0xc8], edx
mov edx, dword [esi + 0xd0]
dec edx
mov dword [esi + 0xd0], edx
mov eax, dword [esi + 0x2c]
push eax
push ecx
call fcn.004f5580
push edi
call fcn.004f4b30
mov ecx, dword [ebx + 8]
add esp, 0xc
cmp ecx, 4
jne 0x4f93bb
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + edx*8 + 8]
dec eax
mov ebx, dword [esi + 0x68]
mov ecx, dword [esi + 0x58]
mov esi, dword [ebp + 8]
lea edx, [eax + eax*2]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], ecx
lea ebx, [ebx + edx*8]
mov edi, ecx
add ebx, 0x18
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov ecx, eax
mov eax, dword [ebx + 4]
cdq
add esp, 8
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ebx, 0x18
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
mov edx, dword [ecx]
add ebx, 0x18
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov word [eax + 8], 8
mov edx, dword [ebx + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov ecx, dword [edx]
add esp, 8
mov dword [eax], ecx
add ebx, 0x18
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
push eax
call fcn.004e3e60
mov dword [ebx + 4], eax
mov al, byte [ebp - 0x38]
add esp, 0xc
cmp al, 1
je 0x4f94e2
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
push 0
push 1
push 0xffffffffffffffff
push ecx
push edx
call fcn.004f2d30
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe964
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
and eax, 0xff
push eax
push ecx
call fcn.004f5980
add esp, 8
test eax, eax
jne 0x4fe7f9
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0
or byte [eax + 9], 8
cmp byte [ebx + 1], 0xf9
jne 0x4f94d2
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.004e1e40
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebx + 1], 0xf9
mov ecx, dword [eax + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 4], edx
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 4]
cmp eax, dword [ecx + 0x6c]
jg 0x4fe964
mov byte [ebx], 0x48
push ebx
push esi
call fcn.00508600
mov ecx, eax
add esp, 8
mov word [ecx + 8], 0xa02
mov edx, dword [ebx + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [ebx + 4]
mov dl, byte [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov byte [ecx + 0xa], dl
mov eax, dword [ebx + 0xc]
test eax, eax
jle case.0x4f9230.86
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
xor eax, eax
mov ax, word [ebx + 2]
mov edi, dword [esi]
cdq
cmp edi, eax
jne case.0x4f9230.86
mov eax, dword [esi + 4]
cmp eax, edx
jne case.0x4f9230.86
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov word [ecx + 8], 0xa10
add ebx, 0x18
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov esi, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 0xc]
add esp, 8
sub eax, esi
mov esi, dword [ebx + 4]
neg esi
sbb esi, esi
and esi, 0x100
inc esi
mov word [edi + 8], si
mov dword [edi + 0xc], 0
test eax, eax
jle case.0x4f9230.86
mov dword [ebp - 0xc], eax
add edi, 0x28
push edi
call fcn.004f2bc0
mov eax, dword [ebp - 0xc]
add esp, 4
dec eax
mov word [edi + 8], si
mov dword [edi + 0xc], 0
mov dword [ebp - 0xc], eax
jne 0x4f9591
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov esi, dword [ebp + 8]
lea ecx, [eax + eax*4]
mov dx, word [edi + ecx*8 + 8]
lea eax, [edi + ecx*8]
mov edi, dword [ebp - 0x5c]
and edx, 0xff41
or edx, 1
add ebx, 0x18
mov word [eax + 8], dx
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov ecx, dword [ebx + 0x10]
mov esi, eax
mov eax, dword [ebx + 4]
push 0
push 0
push eax
push ecx
push esi
call fcn.004f2d30
mov dl, byte [ebp - 0x38]
mov edi, dword [ebp - 0x5c]
add esp, 0x1c
mov byte [esi + 0xa], dl
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x64]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8 - 0x28]
push eax
mov dword [ebp - 0x18], eax
call fcn.00506c30
add esp, 4
test eax, eax
jne 0x4fe964
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 9], 0x24
lea eax, [edi + edx*8]
mov dword [ebp - 0x14], eax
je 0x4f9657
push eax
call fcn.004f2bc0
add esp, 4
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov ecx, 5
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov cx, word [eax + 8]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
and ecx, 0xebff
or ecx, 0x840
add ebx, 0x18
mov word [eax + 8], cx
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0xc], edx
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], ecx
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov eax, dword [ebp - 0x1c]
push eax
push edi
call fcn.004f88d0
add esp, 8
test byte [edi + 9], 0x10
je 0x4f96c7
push edi
call fcn.004f3100
add esp, 4
test eax, eax
jne 0x4fe7f9
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add edx, 0x28
add edi, 0x28
dec eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], eax
jne 0x4f96a3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0xc], ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*4]
lea edi, [edi + ecx*8]
mov edx, dword [ebp - 0x1c]
push 0x1000
push edx
push edi
call fcn.00506c60
add esp, 0xc
test byte [edi + 9], 0x10
je 0x4f972e
push edi
call fcn.004f3100
add esp, 4
test eax, eax
jne 0x4fe7f9
mov eax, dword [ebp - 0xc]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [ebp - 0xc], eax
je case.0x4f9230.86
mov eax, dword [ebp - 0x1c]
add edi, 0x28
add eax, 0x28
mov dword [ebp - 0x1c], eax
jmp 0x4f9705
mov eax, dword [ebx + 4]
push 0x1000
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push edx
call fcn.00506c60
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 4]
push ecx
mov edx, dword [edi + eax*8]
mov eax, dword [ebx + 8]
push edx
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
push ecx
call fcn.004f6800
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea ecx, [edi + edx*8]
mov dword [ebp - 0x1c], ecx
lea edx, [edi + eax*8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], edx
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov ax, word [ecx + 8]
mov cl, byte [edx + 8]
mov dword [ebp - 0x14], edi
or cl, al
mov dword [ebp - 0x2c], eax
test cl, 1
je 0x4f97f7
push edi
call fcn.004f2bc0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x4f9215
test al, 0x12
jne 0x4f981e
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
push 0
push edx
push eax
call fcn.004f5e70
add esp, 0xc
test eax, eax
jne 0x4fe7f9
mov ecx, dword [ebp - 0x1c]
mov ax, word [ecx + 8]
jmp 0x4f983e
test ah, 0x40
je 0x4f9846
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004f31b0
add esp, 4
test eax, eax
jne 0x4fe7f9
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 8]
and eax, 0xfffd
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
mov ax, word [ecx + 8]
test al, 0x12
mov dword [ebp - 0xc], eax
jne 0x4f9876
mov edx, dword [ebp - 0x38]
push 0
mov eax, ecx
push edx
push eax
call fcn.004f5e70
add esp, 0xc
test eax, eax
jne 0x4fe7f9
mov ecx, dword [ebp - 0x10]
mov ax, word [ecx + 8]
jmp 0x4f9896
test ah, 0x40
je 0x4f989e
mov edx, dword [ebp - 0x10]
push edx
call fcn.004f31b0
add esp, 4
test eax, eax
jne 0x4fe7f9
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 8]
and eax, 0xfffd
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc]
mov ecx, dword [edx + 0xc]
add eax, ecx
cdq
mov edi, eax
mov eax, dword [ebp - 8]
mov ecx, edx
mov dword [ebp - 0x1f0], edi
mov eax, dword [eax + 0x6c]
cdq
cmp ecx, edx
jg 0x4fe964
jl 0x4f98d0
cmp edi, eax
ja 0x4fe964
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
xor ecx, ecx
cmp eax, edx
sete cl
add edi, 3
push ecx
push edi
push eax
call fcn.004f2fb0
add esp, 0xc
test eax, eax
jne 0x4fe7f9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dx, word [eax + 8]
and edx, 0x3e40
or edx, 2
cmp eax, ecx
mov word [eax + 8], dx
je 0x4f9937
mov eax, ecx
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov edx, ecx
shr ecx, 2
mov edi, dword [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cx, word [ebp - 0xc]
mov word [edx + 8], cx
jmp 0x4f993a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov edi, dword [eax + 0x10]
mov ecx, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
mov edx, dword [ebp - 0x10]
add edi, dword [edx + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cx, word [ebp - 0x2c]
mov esi, dword [ebp + 8]
mov word [edx + 8], cx
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x1f0]
mov edi, dword [ebp - 0x5c]
mov byte [edx + ecx], 0
mov edx, dword [eax + 0x10]
mov byte [edx + ecx + 1], 0
mov edx, dword [eax + 0x10]
mov byte [edx + ecx + 2], 0
or byte [eax + 9], 2
mov dword [eax + 0xc], ecx
mov cl, byte [ebp - 0x38]
mov byte [eax + 0xa], cl
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
push esi
call fcn.00508520
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
push eax
mov dword [ebp - 0x10], eax
call fcn.00508520
mov ecx, dword [ebx + 0xc]
add esp, 8
lea ecx, [ecx + ecx*4]
lea edx, [edi + ecx*8]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov dl, byte [ebp - 0x18]
mov cx, word [ecx + 8]
and al, dl
or cx, word [esi + 8]
test al, 4
je 0x4f9ae4
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x70], edx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x6c], ecx
xor ecx, ecx
mov cl, byte [ebx]
add ecx, 0xffffff99
cmp ecx, 3
ja case.default.0x4f9a0b
jmp dword [ecx*4 + 0x4fec44]
push edi
lea edx, [ebp - 0x70]
push eax
push edx
call fcn.004fee50
add esp, 0xc
test eax, eax
jne 0x4f9aed
jmp 0x4f9ab7
push edi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004fef00
add esp, 0xc
test eax, eax
jne 0x4f9aed
jmp 0x4f9ab7
push edi
lea ecx, [ebp - 0x70]
push eax
push ecx
call fcn.004fef60
add esp, 0xc
test eax, eax
jne 0x4f9aed
jmp 0x4f9ab7
mov ecx, eax
or ecx, edi
je 0x4f9bbf
mov ecx, eax
and ecx, edi
cmp ecx, 0xffffffff
jne 0x4f9a7d
test edx, edx
jne 0x4f9a7d
cmp dword [ebp - 0x6c], 0x80000000
je 0x4f9aed
push edi
push eax
mov eax, dword [ebp - 0x6c]
push eax
push edx
call fcn.005a8150
jmp 0x4f9ab1
mov ecx, eax
or ecx, edi
je 0x4f9bbf
mov ecx, eax
and ecx, edi
cmp ecx, 0xffffffff
jne 0x4f9aa5
mov eax, 1
xor edi, edi
push edi
push eax
mov eax, dword [ebp - 0x6c]
push eax
push edx
call fcn.005a8200
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x70]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x6c]
mov dword [eax + 4], edx
mov cx, word [eax + 8]
and ecx, 0x3e40
or ecx, 4
add ebx, 0x18
mov word [eax + 8], cx
jmp 0x4f9215
test cl, 1
jne 0x4f9bbf
push esi
call fcn.004f5fc0
mov edx, dword [ebp - 0x10]
fstp qword [ebp - 0x28]
push edx
call fcn.004f5fc0
xor eax, eax
add esp, 8
mov al, byte [ebx]
add eax, 0xffffff99
cmp eax, 3
ja case.default.0x4f9b0e
jmp dword [eax*4 + 0x4fec54]
fadd qword [ebp - 0x28]
jmp 0x4f9b8c
fsub qword [ebp - 0x28]
jmp 0x4f9b8c
fmul qword [ebp - 0x28]
jmp 0x4f9b8c
fld qword [ebp - 0x28]
fcomp qword [0x7088e8]
fnstsw ax
test ah, 0x40
jne 0x4f9bbd
fdiv qword [ebp - 0x28]
jmp 0x4f9b8c
push esi
fstp st(0)
call fcn.004f6060
mov esi, eax
mov eax, dword [ebp - 0x10]
push eax
mov edi, edx
call fcn.004f6060
mov ecx, esi
add esp, 8
or ecx, edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
je 0x4f9bbf
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x4f9b71
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.005a8200
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
fild qword [ebp - 0x140]
fstp qword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push edx
push eax
call fcn.004e3e20
add esp, 8
test eax, eax
je 0x4f9bd9
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004f2bc0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x4f9215
fstp st(0)
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004f2bc0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
mov dword [eax], edx
mov edi, dword [ebp - 0x5c]
mov dword [eax + 4], ecx
mov dx, word [eax + 8]
and edx, 0x3e40
or edx, 8
add ebx, 0x18
mov word [eax + 8], dx
jmp 0x4f9215
mov eax, dword [ebx + 4]
test eax, eax
je case.0x4f9230.86
lea eax, [eax + eax*4]
push 0
push 0
lea ecx, [edi + eax*8]
push ecx
call fcn.004f6800
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea ecx, [ecx + ecx*4]
lea eax, [eax + eax*4]
lea esi, [edi + edx*8]
mov dl, byte [edi + eax*8 + 8]
lea eax, [edi + eax*8]
lea edi, [edi + ecx*8]
mov cl, byte [esi + 8]
or dl, cl
mov dword [ebp - 0x14], edi
test dl, 1
je 0x4f9c75
push edi
call fcn.004f2bc0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x4f9215
push eax
call fcn.004f6060
push esi
mov dword [ebp - 0x88], eax
mov edi, edx
call fcn.004f6060
mov esi, eax
mov al, byte [ebx]
add esp, 8
cmp al, 0x63
jne 0x4f9ca9
mov ecx, dword [ebp - 0x88]
and ecx, esi
and edi, edx
mov dword [ebp - 0x88], ecx
jmp 0x4f9db1
cmp al, 0x64
jne 0x4f9cc2
mov ecx, dword [ebp - 0x88]
or ecx, esi
or edi, edx
mov dword [ebp - 0x88], ecx
jmp 0x4f9db1
mov ecx, esi
or ecx, edx
je 0x4f9db1
test edx, edx
jg 0x4f9cfa
jl 0x4f9cd6
test esi, esi
jae 0x4f9cef
mov cl, 0xcb
sub cl, al
cmp edx, 0xffffffff
mov al, cl
jl 0x4f9cfa
jg 0x4f9ce8
cmp esi, 0xffffffc0
jbe 0x4f9cfa
neg esi
adc edx, 0
neg edx
test edx, edx
jl 0x4f9d2f
jg 0x4f9cfa
cmp esi, 0x40
jb 0x4f9d2f
test edi, edi
jg 0x4f9d1f
jl 0x4f9d0a
mov ecx, dword [ebp - 0x88]
test ecx, ecx
jae 0x4f9d1f
cmp al, 0x65
je 0x4f9d1f
or eax, 0xffffffff
cdq
mov dword [ebp - 0x88], eax
mov edi, edx
jmp 0x4f9db1
xor eax, eax
cdq
mov dword [ebp - 0x88], eax
mov edi, edx
jmp 0x4f9db1
cmp al, 0x65
mov eax, dword [ebp - 0x88]
mov ecx, esi
mov edx, edi
jne 0x4f9d50
call fcn.005aac60
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
jmp 0x4f9d9f
call fcn.005a8750
test edi, edi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
jg 0x4f9d9f
jl 0x4f9d71
mov eax, dword [ebp - 0x88]
test eax, eax
jae 0x4f9d9f
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, esi
or edx, 0xffffffff
call fcn.005aac60
mov ecx, dword [ebp - 0x98]
or ecx, eax
mov eax, dword [ebp - 0x94]
or eax, edx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x88]
mov esi, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dx, word [eax + 8]
mov edi, dword [ebp - 0x5c]
and edx, 0x3e40
or edx, 4
add ebx, 0x18
mov word [eax + 8], dx
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
push esi
call fcn.00506960
mov eax, dword [ebx + 8]
mov ecx, dword [esi]
cdq
add esp, 4
add ecx, eax
mov edi, dword [ebp - 0x5c]
mov dword [esi], ecx
mov eax, dword [esi + 4]
adc eax, edx
add ebx, 0x18
mov dword [esi + 4], eax
mov esi, dword [ebp + 8]
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov ax, word [edi + ecx*8 + 8]
test al, 4
lea edi, [edi + ecx*8]
jne 0x4fa35a
mov edx, dword [ebp - 0x38]
push edx
push 0x43
push edi
call fcn.00508490
mov ax, word [edi + 8]
add esp, 0xc
test al, 4
jne 0x4fa35a
mov eax, dword [ebx + 8]
test eax, eax
je 0x4fe5c2
jmp 0x4fe371
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
mov cl, byte [edi + eax*8 + 8]
lea eax, [edi + eax*8]
test cl, 0x24
je case.0x4f9230.86
push eax
call fcn.00506990
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
test byte [edi + ecx*8 + 9], 0x40
lea esi, [edi + ecx*8]
je 0x4f9e9c
push esi
call fcn.004f31b0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x4f9ea3
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
mov al, byte [ebx + 8]
push edx
push eax
push esi
call fcn.005069c0
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea ecx, [edi + ecx*8]
lea edx, [eax + eax*4]
mov dword [ebp - 0x1c], ecx
mov ax, word [ecx + 8]
lea esi, [edi + edx*8]
mov word [ebp - 0x14], ax
mov ax, word [esi + 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
or eax, edx
test al, 1
je 0x4f9f91
mov ax, word [ebx + 2]
test al, 0x80
je 0x4f9f47
mov dl, byte [ebp - 0x10]
mov al, byte [ebp - 0x14]
and dl, al
test dl, 1
je 0x4f9f33
mov eax, dword [ebp - 0x10]
test ah, 1
jne 0x4f9f33
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dword [ebp - 0x20], 0
mov dl, byte [eax + 0x6ffe64]
jmp 0x4fa019
mov al, byte [ebp - 0x10]
and al, 1
neg al
sbb eax, eax
and al, 0xfe
inc eax
mov dword [ebp - 0x20], eax
jmp 0x4fa135
test al, 0x20
je 0x4f9f7b
mov eax, dword [ebx + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], 1
lea eax, [eax + eax*4]
mov cx, word [edi + eax*8 + 8]
lea edi, [edi + eax*8]
and ecx, 0x3e40
or ecx, 1
add ebx, 0x18
mov word [edi + 8], cx
mov edi, dword [ebp - 0x5c]
jmp 0x4f9215
test al, 0x10
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov dl, byte [ebx + 2]
and dl, 0x47
cmp dl, 0x43
jl 0x4fa0b5
test al, 2
je 0x4f9fde
mov dl, byte [ebp - 0x14]
and dl, 0x2e
cmp dl, 2
jne 0x4f9fc5
push 0
push ecx
call fcn.004f8fb0
mov ax, word [esi + 8]
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov word [ebp - 0x10], ax
mov dl, byte [ebp - 0x10]
and dl, 0x2e
cmp dl, 2
jne 0x4f9fde
push 0
push esi
call fcn.004f8fb0
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov al, byte [ecx + 8]
mov dl, byte [esi + 8]
and al, dl
test al, 4
je 0x4fa121
mov eax, dword [esi + 4]
mov edx, dword [ecx + 4]
cmp eax, edx
jl 0x4fa081
jg 0x4fa006
mov eax, dword [ecx]
mov edx, dword [esi]
cmp edx, eax
jbe 0x4fa081
mov dword [ebp - 0x20], 1
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dl, byte [eax + 0x6ffe6c]
mov eax, edx
mov dx, word [ebp - 0x14]
mov word [ecx + 8], dx
mov cx, word [ebp - 0x10]
mov word [esi + 8], cx
mov dx, word [ebx + 2]
test dl, 0x20
je 0x4fbdab
mov ecx, dword [ebx + 8]
mov esi, dword [ebp - 0x20]
test dl, 8
lea ecx, [ecx + ecx*4]
mov dword [ebp - 0x60], esi
lea ecx, [edi + ecx*8]
je 0x4fa05c
xor edx, edx
cmp byte [ebx], 0x35
sete dl
cmp edx, eax
je case.0x4f9230.86
mov dx, word [ecx + 8]
mov esi, dword [ebp + 8]
and edx, 0x3e40
mov edi, dword [ebp - 0x5c]
or edx, 4
add ebx, 0x18
mov word [ecx + 8], dx
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x4f9215
mov eax, dword [ecx + 4]
mov edx, dword [esi + 4]
cmp edx, eax
jg 0x4f9f1b
jl 0x4fa09d
mov eax, dword [ecx]
mov edx, dword [esi]
cmp edx, eax
jae 0x4f9f1b
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dword [ebp - 0x20], 0xffffffff
mov dl, byte [eax + 0x6ffe5c]
jmp 0x4fa019
cmp dl, 0x42
jne 0x4fa121
mov al, byte [ebp - 0x14]
test al, 2
jne 0x4fa0ef
test al, 0x2c
je 0x4fa0ef
mov edx, dword [ebp - 0x38]
push 1
push edx
push ecx
call fcn.004f5e70
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cx, word [eax + 8]
mov eax, dword [ebp - 0x14]
xor cx, ax
and ecx, 0x3e40
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x10]
test al, 2
jne 0x4fa121
test al, 0x2c
je 0x4fa121
mov edx, dword [ebp - 0x38]
push 1
push edx
push esi
call fcn.004f5e70
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov cx, ax
xor cx, word [esi + 8]
and ecx, 0x3e40
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov edx, dword [ebx + 0x10]
push edx
push ecx
push esi
call fcn.00507420
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jge 0x4fa14a
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dl, byte [eax + 0x6ffe5c]
jmp 0x4fa019
jne 0x4fa00d
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dl, byte [eax + 0x6ffe64]
jmp 0x4fa019
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
test byte [ebx + 2], 1
jne 0x4fa189
mov dword [ebp - 0xc], 0
jmp 0x4fa192
mov eax, dword [ebx - 8]
add eax, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebx + 8]
mov dword [ebp - 0x44], eax
test eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0
jle case.0x4f9230.86
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x20]
add ecx, 0x14
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4fa1d4
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ecx]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
mov dl, byte [edx + ecx]
add eax, esi
and edx, 1
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x1c]
add eax, esi
mov dword [ebp - 0x24], edx
lea edx, [edi + ecx*8]
lea ecx, [eax + eax*4]
push edx
lea edx, [edi + ecx*8]
push edx
call fcn.00507420
add esp, 0xc
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x4fa244
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [ebp - 0x44]
inc esi
cmp esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], ecx
jl 0x4fa1c8
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x20]
test byte [edx + ecx], 2
je 0x4fa278
mov edx, dword [ebp - 0x1c]
lea ecx, [esi + edx]
lea ecx, [ecx + ecx*4]
test byte [edi + ecx*8 + 8], 1
jne 0x4fa273
mov edx, dword [ebp - 0x18]
lea ecx, [esi + edx]
lea ecx, [ecx + ecx*4]
test byte [edi + ecx*8 + 8], 1
je 0x4fa278
neg eax
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je case.0x4f9230.86
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
neg eax
mov dword [ebp - 0x60], eax
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebp - 0x60]
test eax, eax
jge 0x4fa2b8
mov ebx, dword [ebx + 4]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
lea edx, [ebx + ebx*2]
lea ebx, [eax + edx*8 - 0x18]
add ebx, 0x18
jmp 0x4f9215
je 0x4fe371
mov ebx, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
lea eax, [ebx + ebx*2]
lea ebx, [ecx + eax*8 - 0x18]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
push 2
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
call fcn.00506910
mov esi, eax
mov eax, dword [ebx + 8]
push 2
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push edx
call fcn.00506910
mov cl, byte [ebx]
add esp, 0x10
cmp cl, 0x2c
jne 0x4fa317
lea eax, [eax + esi*2]
xor ecx, ecx
mov cl, byte [esi + eax + 0x6ffea8]
mov eax, ecx
jmp 0x4fa323
lea edx, [eax + esi*2]
xor eax, eax
mov al, byte [esi + edx + 0x6ffeb4]
mov ecx, dword [ebx + 0xc]
cmp eax, 2
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*8]
jne 0x4fa350
mov dx, word [edi + 8]
mov esi, dword [ebp + 8]
and edx, 0x3e40
or edx, 1
add ebx, 0x18
mov word [edi + 8], dx
mov edi, dword [ebp - 0x5c]
jmp 0x4f9215
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
mov ax, word [edi + 8]
mov esi, dword [ebp + 8]
and eax, 0x3e40
or al, 4
add ebx, 0x18
mov word [edi + 8], ax
mov edi, dword [ebp - 0x5c]
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
push ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
call fcn.00506910
xor eax, dword [ebx + 0x10]
cdq
push edx
push eax
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push edx
call fcn.004f6800
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov al, byte [ecx + 8]
test al, 1
lea esi, [edi + edx*8]
jne 0x4fa3ec
push 0
push ecx
call fcn.00506910
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
push esi
call fcn.004f6800
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
add ebx, 0x18
jmp 0x4f9215
push esi
call fcn.004f2bc0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*4]
lea edi, [edi + ecx*8]
push edi
call fcn.004f2bc0
mov al, byte [esi + 8]
add esp, 4
test al, 1
jne case.0x4f9230.86
push esi
mov word [edi + 8], 4
call fcn.004f6060
mov esi, dword [ebp + 8]
add esp, 4
not eax
not edx
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x4fa4b5
mov edx, dword [esi + 0x68]
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [edi + 0x18]
mov ecx, edx
mov esi, edx
shr ecx, 3
and esi, 7
mov edx, 1
lea edi, [ecx + eax]
mov ecx, esi
shl edx, cl
mov al, byte [edi]
test al, dl
jne 0x4fe371
mov dl, 1
shl dl, cl
or dl, al
add ebx, 0x18
mov byte [edi], dl
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov esi, edx
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 4]
mov dword [ebx - 0x14], ecx
jmp 0x4f9215
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 4]
cmp ecx, eax
je 0x4fe371
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
mov esi, edx
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 4]
mov dword [ebx - 0x14], ecx
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
push edx
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
push ecx
call fcn.00506910
add esp, 8
test eax, eax
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
xor edx, edx
test ecx, ecx
lea eax, [eax + eax*4]
sete dl
lea ecx, [edi + eax*8]
push edx
push ecx
call fcn.00506910
add esp, 8
test eax, eax
je 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 8], 1
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
test byte [edi + eax*8 + 8], 1
je 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + ecx*4]
mov cl, byte [eax + 2]
test cl, cl
je case.0x4f9230.86
mov eax, dword [ebx + 0xc]
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push edx
call fcn.004f2bc0
add esp, 4
jmp 0x4fe371
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + eax*4]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x30], edx
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x30]
push ecx
push edx
mov dword [ebp - 0x64], eax
call fcn.00506ec0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [esi + 0x20]
mov dword [ebp - 0x10], eax
je 0x4fa766
mov cl, byte [edx + 2]
test cl, cl
je 0x4fa63e
cmp byte [edx], 3
jne 0x4fa624
mov ecx, dword [edx + 0x20]
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*8]
mov ecx, dword [edi + 0xc]
mov dword [edx + 0x54], ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x54]
mov dword [ecx + 0x50], edx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edi + 0x10]
mov dword [edx + 0x4c], ecx
jmp 0x4fa678
mov eax, dword [ebp - 0x14]
push eax
call fcn.004f2bc0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x4f9215
mov edi, dword [edx + 0x28]
push edi
call fcn.004f1750
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x30]
add edx, 0x54
push edx
push edi
call fcn.00500820
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov dword [ecx + 0x4c], eax
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
cmp eax, dword [ecx + 0x6c]
ja 0x4fe964
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov edx, dword [esi + 0x20]
mov dword [ecx + 0x1c], edx
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 0x4c]
mov cl, byte [edx]
cmp cl, 0x80
jae 0x4fa69d
and ecx, 0xff
mov dword [eax], ecx
mov ecx, 1
jmp 0x4fa6b4
mov eax, dword [ebp - 0x10]
push eax
push edx
call fcn.004fed80
add esp, 8
and eax, 0xff
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
and ecx, 0xff
xor edi, edi
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp - 0x30]
mov word [ecx + 0x3a], di
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x54]
cmp ecx, dword [eax]
jae 0x4fa6f7
mov dword [edx + 0x4c], edi
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x54], edi
mov ecx, dword [eax]
cmp ecx, 0x18003
ja 0x4fa89e
mov edx, dword [ebp - 0x30]
cmp ecx, dword [edx + 0x50]
jbe 0x4fa766
jmp 0x4fa89e
mov ecx, dword [edx + 0x4c]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
mov dword [ebp - 0x74], edi
mov cx, word [edx + 0x3a]
mov edi, dword [edx + 0x30]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0xc]
add edi, ecx
add ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
lea ecx, [eax*4 + 0x58]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edi]
mov dword [ebp - 0x4c], eax
mov dword [ecx + edx], eax
mov eax, dword [ebp - 0x4c]
cmp eax, 0x80
jae 0x4fa7da
push eax
inc edi
call fcn.00506f90
mov ecx, dword [ebp - 0x78]
and eax, 0xff
cdq
add esp, 4
add ecx, eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
adc eax, edx
jmp 0x4fa811
mov ecx, dword [ebp - 0x64]
xor edi, edi
mov di, word [edx + 0x3a]
cmp edi, ecx
jg 0x4fa932
mov edi, dword [edx + 0x30]
cmp edi, dword [eax]
jae 0x4fa929
mov ecx, dword [edx + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x4fa6fa
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x288]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x288]
push eax
mov eax, dword [ecx]
mov ecx, dword [edx + 0x28]
push eax
push 0
push ecx
call fcn.00506ce0
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov edx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x30]
xor edi, edi
jmp 0x4fa6fd
lea edx, [ebp - 0x4c]
push edx
push edi
call fcn.004fed80
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
and eax, 0xff
add edi, eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00506f70
mov ecx, dword [ebp - 0x78]
add esp, 0xc
add ecx, eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
adc eax, 0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov dword [edx + eax - 0x58], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x30]
cmp eax, ecx
mov eax, dword [ebp - 0x2c]
jg 0x4fa848
cmp edi, eax
jb 0x4fa729
jmp 0x4fa84c
cmp edi, eax
jb 0x4fa864
cmp edi, dword [ebp - 0x2c]
ja 0x4fa879
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x78]
cmp ecx, eax
jne 0x4fa879
mov ecx, dword [ebp - 0x74]
xor eax, eax
cmp ecx, eax
jne 0x4fa879
mov ecx, dword [ebp - 0x74]
xor eax, eax
cmp ecx, eax
jb 0x4fa8c1
ja 0x4fa879
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x78]
cmp ecx, eax
jbe 0x4fa8c1
mov ecx, dword [ebp - 0x10]
cmp dword [ecx], 0
jne 0x4fa888
mov edi, dword [ebp - 0x2c]
xor eax, eax
jmp 0x4fa8c4
mov eax, dword [edx + 0x4c]
test eax, eax
jne 0x4fa89e
lea edx, [ebp - 0x288]
push edx
call fcn.004f3220
add esp, 4
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x4fe5ce
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*8 - 0x18]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov word [edx + 0x3a], ax
sub edi, ecx
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x30], edi
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x4c]
test eax, eax
jne 0x4fa8ef
lea edx, [ebp - 0x288]
push edx
call fcn.004f3220
mov edx, dword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov ax, word [edx + 0x3a]
cmp eax, ecx
jg 0x4fa939
cmp byte [ebx + 1], 0xf5
jne 0x4fa624
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
push 0x800
push ecx
push edx
call fcn.00506c60
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x4f9215
mov dword [ebp - 0x4c], 0
jmp 0x4fa8f2
mov eax, dword [edx + ecx*4 + 0x58]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 9], 0x24
je 0x4fa951
push eax
call fcn.004f2bc0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x64]
add esp, 4
mov eax, dword [ebp - 0x10]
mov edi, dword [edx + 0x54]
cmp edi, dword [eax + ecx*4 + 4]
jb 0x4faa18
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0x4c]
add edi, eax
mov eax, dword [ebp - 0x4c]
cmp eax, 0xc
jae 0x4fa98d
mov ecx, dword [ebp - 0x14]
push ecx
push eax
push edi
call fcn.00507030
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0x38]
add eax, 0xfffffff4
shr eax, 1
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x18], eax
mov byte [ecx + 0xa], dl
mov edx, dword [ecx + 0x18]
add eax, 2
cmp edx, eax
jge 0x4fa9c7
push 0
push eax
push ecx
mov word [ecx + 8], 1
call fcn.004f2fb0
add esp, 0xc
test eax, eax
jne 0x4fe7f9
jmp 0x4fa9cd
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov edx, ecx
mov esi, edi
mov edi, dword [eax + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov byte [ecx + edx], 0
mov edx, dword [eax + 0x10]
mov byte [ecx + edx + 1], 0
mov ecx, dword [ebp - 0x4c]
and ecx, 1
add ebx, 0x18
mov dx, word [ecx*2 + 0x6ffec0]
mov word [eax + 8], dx
jmp 0x4f9215
mov esi, dword [ebp - 0x14]
mov al, byte [ebp - 0x38]
mov byte [esi + 0xa], al
mov ax, word [ebx + 2]
mov ecx, dword [ebp - 0x4c]
test al, 0xc0
je 0x4faa3a
cmp ecx, 0xc
jb 0x4faa36
test cl, 1
je 0x4faa4a
test al, 0x80
jne 0x4faa4a
push ecx
call fcn.00506f70
add esp, 4
test eax, eax
jne 0x4faa67
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
push 0x778114
call fcn.00507030
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x10]
push esi
push eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x30]
push eax
mov edx, dword [ecx + 0x28]
push edx
call fcn.00506ce0
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4c]
push esi
push eax
mov ecx, dword [esi + 0x10]
push ecx
call fcn.00507030
mov edi, dword [ebp - 0x5c]
add esp, 0xc
and word [esi + 8], 0xefff
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 0x10]
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov eax, dword [ebp - 0x38]
mov cl, byte [esi]
push eax
push ecx
push edi
call fcn.00508490
mov al, byte [esi]
add esp, 0xc
cmp al, 0x45
jne 0x4fab33
mov ax, word [edi + 8]
test al, 4
je 0x4fab33
mov ecx, dword [edi + 4]
mov edx, dword [edi]
cmp ecx, 0x7fff
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], ecx
jg 0x4fab1a
jl 0x4faaff
cmp edx, 0xffffffff
ja 0x4fab1a
cmp ecx, 0xffff8000
jl 0x4fab1a
jg 0x4fab0d
test edx, edx
jb 0x4fab1a
and eax, 0xfffb
or al, 0x20
mov word [edi + 8], ax
jmp 0x4fab33
fild qword [ebp - 0x148]
fstp qword [edi]
mov dx, word [edi + 8]
and edx, 0xfffb
or edx, 8
mov word [edi + 8], dx
mov al, byte [esi + 1]
inc esi
test al, al
je case.0x4f9230.86
add edi, 0x28
jmp 0x4faac1
xor eax, eax
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0xc], ecx
lea eax, [eax + eax*4]
lea edx, [edi + eax*8]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x2c], edx
lea eax, [eax + eax*4]
lea edx, [edx + eax*8 - 0x28]
xor eax, eax
mov al, byte [esi + 0x93]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
test ecx, ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [ebp - 0x14], eax
je 0x4fabdb
mov ecx, dword [ebp - 0x2c]
lea edi, [ecx + 8]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x38]
push edx
lea edx, [edi - 8]
mov cl, byte [eax]
push ecx
push edx
call fcn.00508490
mov ecx, dword [ebp - 0xc]
add esp, 0xc
cmp byte [ecx], 0x45
jne 0x4fabcd
mov ax, word [edi]
test al, 4
je 0x4fabcd
and eax, 0xfffb
or al, 0x20
mov word [edi], ax
mov al, byte [ecx + 1]
inc ecx
add edi, 0x28
mov dword [ebp - 0xc], ecx
test al, al
jne 0x4fab9e
mov eax, dword [ebp - 0x18]
lea edi, [eax + 0x1c]
mov ax, word [edi - 0x14]
test al, 1
je 0x4fac03
and eax, 0x4000
neg eax
sbb eax, eax
and eax, 0xa
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x4fae7d
test al, 0x24
je 0x4fadbc
mov edx, dword [edi - 0x18]
mov ecx, dword [edi - 0x1c]
test edx, edx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x118], edx
jg 0x4fac41
jl 0x4fac2d
test ecx, ecx
jae 0x4fac41
mov edx, ecx
not edx
mov dword [ebp - 0xa0], edx
mov edx, dword [ebp - 0x118]
not edx
jmp 0x4fac4d
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], edx
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x9c]
test edx, edx
ja 0x4facee
jb 0x4fac73
cmp dword [ebp - 0xa0], 0x7f
ja 0x4facb7
mov eax, ecx
xor edx, edx
and eax, 1
cmp eax, ecx
jne 0x4fac9a
cmp edx, dword [ebp - 0x118]
jne 0x4fac9a
cmp dword [ebp - 0x24], 4
jl 0x4fac9a
mov eax, dword [ebp - 0xa0]
add eax, 8
jmp 0x4fae7b
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add ecx, 1
mov dword [edi], 1
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x4fae7d
mov edx, dword [ebp - 0x9c]
test edx, edx
ja 0x4facee
jb 0x4facd1
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0x7fff
ja 0x4facf4
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add ecx, 2
mov dword [edi], 2
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x4fae7d
mov ecx, dword [ebp - 0xa0]
test edx, edx
ja 0x4fad4a
jb 0x4fad02
cmp ecx, 0x7fffff
ja 0x4fad1f
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add ecx, 3
mov dword [edi], 3
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x4fae7d
test edx, edx
ja 0x4fad4a
jb 0x4fad2d
cmp ecx, 0x7fffffff
ja 0x4fad4a
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add ecx, 4
mov dword [edi], 4
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x4fae7d
cmp edx, 0x7fff
ja 0x4fad76
jb 0x4fad59
cmp ecx, 0xffffffff
ja 0x4fad76
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add ecx, 6
mov dword [edi], 5
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x4fae7d
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
add ecx, 8
adc edx, 0
mov dword [ebp - 0x40], ecx
test al, 0x20
mov dword [ebp - 0x3c], edx
je 0x4fadb1
fild qword [ebp - 0x158]
fstp qword [edi - 0x1c]
mov cx, word [edi - 0x14]
and ecx, 0xffdf
or ecx, 8
mov word [edi - 0x14], cx
mov dword [edi], 7
jmp 0x4fae7d
mov dword [edi], 6
jmp 0x4fae7d
test al, 8
je 0x4fade4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
inc edx
add ecx, 8
mov dword [ebp - 0x10], edx
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov dword [edi], 7
jmp 0x4fae7d
mov ecx, dword [edi - 0x10]
mov edx, eax
shr edx, 1
and edx, 1
mov dword [ebp - 0xc], ecx
test ah, 0x40
lea ecx, [edx + ecx*2 + 0xc]
mov dword [ebp - 0x20], ecx
je 0x4fae4e
mov eax, dword [edi - 0x1c]
mov edx, dword [ebp - 0x40]
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x3c]
or edx, ecx
je 0x4fae31
lea eax, [edi - 0x1c]
push eax
call fcn.004f31b0
add esp, 4
test eax, eax
jne 0x4fe7f9
mov eax, dword [edi - 0x1c]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0xc], ecx
jmp 0x4fae4e
mov ecx, dword [ebp - 0x90]
cdq
add ecx, eax
mov eax, dword [ebp - 0x8c]
adc eax, edx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
add eax, ecx
adc edx, 0
push 0
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x20]
push edx
mov dword [ebp - 0x40], eax
call fcn.004fee10
mov ecx, dword [ebp - 0x10]
add esp, 8
add ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
lea ecx, [edi - 0x1c]
cmp ecx, eax
je 0x4fae8f
sub edi, 0x28
jmp 0x4fabe1
mov eax, dword [ebp - 0x10]
cmp eax, 0x7e
jle 0x4faebb
cdq
push edx
push eax
call fcn.004fee10
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ebp - 0x10], eax
cdq
push edx
push eax
call fcn.004fee10
add esp, 0x10
cmp edi, eax
jge 0x4faebf
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x90]
cdq
mov dword [ebp - 0x108], eax
add ecx, eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x104], edx
adc eax, edx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x150], ecx
add ecx, edi
mov edi, dword [ebp - 0x14]
adc eax, edx
mov dword [ebp - 0x134], eax
mov eax, dword [edi + 0x18]
cdq
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x134]
cmp eax, edx
jg 0x4faf1e
jl 0x4faf16
cmp ecx, dword [ebp - 0x1d0]
ja 0x4faf1e
mov edx, dword [edi + 0x14]
mov dword [edi + 0x10], edx
jmp 0x4faf5f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6c]
cdq
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x134]
cmp eax, edx
jg 0x4fe964
jl 0x4faf47
cmp ecx, dword [ebp - 0x1d8]
ja 0x4fe964
mov ecx, dword [ebp - 0x150]
push ecx
push edi
call fcn.004f2f80
add esp, 8
test eax, eax
jne 0x4fe7f9
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x90]
mov dword [edi + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov ecx, eax
mov word [edi + 8], 0x10
or ecx, edx
je 0x4faf86
mov dword [edi], eax
or byte [edi + 9], 0x40
mov esi, dword [edi + 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, 0x80
lea edx, [esi + eax]
mov dword [ebp - 0xc], edx
jae 0x4fafa2
mov byte [esi], al
mov eax, 1
jmp 0x4fafb9
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x108]
push eax
push ecx
push esi
call fcn.004fec70
add esp, 0xc
mov edi, dword [ebp - 0x2c]
and eax, 0xff
add esi, eax
mov eax, dword [edi + 0x1c]
cmp eax, 0x80
mov dword [ebp - 0x20], eax
jae 0x4fafd9
mov byte [esi], al
mov eax, 1
jmp 0x4fafe8
mov edx, dword [ebp - 0x20]
push 0
push edx
push esi
call fcn.004fec70
add esp, 0xc
mov ecx, dword [ebp - 0xc]
and eax, 0xff
add esi, eax
mov eax, dword [ebp - 0x20]
push eax
push edi
push ecx
call fcn.00506fb0
mov edx, dword [ebp - 0xc]
add edi, 0x28
add edx, eax
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp edi, eax
mov dword [ebp - 0xc], edx
jbe 0x4fafc3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
xor edi, edi
mov ecx, dword [eax + edx*4]
lea edx, [ebp - 0xe4]
push edx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0xe4], edi
push eax
mov dword [ebp - 0xe0], edi
call fcn.005059c0
add esp, 8
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x4fe853
push ebx
push esi
call fcn.00508600
mov ecx, dword [ebp - 0xe4]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [eax], ecx
mov edx, dword [ebp - 0xe0]
add esp, 8
mov dword [eax + 4], edx
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x10]
test ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
jne 0x4fb158
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xb8]
test edx, edx
jg 0x4fe38c
push eax
call fcn.004e3e60
mov esi, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1d0]
mov ecx, dword [eax + 0x1cc]
add edx, ecx
push edx
push 0
push eax
call fcn.0051c340
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov ecx, dword [ebp - 8]
lea eax, [esi + 0x21]
push 0
push eax
push ecx
call fcn.004e2170
add esp, 0xc
test eax, eax
je 0x4fdf32
lea ecx, [esi + 1]
mov esi, dword [ebp - 0xc]
mov edx, ecx
lea edi, [eax + 0x20]
shr ecx, 2
mov dword [eax], edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x4f]
test dl, dl
je 0x4fb11a
mov byte [ecx + 0x4f], 0
mov byte [ecx + 0x57], 1
jmp 0x4fb120
inc dword [ecx + 0x1cc]
mov edx, dword [ecx + 0x1c4]
mov dword [eax + 0x18], edx
mov dword [ecx + 0x1c4], eax
mov edx, dword [ecx + 0x1d8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0x1dc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x1e0]
mov dword [eax + 0x10], edx
mov ecx, dword [ecx + 0x1e4]
mov dword [eax + 0x14], ecx
jmp 0x4fdf32
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], 0
mov edi, dword [edx + 0x1c4]
test edi, edi
mov dword [ebp - 0x2c], edi
je 0x4fe3a6
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
push eax
push ecx
call fcn.004e3ef0
add esp, 8
test eax, eax
je 0x4fb19d
mov ecx, dword [ebp - 0x20]
mov edi, dword [edi + 0x18]
inc ecx
mov dword [ebp - 0x2c], edi
test edi, edi
mov dword [ebp - 0x20], ecx
je 0x4fe3a6
jmp 0x4fb173
test edi, edi
je 0x4fe3a6
mov edi, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [edi + 0xb8]
cmp eax, ecx
mov eax, dword [ebp - 0x14]
jle 0x4fb1c0
cmp eax, 1
je 0x4fe3c4
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x18], ecx
jne 0x4fb215
mov dl, byte [edi + 0x57]
test dl, dl
je 0x4fb215
cmp eax, 1
mov dword [ebp - 0x1c], 1
jne 0x4fb218
push eax
push esi
call fcn.004f5370
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe915
push esi
mov byte [edi + 0x4f], 1
call fcn.004f37f0
add esp, 4
cmp eax, 5
je 0x4fe5e3
mov byte [edi + 0x57], 0
mov eax, dword [esi + 0x28]
mov dword [ebp - 4], eax
jmp 0x4fb2f2
mov dword [ebp - 0x1c], ecx
mov edx, dword [edi + 0x1cc]
mov esi, dword [ebp - 0x20]
sub edx, esi
dec edx
cmp eax, 2
mov dword [ebp - 0x20], edx
jne 0x4fb288
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x10], ecx
and eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x14]
cmp eax, ecx
jle 0x4fb28b
mov ecx, dword [ebp - 0xc]
xor eax, eax
test ecx, ecx
sete al
mov dword [ebp - 0x24], eax
xor esi, esi
mov edx, dword [edi + 0x10]
mov ecx, dword [ebp - 0x24]
push ecx
push 0x204
mov eax, dword [esi + edx + 4]
push eax
call fcn.004f29d0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
inc eax
add esi, 0x10
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x10], eax
cmp eax, ecx
jl 0x4fb24e
jmp 0x4fb28b
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], 0
test eax, eax
jle 0x4fb2d2
xor esi, esi
mov ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x14]
push ecx
mov ecx, dword [esi + eax + 4]
push edx
push ecx
call fcn.004f52e0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
inc eax
add esi, 0x10
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x10], eax
cmp eax, ecx
jl 0x4fb29b
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4fb2f2
push 0
push edi
call fcn.005082f0
push edi
call fcn.00512cb0
mov eax, dword [edi + 0x18]
add esp, 0xc
or al, 1
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x1c4]
mov esi, dword [ebp - 0x2c]
cmp eax, esi
je 0x4fb329
mov edx, dword [eax + 0x18]
push eax
push edi
mov dword [edi + 0x1c4], edx
call fcn.004e1e40
mov edx, dword [edi + 0x1cc]
add esp, 8
dec edx
mov dword [edi + 0x1cc], edx
mov eax, dword [edi + 0x1c4]
cmp eax, esi
jne 0x4fb2ff
mov eax, dword [ebp - 0x14]
cmp eax, 1
jne 0x4fb357
mov eax, dword [esi + 0x18]
push esi
push edi
mov dword [edi + 0x1c4], eax
call fcn.004e1e40
mov eax, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x4fdf32
dec dword [edi + 0x1cc]
jmp 0x4fb38b
mov ecx, dword [esi + 8]
mov dword [edi + 0x1d8], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + 0x1dc], edx
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x1e0], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x14]
test ecx, ecx
mov dword [edi + 0x1e4], edx
je 0x4fb38b
cmp eax, 2
jne 0x4fdf32
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
push edi
call fcn.0051c340
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 8]
xor ecx, ecx
cmp edx, ecx
mov dword [ebp - 0xc], ecx
je 0x4fb3d4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
and eax, 0x100000
or eax, ecx
jne 0x4fe70d
mov edi, dword [ebp - 8]
mov eax, dword [ebx + 4]
shl eax, 4
mov edi, dword [edi + 0x10]
mov eax, dword [eax + edi + 4]
cmp eax, ecx
mov dword [ebp - 0x24], eax
je 0x4fb4a4
lea ecx, [ebp - 0xc]
push ecx
push edx
push eax
call fcn.004ece60
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe719
mov eax, dword [ebx + 8]
test eax, eax
je 0x4fb4a4
test byte [esi + 0x98], 0x80
je 0x4fb4a4
mov edi, dword [ebp - 8]
mov al, byte [edi + 0x4f]
test al, al
je 0x4fb433
cmp dword [edi + 0xb4], 1
jle 0x4fb4a7
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x4fb454
mov edx, dword [edi + 0x1d0]
inc edx
mov dword [edi + 0x1d0], edx
mov eax, edx
mov edx, dword [edi + 0x1cc]
add edx, eax
mov dword [esi + 0x30], edx
mov eax, dword [esi + 0x30]
dec eax
push eax
push 0
push edi
call fcn.0051c340
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fb47e
mov ecx, dword [esi + 0x30]
mov edx, dword [ebp - 0x24]
push ecx
push edx
call fcn.005006a0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x1d8]
mov dword [esi + 0x48], eax
mov ecx, dword [edi + 0x1dc]
mov dword [esi + 0x4c], ecx
mov edx, dword [edi + 0x1e0]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 0x1e4]
mov dword [esi + 0x54], eax
jmp 0x4fb4a7
mov edi, dword [ebp - 8]
cmp word [ebx + 2], 0
je 0x4fb4d7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jne 0x4fe3cb
mov edx, dword [ebx + 4]
mov eax, dword [edi + 0x10]
shl edx, 4
mov ecx, dword [edx + eax + 0xc]
mov eax, dword [ebx + 0x10]
mov edx, dword [ecx + 4]
cmp edx, eax
jne 0x4fe3cb
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 8]
push ecx
mov ecx, dword [eax + 0x10]
shl edx, 4
mov edx, dword [edx + ecx + 4]
push edx
call fcn.00505940
push ebx
push esi
call fcn.00508600
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov ecx, eax
mov eax, dword [ebp - 0x10c]
cdq
add esp, 0x14
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebp - 8]
mov edi, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ecx, dword [eax + 0x10]
shl edi, 4
add edi, ecx
mov ecx, dword [ebx + 0xc]
push ecx
push edx
mov eax, dword [edi + 4]
push eax
call fcn.004f2310
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov ecx, 1
add esp, 0xc
cmp eax, ecx
jne 0x4fb578
mov edx, dword [edi + 0xc]
mov eax, dword [ebx + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
or dword [eax + 0x18], ecx
jmp 0x4fb586
cmp eax, 2
jne 0x4fb586
mov edx, dword [edi + 0xc]
mov al, byte [ebx + 0xc]
mov byte [edx + 0x4c], al
cmp dword [ebx + 4], ecx
jne 0x4fb5a7
mov ecx, dword [ebp - 8]
push 0
push ecx
call fcn.005082f0
mov eax, dword [esi + 0x98]
add esp, 8
and al, 0xfc
mov dword [esi + 0x98], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + edx*4]
test eax, eax
mov dword [ebp - 0xc], eax
je case.0x4f9230.97
mov edx, dword [eax + 0x34]
mov eax, dword [ebx + 8]
cmp edx, eax
je 0x4fb6e1
mov eax, dword [esi + 0x98]
and eax, 3
cmp al, 1
je 0x4fe749
mov edx, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
shl eax, 4
add eax, dword [edx + 0x10]
cmp cl, 0x62
mov edx, dword [eax + 4]
mov dword [ebp - 0x44], edx
jne 0x4fb63b
mov cl, byte [ebx + 2]
mov edx, dword [eax + 0xc]
and ecx, 8
mov al, byte [edx + 0x4c]
or ecx, 4
mov dword [ebp - 0x20], ecx
mov cl, byte [esi + 0x93]
cmp al, cl
jae 0x4fb642
mov byte [esi + 0x93], al
jmp 0x4fb642
mov dword [ebp - 0x20], 0
test byte [ebx + 2], 0x10
je 0x4fb65f
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
push edi
call fcn.00506960
mov ecx, dword [edi]
add esp, 4
mov dword [ebp - 0x2c], ecx
mov al, byte [ebx + 1]
cmp al, 0xf7
jne 0x4fb677
mov ecx, dword [ebx + 0x10]
xor eax, eax
mov dword [ebp - 0x18], ecx
mov ax, word [ecx + 8]
mov dword [ebp - 0xc], eax
jmp 0x4fb681
cmp al, 0xfd
jne 0x4fb681
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebx + 4]
push 0
push eax
push ecx
push edx
push esi
call fcn.00508380
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4fe7f9
mov esi, eax
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [esi + 2], 1
mov eax, dword [esi + 8]
or al, 4
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 0x28]
push ecx
push edi
push edx
push eax
mov eax, dword [ebp - 0x44]
push eax
call fcn.005006d0
mov dword [ebp - 4], eax
mov dword [esi + 0x2c], edi
mov al, byte [ebx + 1]
add esp, 0x14
cmp al, 0xf7
setne cl
mov byte [esi + 4], cl
mov dl, byte [ebx + 2]
mov eax, dword [ebp - 0xc]
and edx, 3
mov ecx, dword [eax + 0x28]
push edx
push ecx
call fcn.004ff860
mov eax, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 8]
mov eax, dword [esi + 0x60]
push 0
push 0xffffffffffffffff
mov edi, dword [eax + edx*4]
mov edx, dword [ebx + 4]
movsx ecx, word [edi + 0x38]
push ecx
push edx
push esi
call fcn.00508380
add esp, 0x14
test eax, eax
je 0x4fe7f9
mov byte [eax + 2], 1
mov ecx, dword [eax + 8]
or ecx, 1
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0x2c], ecx
mov dl, byte [edi + 4]
mov byte [eax + 4], dl
mov ecx, dword [edi + 0x34]
mov dword [eax + 0x34], ecx
mov ecx, dword [eax + 8]
mov edx, dword [edi + 8]
xor edx, ecx
and edx, 4
xor edx, ecx
mov dword [eax + 8], edx
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x34]
push ecx
mov ecx, dword [edi + 0xc]
push edx
push 4
push eax
push ecx
call fcn.005006d0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
mov dword [ebp - 4], eax
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov edx, dword [esi + 0x60]
xor ecx, ecx
mov edi, dword [edx + eax*4]
cmp edi, ecx
je 0x4fb7ca
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x1c], ecx
mov eax, dword [edi + 0xc]
cmp eax, ecx
je 0x4fb8c1
push ecx
mov ecx, dword [edi + 0x34]
push ecx
push eax
call fcn.00505520
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x4fb8c1
mov edx, dword [ebx + 8]
push 0
push 0xffffffffffffffff
push edx
push eax
push esi
call fcn.00508380
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4fe7f9
mov edx, dword [edi + 8]
xor ecx, ecx
or edx, 1
lea esi, [edi + 0xc]
mov dword [edi + 8], edx
mov eax, dword [0x6ffec4]
mov cx, word [ebx + 2]
push eax
mov eax, dword [ebp - 8]
or ecx, 5
push ecx
push esi
mov edx, dword [eax]
push eax
push 0
push edx
call fcn.004ff870
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fb8a6
push eax
mov eax, dword [esi]
push 1
push eax
call fcn.004ece60
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fb8a6
mov eax, dword [ebx + 0x10]
test eax, eax
mov dword [ebp - 0x24], eax
mov dword [edi + 0x2c], eax
je 0x4fb883
mov edx, dword [esi]
xor ecx, ecx
mov cx, word [ebx + 2]
lea eax, [edi + 0x34]
or ecx, 2
push ecx
push eax
push edx
call fcn.005052a0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fb87d
mov eax, dword [edi + 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [edi + 0x34]
push eax
mov eax, dword [esi]
push ecx
push 4
push edx
push eax
call fcn.005006d0
add esp, 0x14
mov dword [ebp - 4], eax
mov byte [edi + 4], 0
jmp 0x4fb8a6
mov dword [edi + 0x34], 1
mov ecx, dword [edi + 0x28]
mov edx, dword [esi]
push ecx
push 0
push 4
push 1
push edx
call fcn.005006d0
add esp, 0x14
mov dword [ebp - 4], eax
mov byte [edi + 4], 1
mov ecx, dword [edi + 8]
xor eax, eax
cmp word [ebx + 2], 8
setne al
and eax, 1
and ecx, 0xfffffffb
shl eax, 2
or eax, ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov byte [edi + 2], 1
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
push 1
push 0xffffffffffffffff
push edx
push eax
push esi
call fcn.00508380
add esp, 0x14
test eax, eax
je 0x4fe7f9
mov ecx, dword [ebx + 0x10]
push eax
mov dword [eax + 0x2c], ecx
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.00509930
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov esi, ecx
mov edi, edx
add esi, 1
adc edi, 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
mov eax, ecx
or eax, edx
je 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
push 3
push 0xffffffffffffffff
push eax
push ecx
push esi
call fcn.00508380
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4fe7f9
mov byte [edi + 2], 1
mov edx, dword [ebx + 8]
mov dword [edi + 0x20], edx
mov byte [edi + 4], 1
call fcn.004ff850
mov esi, dword [ebp + 8]
mov dword [edi + 0x28], eax
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + eax*4]
push edx
push esi
call fcn.004f3d20
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
mov dword [ecx + eax*4], 0
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov dword [ebp - 0x10], eax
xor eax, eax
mov esi, dword [ecx + edx*4]
mov dword [ebp - 0xc], eax
mov byte [esi + 2], al
mov byte [esi + 3], al
mov dword [esi + 0x1c], eax
mov al, byte [esi + 4]
test al, al
je 0x4fbb11
mov eax, dword [ebx + 0xc]
lea edx, [eax + eax*4]
mov ax, word [edi + edx*8 + 8]
mov dword [ebp - 0x24], eax
and al, 0x2e
lea edi, [edi + edx*8]
cmp al, 2
jne 0x4fba1a
push 0
push edi
call fcn.004f8fb0
add esp, 8
push edi
call fcn.004f6060
mov cx, word [ebp - 0x24]
mov dword [ebp - 0xd4], eax
mov ax, word [edi + 8]
add esp, 4
test al, 0x24
mov dword [ebp - 0xd0], edx
mov word [edi + 8], cx
jne 0x4fbad3
test al, 8
jne 0x4fba9b
test al, 1
jne 0x4fe371
cmp dword [ebp - 0x10], 0x18
jge 0x4fe371
mov eax, dword [esi + 0x28]
lea edx, [ebp - 0x48]
push edx
push eax
call fcn.00500c00
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4fe371
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x4f9230.86
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
add ebx, 0x18
jmp 0x4f9215
fild qword [ebp - 0xd4]
fcom qword [edi]
fnstsw ax
test ah, 0x41
jne 0x4fbabd
mov ecx, dword [ebp - 0x10]
and ecx, 1
cmp cl, 1
fstp st(0)
jne 0x4fbad3
mov eax, dword [ebp - 0x10]
dec eax
jmp 0x4fbad0
fcomp qword [edi]
fnstsw ax
test ah, 1
je 0x4fbad3
test byte [ebp - 0x10], 1
jne 0x4fbad3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xd4]
mov ecx, dword [esi + 0x28]
lea edx, [ebp - 0x48]
push edx
push 0
push eax
push edi
push 0
push ecx
call fcn.00500cd0
mov edx, dword [ebp - 0xd0]
add esp, 0x18
mov dword [esi + 0x40], edi
mov dword [ebp - 4], eax
test eax, eax
mov dword [esi + 0x44], edx
jne 0x4fe853
jmp 0x4fbba4
mov eax, dword [esi + 0x28]
push 2
push eax
call fcn.005068b0
add esp, 8
test eax, eax
je 0x4fbb2a
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x2c]
and al, 1
mov dx, word [ebx + 0x10]
neg al
sbb al, al
mov dword [ebp - 0x130], ecx
and al, 0xfe
mov word [ebp - 0x128], dx
inc al
mov byte [ebp - 0x122], 0
mov byte [ebp - 0x126], al
mov eax, dword [ebx + 0xc]
lea ecx, [eax + eax*4]
lea eax, [ebp - 0x48]
push eax
push 0
lea edx, [edi + ecx*8]
push 0
mov dword [ebp - 0x12c], edx
mov edx, dword [esi + 0x28]
lea ecx, [ebp - 0x130]
push 0
push ecx
push edx
call fcn.00500cd0
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4fbba4
mov al, byte [ebp - 0x122]
test al, al
je 0x4fba74
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x18
jl 0x4fbbdb
xor edi, edi
cmp eax, edi
jl 0x4fbbc4
jne 0x4fbbbc
cmp ecx, 0x19
je 0x4fbbc4
mov dword [ebp - 0x48], edi
jmp 0x4fba7f
mov dword [ebp - 0x48], edi
mov eax, dword [esi + 0x28]
push edi
push eax
call fcn.00501220
add esp, 8
mov dword [ebp - 4], eax
cmp eax, edi
jmp 0x4fbc14
test eax, eax
jg 0x4fbbfa
jne 0x4fbbe6
cmp ecx, 0x16
je 0x4fbbfa
mov ecx, dword [esi + 0x28]
push ecx
call fcn.00501190
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x4fba74
mov dword [ebp - 0x48], 0
mov edx, dword [esi + 0x28]
push 0
push edx
call fcn.00501500
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4fba74
cmp dword [ebp - 4], 0x65
jne 0x4fe853
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 1
jmp 0x4fe371
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ebx + 8]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + eax*4]
mov edi, dword [ebp - 0x5c]
and edx, 1
mov ecx, dword [eax + 8]
shl edx, 3
and ecx, 0xfffffff7
or edx, ecx
add ebx, 0x18
mov dword [eax + 8], edx
jmp 0x4f9215
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + edx*4]
test byte [ecx + 8], 8
jne case.0x4f9230.86
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xc], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x10]
test eax, eax
lea edi, [edi + edx*8]
mov dword [ebp - 0x24], edi
jle 0x4fbcb8
mov eax, dword [ecx + 0x2c]
mov cx, word [ebx + 0x10]
mov dword [ebp - 0x1e4], edi
mov dword [ebp - 0x1e8], eax
mov word [ebp - 0x1e0], cx
lea edi, [ebp - 0x1e8]
xor esi, esi
jmp 0x4fbd08
test byte [edi + 9], 0x40
je 0x4fbccf
push edi
call fcn.004f31b0
add esp, 4
test eax, eax
jne 0x4fe7f9
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x2c]
push eax
call fcn.005072a0
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x44], edi
je 0x4fe7f9
mov eax, dword [ebp - 0x24]
push edi
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
push ecx
push edx
mov ecx, dword [eax + 0x2c]
push ecx
call fcn.005072f0
add esp, 0x10
mov esi, edi
mov byte [edi + 0xa], 0
mov al, byte [ebx]
xor edx, edx
cmp al, 0x1b
mov dword [ebp - 0x18], edx
jne 0x4fbd3d
xor ecx, ecx
mov cx, word [edi + 8]
cmp ecx, edx
jle 0x4fbd3d
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x4fbd36
inc edx
add eax, 0x28
cmp edx, ecx
jl 0x4fbd27
jmp 0x4fbd3d
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0xd8]
push edx
push 0
mov ecx, dword [eax + 0x28]
push 0
push 0
push edi
push ecx
call fcn.00500cd0
add esp, 0x18
mov dword [ebp - 4], eax
test esi, esi
je 0x4fbd6e
mov edx, dword [ebp - 8]
push esi
push edx
call fcn.004e1e60
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0xd8]
mov cl, 1
mov dword [edi + 0x20], eax
mov esi, dword [ebp - 0xd8]
xor eax, eax
test esi, esi
sete al
sub cl, al
mov byte [edi + 2], cl
mov byte [edi + 3], 0
mov dword [edi + 0x1c], 0
mov cl, byte [ebx]
cmp cl, 0x1d
jne 0x4fbdc1
test eax, eax
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4fe371
test eax, eax
je 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 0xc]
lea edx, [eax + eax*4]
mov al, byte [edi + edx*8 + 8]
test al, 0x24
lea esi, [edi + edx*8]
jne case.0x4f9230.31
mov eax, dword [ebp - 0x38]
mov ecx, 0xa
lea edi, [ebp - 0x260]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x260]
push 0x43
push ecx
call fcn.00508490
mov al, byte [ebp - 0x258]
add esp, 0xc
test al, 4
je 0x4fe371
mov edx, dword [ebp - 0x25c]
mov esi, dword [ebp - 0x260]
mov dword [ebp - 0xfc], edx
jmp 0x4fbe4a
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
mov esi, dword [edi + eax*8]
mov ecx, dword [edi + eax*8 + 4]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x60]
mov edi, dword [ecx + edx*4]
mov ecx, dword [ebp - 0xfc]
lea edx, [ebp - 0xa8]
mov eax, dword [edi + 0x28]
push edx
push 0
push ecx
push esi
push 0
push eax
mov dword [ebp - 0xa8], 0
call fcn.00500cd0
mov edx, dword [ebp - 0xfc]
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], edx
mov byte [edi + 2], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], eax
mov byte [edi + 3], 0
mov eax, dword [ebp - 0xa8]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xa8]
add esp, 0x18
test eax, eax
je 0x4fbecb
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4fe371
push 0x159cf
call fcn.0054a9d0
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
add esp, 8
mov edi, dword [ebp - 0x5c]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov ecx, dword [ecx + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov esi, dword [ebp + 8]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x10]
add edx, 1
mov dword [eax + 0x10], edx
mov ecx, dword [eax + 0x14]
adc ecx, 0
add ebx, 0x18
mov dword [eax + 0x14], ecx
jmp 0x4f9215
xor eax, eax
push ebx
push esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xc], eax
call fcn.00508600
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov dword [ebp - 0x14], eax
add esp, 8
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x10], eax
test byte [eax + 8], 2
jne 0x4fbfc3
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ecx + 0x28]
push edx
call fcn.00500c00
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4fbf8a
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 0
jmp 0x4fbfc3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.004f16c0
add esp, 4
cmp edx, 0x7fffffff
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
jl 0x4fbfb7
jg 0x4fbfae
cmp eax, 0xffffffff
jb 0x4fbfb7
mov eax, dword [ebp - 0x10]
or dword [eax + 8], 2
jmp 0x4fbfc3
add eax, 1
adc edx, 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x4fc046
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x4fbfef
mov eax, dword [ecx + 4]
test eax, eax
je 0x4fbfe4
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4fbfdb
mov eax, dword [ecx + 0x10]
lea edx, [edx + edx*4]
lea edi, [eax + edx*8]
jmp 0x4fbff5
lea ecx, [edx + edx*4]
lea edi, [edi + ecx*8]
push edi
call fcn.00506960
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add esp, 4
cmp eax, 0xffffffff
jne 0x4fc014
cmp ecx, 0x7fffffff
je 0x4fe755
mov edx, dword [ebp - 0x10]
test byte [edx + 8], 2
jne 0x4fe755
mov edx, dword [ebp - 0x50]
add eax, 1
adc ecx, 0
cmp edx, ecx
jg 0x4fc03b
jl 0x4fc035
cmp dword [ebp - 0x54], eax
jae 0x4fc03b
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x54]
mov dword [edi], eax
mov ecx, dword [ebp - 0x50]
mov dword [edi + 4], ecx
mov edx, dword [ebp - 0x10]
test byte [edx + 8], 2
je 0x4fc0b7
xor edi, edi
lea eax, [ebp - 0x54]
push eax
push 8
call fcn.004e3c40
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
and eax, 0x3fffffff
add ecx, 1
lea edx, [ebp - 0xc]
mov dword [ebp - 0x54], ecx
adc eax, 0
push edx
push 0
mov dword [ebp - 0x50], eax
push eax
mov eax, dword [ebp - 0x10]
push ecx
push 0
mov ecx, dword [eax + 0x28]
push ecx
call fcn.00500cd0
add esp, 0x20
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4fc0a4
inc edi
cmp edi, 0x64
jl 0x4fc051
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x4fe853
test eax, eax
je 0x4fe755
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
mov byte [eax + 3], 0
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], ecx
jmp 0x4f9215
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea ecx, [edi + edx*8]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [edi + edx*8]
mov dword [ebp - 0x1c0], eax
mov al, byte [ebx + 1]
mov edx, dword [edi + edx*8 + 4]
cmp al, 0xfa
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1bc], edx
jne 0x4fc13b
mov edx, dword [eax + 0xf0]
test edx, edx
je 0x4fc13b
mov edx, dword [ebp - 0xc]
mov edi, dword [eax + 0x10]
movsx edx, byte [edx + 1]
shl edx, 4
mov edx, dword [edx + edi]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x18], edx
jmp 0x4fc140
xor edi, edi
mov dword [ebp - 0x18], edi
test byte [ebx + 2], 1
je 0x4fc149
inc dword [esi + 0x2c]
test byte [ebx + 2], 0x20
je 0x4fc161
mov edx, dword [ebp - 0x1c0]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x1bc]
mov dword [eax + 0x2c], edx
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x1b8], eax
mov ax, word [ebx + 2]
mov edx, dword [ecx + 0xc]
test al, 0x10
mov dword [ebp - 0x1ac], edx
je 0x4fc183
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x20]
jmp 0x4fc185
xor edx, edx
test byte [ecx + 9], 0x40
je 0x4fc195
mov ecx, dword [ecx]
mov dword [ebp - 0x1a8], ecx
jmp 0x4fc19f
mov dword [ebp - 0x1a8], 0
mov esi, dword [ebp - 0xc]
and eax, 0xa
push edx
mov dword [ebp - 0x1c8], 0
push eax
mov eax, dword [esi + 0x28]
lea edx, [ebp - 0x1c8]
push edx
push eax
call fcn.00501630
add esp, 0x10
mov byte [esi + 3], 0
test eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], 0
jne 0x4fe853
test edi, edi
je case.0x4f9230.86
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edi]
push ecx
push edx
mov dl, byte [ebx + 2]
mov ecx, dword [ebp - 0x18]
and dl, 4
neg dl
sbb edx, edx
push eax
mov eax, dword [ebp - 8]
and edx, 5
push ecx
add edx, 0x12
mov ecx, dword [eax + 0xec]
push edx
push ecx
call dword [eax + 0xf0]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x18
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ebx + 8]
mov edi, dword [ecx + eax*4]
mov al, byte [ebx + 1]
cmp al, 0xfa
mov dword [ebp - 0x24], edx
jne 0x4fc284
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x4fc284
movsx edx, byte [edi + 1]
mov eax, dword [eax + 0x10]
shl edx, 4
mov ecx, dword [edx + eax]
mov al, byte [ebx + 2]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0xc], ecx
test al, 2
mov dword [ebp - 0x18], edx
je 0x4fc28c
mov al, byte [edi + 4]
test al, al
je 0x4fc28c
mov eax, dword [edi + 0x28]
push eax
call fcn.004f16c0
mov dword [edi + 0x40], eax
add esp, 4
mov dword [edi + 0x44], edx
jmp 0x4fc28c
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov cl, byte [ebx + 2]
mov edx, dword [edi + 0x28]
push ecx
push edx
call fcn.00504f20
xor ecx, ecx
add esp, 8
mov dword [edi + 0x1c], ecx
cmp eax, ecx
mov dword [ebp - 4], eax
mov dword [edi + 0x20], ecx
jne 0x4fe853
test byte [ebp - 0x24], 1
je case.0x4f9230.86
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 8]
inc eax
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0xf0]
test eax, eax
je case.0x4f9230.86
mov edx, dword [ebp - 0x18]
test byte [edx + 0x24], 0x20
jne case.0x4f9230.86
mov esi, dword [edi + 0x44]
mov edx, dword [edx]
mov ecx, dword [ecx + 0xec]
push esi
mov esi, dword [edi + 0x40]
push esi
push edx
mov edx, dword [ebp - 0xc]
push edx
push 9
push ecx
call eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x18
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [esi + 0x2c]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.004f5580
mov edi, dword [ebp - 0x5c]
add esp, 8
mov dword [esi + 0x2c], 0
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
lea esi, [ebp - 0xcc]
lea eax, [eax + eax*4]
push esi
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebx + 0x10]
lea eax, [edi + eax*8]
push edx
push eax
push ecx
mov dword [ebp - 0xcc], 0
call fcn.0050c090
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0xcc]
test eax, eax
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8]
mov ecx, dword [esi + 0x60]
push eax
mov ecx, dword [ecx + edx*4]
push ecx
call fcn.0050bfd0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + 0x60]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov ecx, dword [eax + edx*4]
add ebx, 0x18
mov dword [ecx + 0x1c], 0
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov edx, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + edx*4]
mov edi, dword [ecx + 0x28]
push edi
call fcn.004f1750
mov edx, dword [ebp - 8]
add esp, 0xc
cmp eax, dword [edx + 0x6c]
ja 0x4fe964
mov ecx, dword [ebp - 0x14]
push ecx
push eax
push 0
push edi
call fcn.00506ce0
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebx + 0xc]
test eax, eax
jne case.0x4f9230.86
mov eax, dword [ebp - 0x14]
test byte [eax + 9], 0x10
je case.0x4f9230.86
push eax
call fcn.004f3100
add esp, 4
test eax, eax
jne 0x4fe7f9
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov edx, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, dword [ecx + edx*4]
mov cl, byte [edi + 2]
test cl, cl
je 0x4fc479
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov word [eax + 8], 1
add ebx, 0x18
jmp 0x4f9215
mov cl, byte [edi + 3]
test cl, cl
je 0x4fc4ab
mov edx, dword [edi + 0x40]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc8], edx
mov ecx, dword [edi + 0x44]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0xc4], ecx
mov dword [eax], edx
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 4], ecx
add ebx, 0x18
jmp 0x4f9215
cmp byte [edi], 2
jne 0x4fc4fc
mov eax, dword [edi + 0x28]
lea edx, [ebp - 0xc8]
push edx
push eax
mov edi, dword [eax]
mov ecx, dword [edi]
call dword [ecx + 0x30]
push edi
push esi
mov dword [ebp - 4], eax
call fcn.00508330
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc8]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [eax], edx
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 4], ecx
add ebx, 0x18
jmp 0x4f9215
push edi
call fcn.00506e20
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov al, byte [edi + 2]
test al, al
je 0x4fc52e
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
mov word [eax + 8], 1
jmp 0x4f9215
mov ecx, dword [edi + 0x28]
push ecx
call fcn.004f16c0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc4], edx
mov edx, dword [ebp - 0xc8]
mov dword [eax], edx
mov ecx, dword [ebp - 0xc4]
add esp, 4
mov dword [eax + 4], ecx
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + edx*4]
mov byte [eax + 2], 1
mov dword [eax + 0x1c], 0
cmp byte [eax], 0
jne case.0x4f9230.86
mov ecx, dword [eax + 0x28]
push ecx
call fcn.004f2a80
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
cmp cl, 0x82
mov esi, dword [eax + edx*4]
mov edi, dword [esi + 0x28]
mov dword [ebp - 0xb8], 0
jne 0x4fc5d2
push edi
mov dword [esi + 0x20], 0xffffffff
call fcn.00500810
add esp, 4
test eax, eax
jne case.0x4f9230.86
lea ecx, [ebp - 0xb8]
push ecx
push edi
call fcn.00500c00
mov dl, byte [ebp - 0xb8]
add esp, 8
mov byte [esi + 2], dl
mov byte [esi + 3], 0
test eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], 0
jne 0x4fe853
mov eax, dword [ebx + 8]
test eax, eax
jle case.0x4f9230.86
mov eax, dword [ebp - 0xb8]
test eax, eax
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + eax*4]
lea eax, [ebp - 0xac]
push eax
mov esi, dword [edx + 0x28]
push esi
call fcn.00500880
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x4fe371
push esi
call fcn.005011a0
add esp, 4
test edx, edx
jl 0x4fc693
jg 0x4fc670
test eax, eax
jb 0x4fc693
push edx
push eax
call fcn.004ff0b0
movsx ecx, ax
mov eax, dword [ebx + 0xc]
add esp, 8
cmp ecx, eax
jge 0x4fc693
mov dword [ebp - 0xac], 1
jmp 0x4fe371
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
inc dword [esi + 0xac]
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov esi, dword [eax + edx*4]
mov dword [ebp - 0xa4], 1
cmp byte [esi], 1
jne 0x4fc6e2
lea ecx, [ebp - 0xa4]
push ecx
push esi
call fcn.0050aba0
add esp, 8
mov dword [ebp - 4], eax
jmp 0x4fc703
mov eax, dword [esi + 0x28]
lea edx, [ebp - 0xa4]
push edx
push eax
call fcn.00500880
mov byte [esi + 3], 0
add esp, 8
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov al, byte [ebp - 0xa4]
mov byte [esi + 2], al
mov eax, dword [ebp - 0xa4]
test eax, eax
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov eax, dword [ebp - 8]
mov edi, dword [edx + ecx*4]
push edi
push eax
call fcn.0050bf30
jmp 0x4fc75c
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov eax, dword [ebx + 0xc]
mov edi, dword [edx + ecx*4]
push eax
mov ecx, dword [edi + 0x28]
push ecx
call dword [ebx + 0x10]
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
mov dword [edi + 0x1c], 0
jne 0x4fc78c
xor edx, edx
mov byte [edi + 2], al
mov dx, word [ebx + 2]
mov ecx, dword [esi + edx*4 + 0xa4]
lea eax, [esi + edx*4 + 0xa4]
inc ecx
mov dword [eax], ecx
jmp case.0x4f9230.11
cmp eax, 0x65
jne 0x4fe853
mov dword [ebp - 4], 0
mov byte [edi + 2], 1
jmp 0x4fde37
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], edx
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov al, byte [ebx + 2]
test al, 1
mov dword [ebp - 0x10], ecx
je 0x4fc7c7
inc dword [esi + 0x2c]
test byte [ecx + 9], 0x40
je 0x4fc7e7
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004f31b0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov ecx, dword [ebp - 0x10]
cmp byte [ebx], 0x83
jne 0x4fc801
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push edx
push eax
call fcn.00509e90
add esp, 8
mov dword [ebp - 4], eax
jmp 0x4fc86b
mov eax, dword [ecx + 0xc]
cdq
mov dword [ebp - 0x230], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x22c], edx
mov ecx, dword [ecx + 0x10]
lea edx, [eax + eax*4]
mov dword [ebp - 0x238], ecx
mov cx, word [ebx + 0x10]
lea eax, [edi + edx*8]
mov word [ebp - 0x220], cx
mov dword [ebp - 0x224], eax
mov ax, word [ebx + 2]
test al, 0x10
je 0x4fc844
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x20]
jmp 0x4fc846
xor ecx, ecx
mov esi, dword [ebp - 0xc]
and eax, 0xa
push ecx
push eax
mov ecx, dword [esi + 0x28]
lea eax, [ebp - 0x238]
push eax
push ecx
call fcn.00501630
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov esi, dword [eax + edx*4]
mov ax, word [ebx + 0xc]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov word [ebp - 0x188], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x24], ecx
lea edx, [eax + eax*4]
mov byte [ebp - 0x186], 0
lea eax, [edi + edx*8]
lea edx, [ebp - 0x114]
push edx
mov dword [ebp - 0x18c], eax
push 0
push 0
lea eax, [ebp - 0x190]
push 0
push eax
push ecx
call fcn.00500cd0
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0x114]
test eax, eax
jne 0x4fc908
mov ecx, dword [ebp - 0x24]
push 4
push ecx
call fcn.00504f20
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov edi, dword [ebp - 0x5c]
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + edx*4]
push eax
mov dword [ebp - 0xc], eax
call fcn.00506e20
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov ecx, dword [ebp - 0xc]
mov al, byte [ecx + 2]
test al, al
jne 0x4fc9e9
xor edi, edi
mov eax, ecx
lea edx, [ebp - 0xc0]
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [ebp - 8]
push ecx
push edx
call fcn.00508130
add esp, 0xc
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x4fe853
cmp byte [ebx], 0x86
jne 0x4fc9c0
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + 0x60]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov eax, dword [ecx + eax*4]
add ebx, 0x18
mov byte [eax + 2], 0
mov edx, dword [ebp - 0xc0]
mov dword [eax + 0x40], edx
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 0x44], ecx
mov ecx, dword [ebp - 0xc]
mov byte [eax + 3], 1
mov edx, dword [ebx - 8]
mov dword [eax + 0x18], edx
mov dword [eax + 0x24], ecx
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov edx, dword [ebp - 0xc0]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [eax], edx
mov ecx, dword [ebp - 0xbc]
add esp, 8
mov dword [eax + 4], ecx
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
call fcn.004f2bc0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
cmp cl, 0x27
mov eax, dword [eax + edx*4]
sbb cl, cl
mov edx, dword [eax + 0x2c]
mov byte [ebp - 0x196], cl
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1a0], edx
mov dx, word [ebx + 0x10]
mov dword [ebp - 0x80], 0
mov word [ebp - 0x198], dx
lea edx, [ecx + ecx*4]
lea ecx, [edi + edx*8]
lea edx, [ebp - 0x80]
mov dword [ebp - 0x19c], ecx
lea ecx, [ebp - 0x1a0]
push edx
mov edx, dword [ebp - 8]
push ecx
push eax
push edx
call fcn.00508250
mov dword [ebp - 4], eax
mov al, byte [ebx]
and al, 1
add esp, 0x10
cmp al, 1
mov eax, dword [ebp - 0x80]
jne 0x4fca71
neg eax
jmp 0x4fca72
inc eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x80], eax
test ecx, ecx
jne 0x4fe853
test eax, eax
jg 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov ecx, dword [ebp - 8]
mov edi, eax
add esp, 8
mov word [edi + 8], 1
mov edx, dword [ecx + 0xc0]
mov eax, dword [ecx + 0xb4]
inc edx
cmp eax, edx
jg 0x4fe761
mov eax, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x10]
lea edx, [ebp - 0xb0]
mov dword [ebp - 0x18], eax
push edx
mov edx, dword [ebx + 4]
shl eax, 4
mov dword [ebp - 0xb0], 0
push edx
mov edx, dword [eax + ecx + 4]
push edx
call fcn.00505740
mov ecx, eax
mov word [edi + 8], 4
mov eax, dword [ebp - 0xb0]
add esp, 0xc
cdq
mov dword [edi], eax
mov dword [ebp - 4], ecx
test ecx, ecx
mov dword [edi + 4], edx
jne 0x4fe853
mov eax, dword [ebp - 0xb0]
test eax, eax
je case.0x4f9230.86
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x18]
push ecx
push eax
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.00513270
mov al, byte [ebp - 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x10
inc al
add ebx, 0x18
mov byte [ebp - 0xb4], al
jmp 0x4f9215
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x18]
and ecx, edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, dword [ebx + 8]
push eax
mov eax, dword [edx + 0x10]
shl ecx, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ecx + eax + 4]
push ecx
call fcn.00505520
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
add esp, 0xc
test eax, eax
je 0x4fcbac
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x2c]
add ecx, eax
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jle 0x4fcbac
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + edx*8]
lea edi, [edi + edx*8]
cdq
add ecx, eax
mov dword [edi], ecx
mov eax, dword [edi + 4]
adc eax, edx
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov eax, dword [ecx + eax*4]
cmp byte [eax], 1
jne 0x4fcbf1
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.00509b00
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [eax + 0x28]
push ecx
call fcn.00505720
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov edx, dword [ebp - 8]
mov ecx, dword [ebx + 0xc]
mov esi, eax
mov eax, dword [ebx + 4]
mov edi, dword [edx + 0x10]
mov dword [ebp - 0xdc], 0
shl eax, 4
add eax, edi
lea edx, [ebp - 0xdc]
push ecx
push edx
mov eax, dword [eax + 4]
push eax
call fcn.005052a0
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0xdc]
mov edi, dword [ebp - 0x5c]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x4f9215
mov esi, dword [ebp - 8]
push 0
push 0
push 0
mov dl, byte [esi + 0x5a]
inc dl
mov byte [esi + 0x5a], dl
mov ecx, dword [ebx + 0x10]
push ecx
push esi
call fcn.00515ca0
mov dl, byte [esi + 0x5a]
add esp, 0x14
dec dl
mov dword [ebp - 4], eax
test eax, eax
mov byte [esi + 0x5a], dl
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebx + 4]
test ecx, ecx
jne 0x4fcd0f
mov eax, dword [ebp - 8]
mov edx, edi
shl edx, 4
mov ecx, dword [eax + 0x10]
mov edx, dword [edx + ecx + 0xc]
push edx
call fcn.005136d0
mov eax, dword [ebp - 8]
lea ecx, [esi + 0x7c]
push 1
push ecx
mov edx, dword [eax + 0x18]
push edi
and edx, 0xffffffef
push eax
mov dword [eax + 0x18], edx
call fcn.00516ec0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add esp, 0x14
mov ecx, dword [eax + 0x18]
or ecx, 1
mov dword [eax + 0x18], ecx
mov eax, dword [esi + 0x98]
and al, 0xfc
mov dword [esi + 0x98], eax
jmp 0x4fcdca
mov eax, dword [ebp - 8]
mov dword [ebp - 0x170], edi
push ecx
lea edx, [esi + 0x7c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x178], eax
shl edi, 4
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x168], 0
mov edx, dword [edi + ecx]
push str.sqlite_master
push edx
push str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
push eax
call fcn.004f50f0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4fe426
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x164], ecx
push ecx
lea ecx, [ebp - 0x178]
push ecx
push fcn.00516bd0
push edi
push eax
mov byte [eax + 0xa5], 1
call fcn.00515ca0
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fcdb6
mov eax, dword [ebp - 0x16c]
test eax, eax
mov dword [ebp - 4], eax
jne 0x4fcdb6
mov eax, dword [ebp - 0x164]
test eax, eax
jne 0x4fcdb6
push 0x15f51
call fcn.0054a9d0
add esp, 4
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp - 8]
push edi
call fcn.004e1e60
add esp, 8
mov byte [edi + 0xa5], 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe42d
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.005116b0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push ecx
push edx
push eax
call fcn.00512e70
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push ecx
push edx
push eax
call fcn.005127f0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push ecx
push edx
push eax
call fcn.0051ac50
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
add edx, 4
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
push eax
push ecx
push edx
mov edx, dword [ebp - 8]
xor ecx, ecx
mov cx, word [ebx + 2]
mov eax, dword [edx + 0x10]
shl ecx, 4
mov ecx, dword [ecx + eax + 4]
push ecx
call fcn.00505ac0
push edi
mov dword [ebp - 0x24], eax
call fcn.004f2bc0
mov eax, dword [ebp - 0x110]
add esp, 0x18
test eax, eax
je 0x4fcefc
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4fe7f9
mov esi, dword [ebp - 0x18]
dec eax
cdq
sub dword [esi], eax
mov eax, dword [esi + 4]
push fcn.004e1dc0
push 1
push 0xffffffffffffffff
push ecx
sbb eax, edx
push edi
mov dword [esi + 4], eax
call fcn.004f2d30
add esp, 0x14
mov edx, dword [ebp - 0x38]
and edx, 0xff
push edx
push edi
call fcn.004f5980
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], ecx
lea edx, [eax + eax*4]
mov al, byte [ecx + 8]
test al, 0x10
lea edi, [edi + edx*8]
jne 0x4fd01f
mov eax, ecx
push eax
call fcn.00506b70
add esp, 4
test eax, eax
jne 0x4fe7f9
jmp 0x4fd01f
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov cl, byte [edi + edx*8 + 8]
lea eax, [edi + edx*8]
test cl, 0x10
mov dword [ebp - 0x1c], eax
je 0x4fcfa9
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x180]
push eax
mov edx, dword [ecx + 0x10]
push edx
call fcn.004ff210
add esp, 8
test eax, eax
je 0x4fcfa9
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x180]
push eax
mov eax, dword [ebx + 0xc]
push ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
call fcn.004f6800
add esp, 0xc
jmp 0x4fde37
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004f2bc0
add esp, 4
jmp case.0x4f9230.11
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea ecx, [edi + edx*8]
lea eax, [eax + eax*4]
mov dword [ebp - 0x1c], ecx
mov dl, byte [ecx + 8]
lea edi, [edi + eax*8]
mov eax, dword [ebx + 0x10]
test dl, 0x10
mov dword [ebp - 0x18], eax
jne 0x4fcff1
push ecx
call fcn.00506b70
add esp, 4
test eax, eax
jne 0x4fe7f9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4fd01f
mov edx, dword [edi + 4]
mov ecx, dword [edi]
push edx
mov edx, dword [ebp - 0x1c]
push ecx
push eax
mov eax, dword [edx + 0x10]
push eax
call fcn.004ff3e0
add esp, 0x10
test eax, eax
jne 0x4fe371
mov eax, dword [ebp - 0x18]
test eax, eax
jl case.0x4f9230.86
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edi]
push ecx
mov ecx, dword [eax + 0x10]
push edx
push ecx
call fcn.004ff160
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
cmp word [ebx + 2], 0
mov dword [ebp - 0xc], ecx
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov dword [ebp - 0x18], edi
je 0x4fd07f
mov eax, dword [esi + 0xc8]
mov edx, dword [ecx + 0x14]
test eax, eax
je 0x4fd07f
cmp dword [eax + 0x1c], edx
je 0x4fd077
mov eax, dword [eax + 4]
test eax, eax
jne 0x4fd069
jmp 0x4fd07f
test eax, eax
jne case.0x4f9230.86
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0xd0]
cmp eax, dword [edx + 0x94]
jge 0x4fe774
test byte [edi + 8], 0x10
jne 0x4fd190
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
add ecx, eax
test eax, eax
mov dword [ebp - 0x5c], ecx
jne 0x4fd0b1
inc ecx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xc]
lea ecx, [ecx + ecx*4 + 0xa]
lea ecx, [eax + ecx*2]
mov eax, dword [edx + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx*4]
mov dword [ebp - 0x24], eax
cdq
push edx
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004f2cc0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4fe7f9
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004f3220
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
add esp, 4
mov word [eax + 8], 0x410
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x24], 0x506e00
mov eax, dword [ebp - 0x5c]
mov dword [edi], esi
mov dword [edi + 0x3c], eax
mov edx, dword [ecx + 0xc]
mov dword [edi + 0x40], edx
mov edx, dword [ebp - 0x34]
sub ebx, edx
mov eax, 0x2aaaaaab
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [edi + 0x30], edx
mov edx, dword [esi + 0x58]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x18]
mov dword [edi + 0x38], eax
mov edx, dword [esi + 0x60]
mov dword [edi + 0x14], edx
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x2c], eax
mov edx, dword [esi + 0x68]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x34], eax
mov ecx, dword [ecx + 0x14]
mov dword [edi + 0x1c], ecx
mov eax, dword [edi + 0x3c]
add eax, 2
lea edx, [eax + eax*4]
lea eax, [edi + 0x50]
lea ecx, [edi + edx*8]
cmp eax, ecx
je 0x4fd193
mov edx, dword [ebp - 8]
mov ebx, 0x80
mov word [eax + 8], bx
mov dword [eax + 0x20], edx
add eax, 0x28
cmp eax, ecx
jne 0x4fd180
jmp 0x4fd193
mov edi, dword [edi + 0x10]
mov edx, dword [esi + 0xd0]
mov ebx, dword [ebp - 0xc]
inc edx
mov dword [esi + 0xd0], edx
mov eax, dword [esi + 0xc8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
mov dword [edi + 0x20], ecx
mov edx, dword [eax + 0x2c]
mov dword [edi + 0x24], edx
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x44], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x64]
lea ecx, [edi + 0x50]
mov dword [edi + 0x48], edx
mov eax, dword [esi + 0xdc]
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [esi + 0xdc], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0xc8], edi
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x3c]
mov dword [ebp - 0x5c], ecx
mov dword [esi + 0x18], edx
mov ax, word [edi + 0x40]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x18]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov dword [esi + 0x60], eax
mov ecx, dword [ebx + 0xc]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x24], eax
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 4]
mov edi, dword [ebp - 0x24]
add eax, 7
cdq
and edx, 7
add eax, edx
mov ecx, eax
xor eax, eax
sar ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx]
mov dword [esi + 0x68], eax
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x34], eax
mov dword [esi + 0x6c], ecx
lea ebx, [eax - 0x18]
jmp 0x4fde37
push ebx
push esi
call fcn.00508600
mov esi, dword [esi + 0xc8]
mov edi, dword [ebx + 4]
push 0x1000
mov ecx, dword [esi + 0x30]
lea edx, [ecx + ecx*2]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + edx*8 + 4]
add ecx, edi
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x10]
lea edx, [ecx + edx*8]
push edx
push eax
call fcn.00506c60
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ecx + 0x20]
and eax, 0x80000
or eax, edx
je 0x4fd2cf
mov eax, dword [ebx + 8]
mov esi, dword [ecx + 0x1e0]
cdq
mov edi, dword [ebp - 0x5c]
add esi, eax
mov dword [ecx + 0x1e0], esi
mov eax, dword [ecx + 0x1e4]
mov esi, dword [ebp + 8]
adc eax, edx
add ebx, 0x18
mov dword [ecx + 0x1e4], eax
jmp 0x4f9215
mov eax, dword [ebx + 4]
test eax, eax
mov eax, dword [ebx + 8]
cdq
je 0x4fd304
mov esi, dword [ecx + 0x1d8]
mov edi, dword [ebp - 0x5c]
add esi, eax
mov dword [ecx + 0x1d8], esi
mov eax, dword [ecx + 0x1dc]
mov esi, dword [ebp + 8]
adc eax, edx
add ebx, 0x18
mov dword [ecx + 0x1dc], eax
jmp 0x4f9215
mov ecx, dword [esi + 0x40]
mov edi, dword [ebp - 0x5c]
add ecx, eax
mov dword [esi + 0x40], ecx
mov eax, dword [esi + 0x44]
adc eax, edx
add ebx, 0x18
mov dword [esi + 0x44], eax
mov esi, dword [ebp + 8]
jmp 0x4f9215
mov eax, dword [ebx + 4]
test eax, eax
je 0x4fd367
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1d8]
mov edx, dword [eax + 0x1dc]
or ecx, edx
jne case.0x4f9230.86
mov edx, dword [eax + 0x1e0]
mov ecx, dword [eax + 0x1e4]
add eax, 0x1e0
or edx, ecx
je 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add esi, 0x40
or eax, ecx
jne case.0x4f9230.86
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1e0]
lea eax, [ecx + 0x1e0]
mov ecx, dword [ecx + 0x1e4]
or edx, ecx
je 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov esi, dword [esi + 0xc8]
test esi, esi
je 0x4fd3cd
mov ecx, esi
mov eax, dword [ecx + 4]
test eax, eax
je 0x4fd3bf
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4fd3b6
mov eax, dword [ebx + 4]
mov ecx, dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jmp 0x4fd3d6
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
push esi
call fcn.00506960
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
push edi
call fcn.00506960
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, dword [esi + 4]
add esp, 8
cmp ecx, edi
jg case.0x4f9230.86
jl 0x4fd40a
mov edx, dword [esi]
cmp edx, eax
jae case.0x4f9230.86
mov dword [esi], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 4]
mov esi, dword [edi + eax*8]
lea edi, [edi + eax*8]
test ecx, ecx
jl case.0x4f9230.86
jg 0x4fd43f
test esi, esi
jbe case.0x4f9230.86
mov eax, dword [ebx + 0xc]
cdq
sub esi, eax
sbb ecx, edx
mov dword [edi], esi
mov dword [edi + 4], ecx
jmp 0x4fe371
mov eax, dword [ebx + 4]
push ebx
push esi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea edx, [edi + ecx*8]
mov dword [ebp - 0x1c], edx
lea edi, [edi + eax*8]
call fcn.00508600
mov esi, eax
mov eax, dword [ebp - 0x1c]
add esp, 8
mov ecx, dword [eax]
mov dword [ebp - 0xec], ecx
mov eax, dword [eax + 4]
test eax, eax
mov dword [ebp - 0xe8], eax
jl 0x4fd4d7
jg 0x4fd490
test ecx, ecx
jbe 0x4fd4d7
mov eax, dword [edi]
mov edi, dword [edi + 4]
test edi, edi
jl 0x4fd49f
jg 0x4fd4a3
test eax, eax
ja 0x4fd4a3
xor eax, eax
xor edi, edi
push edi
lea ecx, [ebp - 0xec]
push eax
push ecx
call fcn.004fee50
add esp, 0xc
test eax, eax
jne 0x4fd4d7
mov edx, dword [ebp - 0xec]
mov edi, dword [ebp - 0x5c]
mov dword [esi], edx
mov eax, dword [ebp - 0xe8]
mov dword [esi + 4], eax
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x4f9215
mov edi, dword [ebp - 0x5c]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edi + ecx*8]
mov esi, eax
lea edx, [edi + ecx*8]
mov ecx, dword [edi + ecx*8 + 4]
or esi, ecx
je case.0x4f9230.86
test ecx, ecx
jl 0x4fe371
jg 0x4fd51e
test eax, eax
jbe 0x4fe371
sub eax, 1
sbb ecx, 0
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x4fe371
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov ecx, dword [edi + edx*8 + 4]
lea eax, [edi + edx*8]
cmp ecx, 0x80000000
mov edx, dword [eax]
jl 0x4fd556
jg 0x4fd54b
test edx, edx
jbe 0x4fd556
sub edx, 1
sbb ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
xor eax, eax
push 0
mov ax, word [ebx + 2]
mov dword [ebp - 0xc], eax
lea edx, [eax*4 + 0x44]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.004e2170
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4fe7f9
mov edx, dword [ebp - 0xc]
mov ecx, eax
push 1
lea eax, [ecx + edx*4 + 0x1c]
mov dword [ecx + 8], 0
mov dword [ecx], eax
mov ecx, dword [ebp - 8]
push ecx
push eax
call fcn.00506b50
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov dword [ecx + 4], edx
mov edx, ebx
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ecx + 0x10], edx
mov dl, byte [ebp - 0xc]
mov dword [ecx + 0xc], esi
mov byte [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x19], dl
mov byte [ebx + 1], 0xf0
mov dword [ebx + 0x10], ecx
mov byte [ebx], 0x9b
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ecx + ecx*4]
lea edx, [edi + ecx*8]
mov ecx, dword [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x24], edx
je 0x4fd63f
xor ecx, ecx
mov dword [eax + 8], edx
mov cl, byte [eax + 0x19]
dec ecx
js 0x4fd63f
lea edx, [eax + ecx*4 + 0x1c]
mov eax, ecx
sub edx, 4
add eax, dword [ebx + 8]
dec ecx
test ecx, ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx + 4], eax
jge 0x4fd626
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0xc]
inc ecx
mov dword [edx + 0xc], ecx
mov eax, dword [ebx + 4]
test eax, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
lea edx, [eax + 0x1c]
push edx
je 0x4fd663
xor edx, edx
mov dl, byte [eax + 0x19]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x4fd66d
xor edx, edx
mov dl, byte [eax + 0x19]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [eax + 0x14]
test eax, eax
je case.0x4f9230.86
jle 0x4fd6a3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call fcn.004f6470
push eax
push 0x708b18
push esi
call fcn.004f53f0
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
mov al, byte [edx + 0x18]
test al, al
je 0x4fd6ce
mov eax, dword [ebx - 0x14]
test eax, eax
je 0x4fd6c7
lea eax, [eax + eax*4]
push 0
push 1
lea ecx, [edi + eax*8]
push ecx
call fcn.004f6800
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x18], 0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
push eax
call fcn.004f3220
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
add esp, 4
mov word [ecx + 8], 1
mov dword [esi + 0x14], 0
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
push ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4fd741
mov ecx, dword [ebp - 0xc]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
push ecx
call fcn.005068d0
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
add esp, 0xc
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [ebp - 0xc], eax
mov edi, eax
jmp 0x4fd750
mov edi, dword [ebp - 0xc]
push edi
call fcn.004f2c20
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe78e
jmp 0x4fe232
mov edx, dword [ebx + 8]
or eax, 0xffffffff
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xf0]
lea ecx, [ebp - 0xf4]
push eax
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [ebp - 8]
push edx
push eax
push ecx
mov dword [ebp - 0xf8], 0
call fcn.005496b0
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
je 0x4fd7bc
cmp eax, 5
jne 0x4fe853
mov dword [ebp - 4], 0
mov dword [ebp - 0xf8], 1
mov eax, dword [ebx + 0xc]
lea esi, [ebp - 0xf8]
mov dword [ebp - 0x18], 3
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov eax, dword [esi]
cdq
push edx
push eax
push edi
call fcn.004f6800
mov eax, dword [ebp - 0x18]
add esp, 0xc
add esi, 4
add edi, 0x28
dec eax
mov dword [ebp - 0x18], eax
jne 0x4fd7d2
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 0xc]
mov edx, dword [ecx + 0x10]
shl eax, 4
mov eax, dword [eax + edx + 4]
push eax
mov dword [ebp - 0x24], eax
call fcn.004e8210
push eax
mov dword [ebp - 0x20], eax
call fcn.004ea930
add esp, 0x10
cmp edi, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x4fd839
mov edi, eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.004ff740
add esp, 4
test eax, eax
jne 0x4fd84c
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
push 1
push ecx
call fcn.004f5130
add esp, 8
cmp edi, 5
jne 0x4fd881
push eax
call fcn.004e3e60
add esp, 4
test eax, eax
je 0x4fd87c
mov edx, dword [ebp - 0x20]
push edx
call fcn.004efee0
add esp, 4
test eax, eax
jne 0x4fd881
mov edi, dword [ebp - 0x10]
jmp 0x4fd8ff
mov eax, dword [ebp - 0x10]
cmp edi, eax
je 0x4fd8ff
cmp eax, 5
je 0x4fd892
cmp edi, 5
jne 0x4fd8ff
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x4f]
test dl, dl
je 0x4fe7a8
cmp dword [ecx + 0xb4], 1
jg 0x4fe7a8
cmp eax, 5
jne 0x4fd8cc
mov esi, dword [ebp - 0x20]
mov eax, ecx
push eax
push esi
call fcn.004ff780
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fd906
push edi
push esi
jmp 0x4fd8d7
cmp eax, 4
jne 0x4fd8df
mov ecx, dword [ebp - 0x20]
push 2
push ecx
call fcn.004ff620
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fd906
mov eax, dword [ebp - 0x24]
xor edx, edx
cmp edi, 5
sete dl
inc edx
push edx
push eax
call fcn.004f2380
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4fd909
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
push edi
push ecx
call fcn.004ff620
mov esi, dword [ebp - 0x14]
push eax
mov word [esi + 8], 0xa02
call fcn.005165d0
push eax
mov dword [esi + 0x10], eax
call fcn.004e3e60
mov edx, dword [ebp - 0x38]
mov dword [esi + 0xc], eax
and edx, 0xff
mov byte [esi + 0xa], 1
push edx
push esi
call fcn.004f5980
mov eax, dword [ebp - 4]
add esp, 0x18
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 8]
test eax, eax
je 0x4fd96d
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
jmp 0x4fd96f
xor eax, eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 8]
push eax
push ecx
add esi, 0x7c
push edx
push esi
call fcn.0051ad40
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 4]
shl eax, 4
mov edx, dword [ecx + 0x10]
mov eax, dword [eax + edx + 4]
push eax
call fcn.005005d0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je case.0x4f9230.86
cmp eax, 0x65
jne 0x4fe853
mov dword [ebp - 4], 0
jmp 0x4fe371
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4fd9fb
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
push eax
push ecx
call fcn.005082f0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebx + 8]
mov eax, dword [esi + 0x98]
inc edx
mov edi, dword [ebp - 0x5c]
xor edx, eax
and edx, 3
xor edx, eax
add ebx, 0x18
mov dword [esi + 0x98], edx
mov esi, dword [ebp + 8]
jmp 0x4f9215
mov al, byte [ebx + 0xc]
test al, al
mov byte [ebp - 0x120], al
jne 0x4fda4f
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
mov eax, 0
and ecx, 0x400
mov dword [ebp - 0x28], ecx
jne case.0x4f9230.86
test eax, eax
jne case.0x4f9230.86
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
push edx
mov edx, dword [ebp - 8]
push ecx
shl eax, 4
mov ecx, dword [edx + 0x10]
mov edx, dword [ecx + eax + 4]
push edx
call fcn.005067e0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe7d2
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edi, dword [ebx + 0x10]
mov eax, dword [ebp - 8]
push edi
push eax
call fcn.0051c280
add esp, 8
mov dword [ebp - 4], eax
test edi, edi
je 0x4fdab0
mov ecx, dword [edi + 8]
push ecx
push esi
call fcn.00508330
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebp - 8]
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x2b0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x290], edx
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
lea eax, [ebp - 0x2b0]
push edx
push eax
call fcn.004f6a40
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 4], eax
push ecx
call fcn.004f6470
add esp, 0xc
test eax, eax
je 0x4fdb28
mov edx, dword [ebx + 4]
add esi, 0x7c
push esi
push eax
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.0051bd70
add esp, 0x10
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.004f3220
mov eax, dword [ebp - 4]
add esp, 4
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0xc0]
inc eax
mov dword [esi + 0xc0], eax
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
push edx
push eax
push esi
call fcn.0051c0b0
mov edx, dword [esi + 0xc0]
add esp, 0xc
dec edx
mov dword [ebp - 4], eax
test eax, eax
mov dword [esi + 0xc0], edx
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0xc], 0
mov edi, dword [ecx + 8]
test edi, edi
je 0x4fe958
mov eax, dword [edi]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x4fe958
lea edx, [ebp - 0xc]
push edx
push edi
call dword [eax + 0x18]
push edi
push esi
mov dword [ebp - 4], eax
call fcn.00508330
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0xc]
push 2
push 0xffffffffffffffff
push 0
mov dword [eax], edi
mov ecx, dword [ebx + 4]
push ecx
push esi
call fcn.00508380
add esp, 0x14
test eax, eax
je 0x4fe7ec
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov dword [eax + 0x28], edx
mov eax, dword [edi + 4]
inc eax
add ebx, 0x18
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x5c]
jmp 0x4f9215
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
lea eax, [eax + eax*4]
mov ecx, dword [edx + ecx*4]
lea eax, [edi + eax*8]
mov dword [ebp - 0x10], ecx
mov edi, dword [ecx + 0x28]
mov edx, dword [eax]
mov ecx, dword [edi]
mov dword [ebp - 0x2c], edx
mov edx, dword [esi + 0x5c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x28]
test ecx, ecx
jle 0x4fdc6a
add eax, 0x50
mov dword [ebp - 0x18], ecx
jmp 0x4fdc53
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
add edx, 4
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x18]
add eax, 0x28
dec edx
mov dword [ebp - 0x18], edx
jne 0x4fdc50
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x10]
push edx
mov edx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
push edi
call dword [edx + 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
push eax
push esi
call fcn.00508330
mov eax, dword [ebp - 4]
add esp, 0x1c
test eax, eax
jne 0x4fe853
mov ecx, dword [ebp - 0xc]
push edi
call dword [ecx + 0x28]
mov edx, dword [ebp - 0x10]
add esp, 4
test eax, eax
mov byte [edx + 2], 0
jne 0x4fe371
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dl, byte [ecx + 2]
test dl, dl
mov dword [ebp - 0xc], eax
je 0x4fdcf3
push eax
call fcn.004f2bc0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x210]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
mov ecx, 8
mov dword [ebp - 0x44], eax
mov edx, dword [eax]
xor eax, eax
rep stosd dword es:[edi], eax
mov cl, byte [ebx + 2]
mov eax, dword [ebp - 0xc]
test cl, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x210], eax
je 0x4fdd3c
mov edi, eax
push edi
call fcn.004f2bc0
mov word [edi + 8], 0x4001
add esp, 4
mov dword [edi], 0
jmp 0x4fdd50
mov cx, word [eax + 8]
mov edi, dword [ebp - 0xc]
and ecx, 0x3e40
or ecx, 1
mov word [eax + 8], cx
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x210]
push edx
mov edx, dword [ecx + 0x28]
push eax
mov eax, dword [ebp - 0x24]
push edx
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], eax
push ecx
push esi
call fcn.00508330
mov eax, dword [ebp - 0x1fc]
add esp, 0x14
test eax, eax
jle 0x4fdda0
push edi
call fcn.004f6470
push eax
push 0x708b18
push esi
call fcn.004f53f0
mov edx, dword [ebp - 0x1fc]
add esp, 0x10
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x38]
and eax, 0xff
push eax
push edi
call fcn.004f5980
push edi
call fcn.00506c30
add esp, 0xc
test eax, eax
jne 0x4fe964
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x24], eax
mov cl, byte [eax + 2]
test cl, cl
jne case.0x4f9230.86
mov eax, dword [eax + 0x28]
push eax
mov edi, dword [eax]
mov ecx, dword [edi]
mov dword [ebp - 0x44], ecx
call dword [ecx + 0x24]
push edi
push esi
mov dword [ebp - 4], eax
call fcn.00508330
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x44]
mov ecx, dword [eax + 0x28]
push ecx
call dword [edx + 0x28]
add esp, 4
test eax, eax
jne 0x4fde37
mov ebx, dword [ebx + 8]
mov ecx, dword [ebp - 0x34]
lea eax, [ebx + ebx*2]
lea ebx, [ecx + eax*8 - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x110]
test eax, eax
jne 0x4fe819
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jb case.0x4f9230.86
mov esi, edx
mov eax, dword [esi + 0x148]
test eax, eax
je case.0x4f9230.86
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x58]
mov ecx, dword [esi + 0x150]
add edi, ecx
mov ecx, dword [esi + 0x14c]
push ecx
mov dword [ebp - 0x58], edi
call eax
add esp, 4
test eax, eax
jne 0x4fe845
cmp dword [ebp - 0x7c], edi
jae 0x4fde58
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebp - 8]
push 1
mov ecx, dword [eax + 0x20]
and ecx, 0x4000000
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x20]
or ecx, 0x4000000
mov dword [eax + 0x20], ecx
mov edx, dword [eax + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
lea edi, [edi + ecx*8]
push edi
call fcn.004f5980
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add esp, 8
test eax, eax
jne 0x4fdf16
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x20]
and edx, 0xfbffffff
mov dword [eax + 0x20], edx
mov ecx, dword [eax + 0x24]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x18]
push edx
push esi
call fcn.00508330
mov ecx, dword [esi + 0x98]
add esp, 8
and ecx, 0xfffffffc
mov dword [esi + 0x98], ecx
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x4fe7f9
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4fe958
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x44], eax
je 0x4fe958
mov edx, dword [eax + 0x34]
mov ecx, dword [ebx + 8]
test edx, edx
je case.0x4f9230.86
mov edx, dword [ebp - 8]
test ecx, ecx
mov al, byte [edx + 0x56]
mov edx, dword [esi + 0x5c]
mov byte [ebp - 0x65], al
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], edx
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
jle 0x4fdfb3
mov eax, edx
mov edx, ecx
mov dword [eax], edi
add edi, 0x28
add eax, 4
dec edx
jne 0x4fdfa5
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 8]
mov al, byte [ebx + 2]
mov byte [edi + 0x56], al
lea eax, [ebp - 0x160]
push eax
push edx
mov edx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x18]
push ecx
call dword [edx + 0x34]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov al, byte [ebp - 0x65]
push ecx
push esi
mov byte [edi + 0x56], al
call fcn.00508330
mov eax, dword [ebp - 4]
add esp, 0x18
test eax, eax
jne 0x4fe005
mov eax, dword [ebx + 4]
test eax, eax
je 0x4fe005
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x15c]
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], eax
mov ecx, dword [ebp - 4]
cmp cl, 0x13
jne 0x4fe056
mov edx, dword [ebx + 0x10]
mov al, byte [edx + 0x10]
test al, al
je 0x4fe056
mov ax, word [ebx + 2]
cmp ax, 4
jne 0x4fe036
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 4], 0
add ebx, 0x18
jmp 0x4f9215
cmp ax, 5
jne 0x4fe049
mov eax, 2
mov byte [esi + 0x92], al
jmp 0x4fe059
and eax, 0xffff
mov byte [esi + 0x92], al
jmp 0x4fe059
inc dword [esi + 0x2c]
test ecx, ecx
jne 0x4fe853
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov ecx, dword [ebp - 8]
mov esi, eax
mov eax, dword [ebx + 4]
mov edx, dword [ecx + 0x10]
shl eax, 4
mov eax, dword [eax + edx + 4]
push eax
call fcn.004ec660
mov edi, dword [ebp - 0x5c]
mov dword [esi], eax
add esp, 0xc
mov dword [esi + 4], 0
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x4f9215
push ebx
push esi
call fcn.00508600
mov edx, dword [ebp - 8]
mov ecx, dword [ebx + 4]
mov edi, eax
add esp, 8
mov eax, dword [edx + 0x10]
shl ecx, 4
mov esi, dword [ecx + eax + 4]
mov ecx, dword [ebx + 0xc]
xor eax, eax
test ecx, ecx
je 0x4fe0df
push esi
call fcn.004ec660
mov ecx, dword [ebx + 0xc]
add esp, 4
cmp eax, ecx
jae 0x4fe0df
mov eax, ecx
push eax
push esi
call fcn.00500580
mov esi, dword [ebp + 8]
add esp, 8
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [ebx + 2]
push 0
mov dword [ebp - 0x24], eax
lea ecx, [eax*4 + 0x1c]
push ecx
push edx
call fcn.004e2170
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4fe7f9
mov dword [ecx], 0
mov eax, dword [ebx + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x34]
mov edx, ebx
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ecx + 0x10], edx
mov dl, byte [ebp - 0x24]
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x19], dl
mov byte [ebx + 1], 0xf0
mov dword [ebx + 0x10], ecx
mov al, byte [ebx]
add al, 2
mov byte [ebx], al
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov edx, dword [eax]
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*8]
cmp edx, ecx
mov dword [ebp - 0x14], ecx
je 0x4fe1a6
mov dword [eax], ecx
xor ecx, ecx
mov cl, byte [eax + 0x19]
dec ecx
js 0x4fe1a6
lea edx, [eax + ecx*4 + 0x1c]
mov eax, dword [ebx + 8]
sub edx, 4
add eax, ecx
dec ecx
test ecx, ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx + 4], eax
jge 0x4fe190
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
mov cx, word [eax + 8]
and ecx, 0x3e40
or ecx, 1
mov word [eax + 8], cx
mov edx, dword [edi + 4]
xor ecx, ecx
lea eax, [edi + 0x1c]
mov cl, byte [edi + 0x19]
push eax
push ecx
push edi
call dword [edx + 0x10]
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x4fe225
jle 0x4fe1f8
mov edx, dword [ebp - 0x14]
push edx
call fcn.004f6470
push eax
push 0x708b18
push esi
call fcn.004f53f0
mov eax, dword [edi + 0x14]
add esp, 0x10
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 4]
mov edx, dword [edi + 0x10]
push ecx
mov ecx, dword [ebp - 8]
lea eax, [esi + 0xdc]
push edx
push eax
push ecx
call fcn.004f54b0
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
mov dword [edi + 0x14], 0
jne 0x4fe853
mov edi, dword [ebp - 0x14]
test byte [edi + 8], 0x12
je case.0x4f9230.86
mov edx, dword [ebp - 0x38]
and edx, 0xff
push edx
push edi
call fcn.004f5980
push edi
call fcn.00506c30
add esp, 0xc
test eax, eax
jne 0x4fe964
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x58]
test cl, 0x41
je 0x4fe31a
test byte [esi + 0x98], 0x10
jne 0x4fe31a
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4fe292
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4fe31a
test cl, 0x40
je 0x4fe2c5
mov ecx, dword [ebp - 8]
push eax
push esi
mov edx, dword [ecx + 0xcc]
mov dword [ebp - 0x24], edx
call fcn.004f8ad0
mov edi, eax
mov eax, dword [ebp - 8]
push edi
mov ecx, dword [eax + 0xd0]
push ecx
call dword [ebp - 0x24]
push edi
call fcn.004e1dc0
add esp, 0x14
jmp 0x4fe31a
mov edx, dword [ebp - 8]
push eax
cmp dword [edx + 0xbc], 1
jle 0x4fe304
mov eax, edx
push str.____s
push eax
call fcn.004f50f0
mov edi, eax
mov eax, dword [ebp - 8]
push edi
push esi
mov ecx, dword [eax + 0xd0]
push ecx
push 1
call dword [eax + 0xcc]
mov edx, dword [ebp - 8]
push edi
push edx
call fcn.004e1e40
add esp, 0x24
jmp 0x4fe31a
mov eax, dword [ebp - 8]
push esi
mov ecx, dword [eax + 0xd0]
push ecx
push 1
call dword [eax + 0xcc]
add esp, 0x10
mov edx, dword [ebx + 4]
mov eax, dword [0x736788]
cmp edx, eax
jl 0x4fe35d
cmp byte [ebx], 0xa8
je case.0x4f9230.86
mov eax, dword [esi + 0x6c]
mov edx, 1
cmp eax, edx
jle 0x4fe358
mov ecx, 0x18
xor edi, edi
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax], 0x11
jne 0x4fe34b
mov dword [eax + 4], edi
mov eax, dword [esi + 0x6c]
inc edx
add ecx, 0x18
cmp edx, eax
jl 0x4fe33e
jmp 0x4fe35a
xor edi, edi
mov dword [ebx + 4], edi
mov ecx, dword [ebx + 4]
inc ecx
mov dword [ebx + 4], ecx
mov eax, dword [esi + 0xbc]
inc eax
mov dword [esi + 0xbc], eax
mov ebx, dword [ebx + 8]
mov edx, dword [ebp - 0x34]
lea ecx, [ebx + ebx*2]
lea ebx, [edx + ecx*8 - 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x4f9215
push str.cannot_open_savepoint___SQL_statements_in_progress
push esi
call fcn.004f53f0
add esp, 8
mov dword [ebp - 4], 5
jmp 0x4fe856
mov eax, dword [ebp - 0xc]
push eax
push str.no_such_savepoint:__s
push esi
call fcn.004f53f0
add esp, 0xc
mov dword [ebp - 4], 1
jmp 0x4fe856
push str.cannot_release_savepoint___SQL_statements_in_progress
jmp 0x4fe391
mov ecx, dword [esi + 0x7c]
push ecx
push edi
call fcn.004e1e40
push str.database_schema_has_changed
push edi
call fcn.004f6cf0
mov dword [esi + 0x7c], eax
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 0x10]
mov edx, eax
shl edx, 4
add esp, 0x10
mov edx, dword [edx + ecx + 0xc]
mov ecx, dword [edx]
mov edx, dword [ebp - 0xc]
cmp ecx, edx
je 0x4fe408
push eax
push edi
call fcn.00512c30
add esp, 8
mov edx, dword [esi + 0x98]
mov dword [ebp - 4], 0x11
and edx, 0xfffffffd
or edx, 1
mov dword [esi + 0x98], edx
jmp 0x4fe856
mov dword [ebp - 4], 7
mov edx, dword [ebp - 8]
push edx
call fcn.00512cb0
mov eax, dword [ebp - 4]
add esp, 4
cmp eax, 7
je 0x4fe7f9
jmp 0x4fe856
mov eax, dword [ebx + 4]
mov dword [esi + 0x28], eax
mov cl, byte [ebx + 8]
mov byte [esi + 0x92], cl
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esi + 0x24], edx
je 0x4fe4db
mov ax, word [ebx + 2]
test ax, ax
je 0x4fe4a9
and eax, 0xffff
mov edx, dword [eax*4 + 0x6ffe7c]
push edx
push str._s_constraint_failed
push esi
call fcn.004f53f0
mov eax, dword [ebx + 0x10]
add esp, 0xc
test eax, eax
je 0x4fe4bb
mov ecx, dword [ebp - 8]
push eax
mov eax, dword [esi + 0x7c]
push eax
push str._z:__s
push ecx
call fcn.004f50f0
add esp, 0x10
mov dword [esi + 0x7c], eax
jmp 0x4fe4bb
mov edx, dword [ebx + 0x10]
push edx
push 0x708b18
push esi
call fcn.004f53f0
add esp, 0xc
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0xc0]
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push str.abort_at__d_in___s_:__s
push eax
call fcn.004e3b90
add esp, 0x14
push esi
call fcn.004f37f0
add esp, 4
cmp eax, 5
mov dword [ebp - 4], eax
jne 0x4fe6ca
mov dword [esi + 0x28], eax
jmp 0x4fe915
push 0
push esi
call fcn.004f5370
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe853
push 1
push esi
call fcn.004f51b0
mov ecx, dword [esi + 0x20]
add esp, 8
add ecx, 2
mov dword [ebp + 8], 0
or ecx, 1
mov dword [esi + 0x20], ecx
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov dword [esi + 0x78], edi
mov eax, dword [ebx + 8]
test eax, eax
jle 0x4fe570
test byte [edi + 9], 0x10
je 0x4fe556
push edi
call fcn.004f3100
add esp, 4
test eax, eax
jne 0x4fe7f9
push edi
call fcn.004f5e40
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 8]
add esp, 4
inc eax
add edi, 0x28
cmp eax, ecx
mov dword [ebp + 8], eax
jl 0x4fe53f
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x4fe7f9
test byte [eax + 0x58], 4
je 0x4fe599
mov ecx, dword [eax + 0xd0]
push 0
push esi
push ecx
push 4
call dword [eax + 0xcc]
add esp, 0x10
mov eax, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
mov dword [ebp - 4], 0x64
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov dword [esi + 0x24], ecx
jmp 0x4fe915
mov dword [ebp - 4], 0x14
jmp 0x4fe856
push 0x152d5
call fcn.0054a9d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x4fe856
mov edx, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 5
mov dword [esi + 0x24], edx
mov byte [edi + 0x4f], 0
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
jmp 0x4fe915
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 8]
xor edx, edx
mov dl, byte [ecx + 0x4f]
mov dword [ebp + 8], eax
cmp eax, edx
je 0x4fe6de
test edi, edi
je 0x4fe645
mov edi, ecx
push 0x204
push edi
call fcn.00548b30
add esp, 8
mov byte [edi + 0x4f], 1
jmp 0x4fe67e
test eax, eax
je 0x4fe65d
mov eax, dword [ecx + 0xb8]
test eax, eax
jle 0x4fe65d
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x4fe391
push 1
push esi
call fcn.004f5370
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fe915
mov ecx, dword [ebp - 8]
mov al, byte [ebp + 8]
mov edi, ecx
mov byte [ecx + 0x4f], al
push esi
call fcn.004f37f0
add esp, 4
cmp eax, 5
jne 0x4fe6c1
mov edx, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
mov cl, 1
shr eax, 0x1f
add edx, eax
mov al, byte [ebp + 8]
sub cl, al
mov dword [esi + 0x24], edx
mov eax, 5
mov byte [edi + 0x4f], cl
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
jmp 0x4fe915
push edi
call fcn.00548610
add esp, 4
mov eax, dword [esi + 0x28]
neg eax
sbb eax, eax
and al, 0x9c
add eax, 0x65
mov dword [ebp - 4], eax
jmp 0x4fe915
test eax, eax
jne 0x4fe6e9
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x4fe6f7
test edi, edi
mov eax, str.cannot_rollback___no_transaction_is_active
jne 0x4fe6f7
mov eax, str.cannot_commit___no_transaction_is_active
push eax
push esi
call fcn.004f53f0
add esp, 8
mov dword [ebp - 4], 1
jmp 0x4fe856
mov dword [ebp - 4], 8
jmp 0x4fe856
cmp byte [ebp - 4], 5
jne 0x4fe853
mov edx, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 4]
sar edx, 2
mov eax, edx
mov dword [esi + 0x28], ecx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0x24], edx
jmp 0x4fe915
mov dword [ebp - 4], 0x204
jmp 0x4fe856
mov dword [ebp - 4], 0xd
jmp 0x4fe856
mov dword [ebp - 4], 6
mov byte [esi + 0x92], 2
jmp 0x4fe856
push str.too_many_levels_of_trigger_recursion
push esi
mov dword [ebp - 4], 1
call fcn.004f53f0
add esp, 8
jmp 0x4fe856
push edi
call fcn.004f6470
push eax
push 0x708b18
push esi
call fcn.004f53f0
add esp, 0x10
jmp 0x4fe856
cmp edi, 5
mov dword [ebp - 4], 1
mov eax, str.into
je 0x4fe7be
mov eax, str.out_of
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push esi
call fcn.004f53f0
add esp, 0xc
jmp 0x4fe856
cmp byte [ebp - 4], 6
jne 0x4fe853
mov eax, dword [ebx + 0x10]
push eax
push str.database_table_is_locked:__s
push esi
call fcn.004f53f0
add esp, 0xc
jmp 0x4fe856
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
push ecx
call dword [edx + 0x1c]
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.004e2260
push 0x7067e8
push esi
call fcn.004f53f0
add esp, 0xc
mov dword [ebp - 4], 7
jmp 0x4fe856
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x51]
neg al
sbb eax, eax
and al, 0xfe
add eax, 9
push eax
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
call fcn.00548c40
push eax
push 0x708b18
push esi
call fcn.004f53f0
add esp, 0x10
jmp 0x4fe856
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 4], 9
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 8]
mov al, byte [edi + 0x51]
test al, al
je 0x4fe867
mov dword [ebp - 4], 7
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x4fe88f
mov eax, dword [ebp - 4]
cmp eax, 0xc0a
je 0x4fe88f
mov edx, eax
push edx
call fcn.00548c40
push eax
push 0x708b18
push esi
call fcn.004f53f0
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
push edi
mov dword [esi + 0x28], eax
call fcn.004e8370
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0xc0]
mov edx, dword [ebp - 0x34]
push eax
push ecx
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, dword [ebp - 4]
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push str.statement_aborts_at__d:___s___s
push ecx
call fcn.004e3b90
push esi
call fcn.004f37f0
mov eax, dword [ebp - 4]
add esp, 0x20
cmp eax, 0xc0a
jne 0x4fe8ea
push edi
call fcn.004e2260
add esp, 4
mov al, byte [ebp - 0xb4]
mov dword [ebp - 4], 1
test al, al
jbe 0x4fe915
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 8]
and edx, 0xff
dec edx
push edx
push eax
call fcn.00512c30
add esp, 8
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x58]
cmp edx, ecx
jb 0x4fe97e
mov eax, dword [edi + 0x148]
test eax, eax
je 0x4fe97e
add ecx, dword [edi + 0x150]
mov dword [ebp - 0x58], ecx
mov ecx, dword [edi + 0x14c]
push ecx
call eax
add esp, 4
test eax, eax
je 0x4fe918
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 4], 9
jmp 0x4fe856
mov dword [ebp - 4], 6
jmp 0x4fe856
push str.string_or_blob_too_big
push esi
call fcn.004f53f0
add esp, 8
mov dword [ebp - 4], 0x12
jmp 0x4fe856
mov edi, dword [esi + 0xb4]
push esi
add edi, edx
mov dword [esi + 0xb4], edi
call fcn.004f3b90
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret