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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ecx, ecx
mov eax, dword [esi]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov al, byte [edx + 0x49]
mov byte [esp + 0x4c], al
lea eax, [esi + 0xa4]
push eax
mov dword [esp + 0x104], eax
call fcn.004f9ef0
mov eax, dword [esi + 0x68]
add esp, 4
cmp eax, 7
je 0x500e63
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x84], ecx
mov dword [eax + 0x19c], ecx
mov edx, dword [eax + 0xd8]
cmp edx, ecx
jne 0x500e0a
mov ecx, dword [esi + 0x64]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov al, byte [edx + 0x1e]
test al, al
jne 0x500e63
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x14]
mov edi, dword [esp + 0x30]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*4]
mov eax, dword [edi + 0x100]
test eax, eax
je 0x4fccdf
mov edx, dword [esp + 0x90]
cmp dword [edi + 0x108], edx
jne 0x4fccd8
mov ecx, dword [edi + 0x104]
push ecx
call eax
add esp, 4
test eax, eax
jne 0x500c29
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x90], eax
inc dword [esp + 0x90]
xor edx, edx
mov dl, byte [ebx]
mov al, byte [edx + 0x5bc478]
test al, 2
mov byte [esp + 0x67], al
je 0x4fcd18
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 0x4c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov dword [esp + 0x30], eax
call fcn.004f8610
mov edx, dword [esp + 0x30]
add esp, 4
mov ecx, edx
mov word [edx + 0x1c], 1
jmp 0x4fcd94
test al, 4
je 0x4fcd6a
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x4c]
lea edx, [edx + edx*4]
lea edx, [eax + edx*8]
mov dword [esp + 0x1c], edx
mov dl, byte [esp + 0x67]
test dl, 8
je 0x4fcd5a
mov edx, dword [ebx + 8]
lea edx, [edx + edx*4]
lea edx, [eax + edx*8]
mov dword [esp + 0x5c], edx
mov dl, byte [esp + 0x67]
test dl, 0x20
je 0x4fcd94
mov ecx, dword [ebx + 0xc]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x2c], ecx
jmp 0x4fcd94
test dl, 0x10
je 0x4fcd94
mov edx, dword [ebx + 0xc]
lea edx, [edx + edx*4]
lea eax, [eax + edx*8]
jmp 0x4fcd90
test al, 8
je 0x4fcd80
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x4c]
lea edx, [eax + edx*8]
mov dword [esp + 0x5c], edx
jmp 0x4fcd94
test al, 0x10
je 0x4fcd94
mov eax, dword [ebx + 0xc]
mov edx, dword [esi + 0x4c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x50], eax
mov al, byte [ebx]
mov edx, eax
and edx, 0xff
mov dword [esp + 0x24], edx
dec edx
cmp edx, 0x90
ja case.0x4fcdaf.13
jmp dword [edx*4 + 0x500ef0]
mov eax, dword [edi + 0xd8]
test eax, eax
jne 0x500e0a
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov edx, dword [esi + 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x28]
lea ecx, [edx + ecx*8]
cdq
mov dword [ecx], eax
mov word [ecx + 0x1c], 4
mov dword [ecx + 4], edx
mov eax, dword [ebx + 8]
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
jmp case.0x4fcdaf.13
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
cdq
mov esi, dword [ecx]
mov dword [ecx], eax
mov word [ecx + 0x1c], 4
mov dword [ecx + 4], edx
mov dword [esp + 0x28], esi
jmp case.0x4fcdaf.13
mov word [ecx + 0x1c], 4
mov eax, dword [ebx + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4fcdaf.13
mov word [ecx + 0x1c], 4
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp case.0x4fcdaf.13
mov word [ecx + 0x1c], 8
mov edx, dword [ebx + 0x10]
mov eax, dword [edx]
mov dword [ecx + 8], eax
mov edx, dword [edx + 4]
mov dword [ecx + 0xc], edx
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 0x10]
mov byte [ebx], 0x1d
push eax
call fcn.004ef7c0
mov cl, byte [esp + 0x50]
add esp, 4
cmp cl, 1
mov dword [ebx + 4], eax
je 0x4fcf20
mov ecx, dword [ebx + 0x10]
mov edi, dword [esp + 0x2c]
push 0
push 1
push 0xffffffffffffffff
push ecx
push edi
call fcn.004f80d0
mov edx, dword [esp + 0x60]
and edx, 0xff
push edx
push edi
call fcn.004f90a0
add esp, 0x1c
test eax, eax
jne 0x500e63
push edi
call fcn.004f8510
add esp, 4
test eax, eax
jne 0x500e63
mov dword [edi + 0x24], eax
mov ax, word [edi + 0x1c]
and eax, 0xfbff
or ah, 8
mov word [edi + 0x1c], ax
mov al, byte [ebx + 1]
cmp al, 0xff
jne 0x4fcefc
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.004ee360
add esp, 8
mov ecx, dword [esp + 0x30]
mov byte [ebx + 1], 0xff
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x10], eax
mov edi, dword [edi + 0x18]
mov dword [ebx + 4], edi
mov eax, dword [ecx + 0x50]
cmp edi, eax
jg 0x500e40
jmp case.0x4fcdaf.13
cmp eax, dword [edi + 0x50]
jg 0x500e40
mov ecx, dword [esp + 0x2c]
mov word [ecx + 0x1c], 0xa02
mov edx, dword [ebx + 0x10]
mov dword [ecx + 0x14], edx
mov eax, dword [ebx + 4]
mov dl, byte [esp + 0x4c]
mov dword [ecx + 0x18], eax
mov byte [ecx + 0x1f], dl
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
mov esi, dword [esp + 0x2c]
push 0
push 0
push eax
push ecx
push esi
call fcn.004f80d0
mov dl, byte [esp + 0x60]
add esp, 0x14
mov byte [esi + 0x1f], dl
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 0x38]
dec ebx
lea edi, [ebx + ebx*4]
shl edi, 3
add eax, edi
push eax
call fcn.00505a40
add esp, 4
test eax, eax
jne 0x500e40
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x2c]
add eax, edi
push 0x800
push eax
push ecx
call fcn.004f8fa0
add esp, 0xc
jmp case.0x4fcdaf.13
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
mov esi, dword [esi + 0x4c]
lea edx, [ecx + ecx*4]
lea ecx, [ebx + ebx*4]
lea edi, [esi + edx*8]
mov edx, eax
lea esi, [esi + ecx*8]
dec eax
test edx, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], esi
je case.0x4fcdaf.13
inc eax
mov dword [esp + 0x18], eax
mov ebx, dword [esi + 0x24]
push edi
push esi
mov dword [esi + 0x24], 0
call fcn.004fca10
mov eax, dword [esp + 0x20]
mov dword [edi + 0x24], ebx
add esp, 8
add edi, 0x28
add esi, 0x28
dec eax
mov dword [esp + 0x18], eax
jne 0x4fcfdd
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], edi
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x1c]
push 0x1000
lea eax, [ebx + ebx*4]
push edx
lea edi, [ecx + eax*8]
push edi
mov dword [esp + 0x38], edi
call fcn.004f8fa0
add esp, 0xc
test byte [edi + 0x1d], 0x10
je case.0x4fcdaf.13
push edi
call fcn.004f8510
add esp, 4
test eax, eax
jne 0x500e63
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x1c]
push 0x1000
lea eax, [ebx + ebx*4]
push edx
lea eax, [ecx + eax*8]
push eax
mov dword [esp + 0x38], eax
call fcn.004f8fa0
add esp, 0xc
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
mov ax, word [eax + 0x1c]
mov bl, byte [edx + 0x1c]
mov cl, al
or cl, bl
test cl, 1
je 0x4fd0a7
mov eax, dword [esp + 0x2c]
push eax
call fcn.004f8730
add esp, 4
jmp case.0x4fcdaf.13
test ah, 0x40
je 0x4fd0b9
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f8570
add esp, 4
mov edx, dword [esp + 0x1c]
test byte [edx + 0x1c], 0x12
jne 0x4fd0e4
mov eax, dword [esp + 0x4c]
mov ecx, edx
and eax, 0xff
push eax
push ecx
call fcn.004f95a0
add esp, 8
test eax, eax
jne 0x500e63
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
test byte [ebx + 0x1d], 0x40
je 0x4fd0f7
push ebx
call fcn.004f8570
add esp, 4
test byte [ebx + 0x1c], 0x12
jne 0x4fd11d
mov edx, dword [esp + 0x4c]
and edx, 0xff
push edx
push ebx
call fcn.004f95a0
add esp, 8
test eax, eax
jne 0x500e63
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x18]
mov eax, dword [eax + 0x18]
add eax, ecx
cdq
mov dword [esp + 0xec], eax
mov eax, dword [edi + 0x50]
mov ecx, edx
cdq
cmp ecx, edx
jg 0x500e40
jl 0x4fd14e
cmp dword [esp + 0xec], eax
ja 0x500e40
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0xec]
xor edx, edx
mov cx, word [edi + 0x1c]
and ecx, 0xbf02
or ecx, 2
cmp edi, ebx
sete dl
add eax, 2
push edx
push eax
push edi
mov word [edi + 0x1c], cx
call fcn.004f8300
add esp, 0xc
test eax, eax
jne 0x500e63
cmp edi, ebx
je 0x4fd1aa
mov ebx, dword [esp + 0x5c]
mov eax, edi
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
mov edi, dword [eax + 0x14]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4fd1b2
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
mov edi, dword [ebx + 0x18]
mov ecx, dword [edx + 0x18]
mov esi, dword [edx + 0x14]
mov edx, dword [eax + 0x14]
add edi, edx
mov edx, ecx
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 + 0x14]
mov ecx, dword [esp + 0xec]
mov byte [ecx + edx], 0
mov edx, dword [eax + 0x14]
mov byte [ecx + edx + 1], 0
or byte [eax + 0x1d], 2
mov dword [eax + 0x18], ecx
mov cl, byte [esp + 0x4c]
mov byte [eax + 0x1f], cl
jmp case.0x4fcdaf.13
mov esi, dword [esp + 0x1c]
push esi
call fcn.004fcb20
mov edi, dword [esp + 0x60]
push edi
call fcn.004fcb20
mov cx, word [esi + 0x1c]
mov dx, word [edi + 0x1c]
mov eax, ecx
and edx, 0xffff
and eax, 0xffff
add esp, 8
or eax, edx
test al, 1
mov dword [esp + 0x20], eax
jne 0x4fd3b4
and cl, byte [edi + 0x1c]
and cl, 4
cmp cl, 4
jne 0x4fd2f1
mov edx, dword [esp + 0x5c]
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov edi, dword [edi]
mov edx, dword [edx + 4]
xor eax, eax
mov al, byte [ebx]
add eax, 0xffffffad
cmp eax, 3
ja case.default.0x4fd25e
jmp dword [eax*4 + 0x501134]
add edi, ecx
adc edx, esi
jmp 0x4fd2d2
sub edi, ecx
sbb edx, esi
jmp 0x4fd2d2
push esi
push ecx
push edx
push edi
call fcn.0056fd10
jmp 0x4fd2d0
mov eax, ecx
or eax, esi
je 0x4fd3b4
mov eax, ecx
and eax, esi
cmp eax, 0xffffffff
jne 0x4fd2a2
test edi, edi
jne 0x4fd2a2
cmp edx, 0x80000000
jne 0x4fd2a2
mov ecx, 1
xor esi, esi
push esi
push ecx
push edx
push edi
call fcn.0056ff90
jmp 0x4fd2d0
mov eax, ecx
or eax, esi
je 0x4fd3b4
mov eax, ecx
and eax, esi
cmp eax, 0xffffffff
jne 0x4fd2c7
mov ecx, 1
xor esi, esi
push esi
push ecx
push edx
push edi
call fcn.00570040
mov edi, eax
mov eax, dword [esp + 0x2c]
mov cx, word [eax + 0x1c]
mov dword [eax], edi
and ecx, 0xbf04
mov dword [eax + 4], edx
or ecx, 4
mov word [eax + 0x1c], cx
jmp case.0x4fcdaf.13
push esi
call fcn.004fafb0
fstp qword [esp + 0x44]
push edi
call fcn.004fafb0
xor eax, eax
add esp, 8
mov al, byte [ebx]
add eax, 0xffffffad
cmp eax, 3
ja case.default.0x4fd310
jmp dword [eax*4 + 0x501144]
fadd qword [esp + 0x40]
jmp 0x4fd386
fsub qword [esp + 0x40]
jmp 0x4fd386
fmul qword [esp + 0x40]
jmp 0x4fd386
fld qword [esp + 0x40]
fcomp qword [0x5bef10]
fnstsw ax
test ah, 0x40
jne 0x4fd3b2
fdiv qword [esp + 0x40]
jmp 0x4fd386
fld qword [esp + 0x40]
call fcn.0056f578
mov esi, eax
mov edi, edx
call fcn.0056f578
mov ecx, esi
or ecx, edi
je 0x4fd3b4
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x4fd368
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.00570040
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], edx
fild qword [esp + 0x178]
fstp qword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.004ef770
add esp, 8
test eax, eax
je 0x4fd3c6
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004f8730
add esp, 4
jmp case.0x4fcdaf.13
fstp st(0)
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004f8730
add esp, 4
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], edx
mov dx, word [eax + 0x1c]
mov dword [eax + 0xc], ecx
mov cl, byte [esp + 0x20]
and edx, 0xbf08
or edx, 8
test cl, 8
mov word [eax + 0x1c], dx
jne case.0x4fcdaf.13
push eax
call fcn.005058c0
add esp, 4
jmp case.0x4fcdaf.13
mov eax, dword [esi + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 3]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], ecx
test ecx, ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x4c]
lea edx, [eax + edx*8]
mov dword [esp + 0x24], edx
jle 0x4fd468
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push eax
mov dword [ecx], eax
call fcn.004fcae0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add esp, 4
add edx, 4
add ecx, 0x28
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
jne 0x4fd434
cmp byte [ebx + 1], 0xfb
jne 0x4fd485
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x184], 0
mov dword [esp + 0x180], edx
jmp 0x4fd498
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x184], eax
mov eax, dword [eax]
mov dword [esp + 0x180], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [esi + 0x4c]
mov word [esp + 0x1a4], 1
mov dword [esp + 0x198], edi
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
xor ecx, ecx
mov dword [esp + 0x2c], eax
push eax
lea eax, [esp + 0x18c]
mov dword [esp + 0x1ac], ecx
push eax
mov dword [esp + 0x1b4], ecx
call fcn.004fca10
mov ecx, dword [esp + 0x1ac]
mov eax, dword [esp + 0x188]
and ecx, 0xbf01
mov dword [esp + 0x1bc], 0
or ecx, 1
add esp, 8
mov word [esp + 0x1a4], cx
mov cl, byte [eax + 3]
test cl, 8
je 0x4fd516
mov edx, dword [ebx - 4]
mov dword [esp + 0x1b8], edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x184]
push edx
push ecx
call dword [eax + 0xc]
mov al, byte [edi + 0x1e]
add esp, 0xc
test al, al
jne 0x500d10
mov eax, dword [esp + 0x184]
test eax, eax
je 0x4fd55f
mov edx, dword [ebx + 4]
push edx
push eax
call fcn.004fab10
mov eax, dword [esp + 0x18c]
add esp, 8
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xf9
mov eax, dword [esp + 0x1b4]
test eax, eax
je 0x4fd598
lea ecx, [esp + 0x188]
push ecx
call fcn.004fb240
push eax
push 0x5ed5f0
lea edx, [esi + 0x80]
push edi
push edx
call fcn.004fbc10
mov eax, dword [esp + 0x1c8]
add esp, 0x14
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x188]
and ecx, 0xff
push ecx
push edx
call fcn.004f90a0
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x190]
push eax
push edi
call fcn.004fca10
push edi
call fcn.00505a40
add esp, 0x14
test eax, eax
jne 0x500e40
jmp case.0x4fcdaf.13
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x1c]
mov dl, byte [ecx + 0x1c]
mov cl, byte [eax + 0x1c]
or dl, cl
test dl, 1
je 0x4fd5ff
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004f8730
add esp, 4
jmp case.0x4fcdaf.13
mov edx, dword [esp + 0x5c]
push edx
call fcn.004fb040
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
mov edi, edx
call fcn.004fb040
xor ecx, ecx
add esp, 8
mov cl, byte [ebx]
sub ecx, 0x4f
je 0x4fd64b
dec ecx
je 0x4fd645
dec ecx
mov edx, edi
mov ecx, eax
mov eax, esi
je 0x4fd63a
call fcn.00572710
mov esi, eax
mov edi, edx
jmp 0x4fd64f
call fcn.005726f0
mov esi, eax
mov edi, edx
jmp 0x4fd64f
or esi, eax
or edi, edx
jmp 0x4fd64f
and esi, eax
and edi, edx
mov eax, dword [esp + 0x2c]
mov cx, word [eax + 0x1c]
mov dword [eax], esi
and ecx, 0xbf04
mov dword [eax + 4], edi
or ecx, 4
mov word [eax + 0x1c], cx
jmp case.0x4fcdaf.13
mov esi, dword [esp + 0x1c]
push esi
call fcn.005058f0
mov eax, dword [ebx + 8]
mov ecx, dword [esi]
cdq
add esp, 4
add ecx, eax
mov dword [esi], ecx
mov eax, dword [esi + 4]
adc eax, edx
mov dword [esi + 4], eax
jmp case.0x4fcdaf.13
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
push edx
push 0x63
push edi
call fcn.00506140
mov ax, word [edi + 0x1c]
add esp, 0xc
test al, 4
jne 0x4fd6c3
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x500d25
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
and eax, 0xbf04
or al, 4
mov word [edi + 0x1c], ax
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0x1c]
test byte [eax + 0x1c], 4
je case.0x4fcdaf.13
mov ecx, eax
push ecx
call fcn.004fcbb0
add esp, 4
jmp case.0x4fcdaf.13
mov edx, dword [esp + 0x1c]
mov ax, word [edx + 0x1c]
test al, 1
jne case.0x4fcdaf.13
mov cl, al
mov esi, edx
mov edx, dword [esp + 0x4c]
shr cl, 3
and ecx, 2
push edx
or ecx, eax
push 0x61
push esi
mov word [esi + 0x1c], cx
call fcn.00506140
add esp, 0xc
test byte [esi + 0x1d], 0x40
je 0x4fd73f
push esi
call fcn.004f8570
add esp, 4
and word [esi + 0x1c], 0xbfe3
mov dword [esp + 0x10], eax
jmp case.0x4fcdaf.13
and word [esi + 0x1c], 0xbfe3
mov dword [esp + 0x10], 0
jmp case.0x4fcdaf.13
mov ecx, dword [esp + 0x1c]
mov ax, word [ecx + 0x1c]
test al, 1
jne case.0x4fcdaf.13
test al, 0x10
jne 0x4fd78e
mov eax, dword [esp + 0x4c]
mov esi, ecx
push eax
push 0x61
push esi
call fcn.00506140
mov cx, word [esi + 0x1c]
add esp, 0xc
and ecx, 0xbf10
or ecx, 0x10
mov word [esi + 0x1c], cx
jmp case.0x4fcdaf.13
and eax, 0xff10
mov word [ecx + 0x1c], ax
jmp case.0x4fcdaf.13
mov edx, dword [esp + 0x1c]
test byte [edx + 0x1c], 0xd
jne case.0x4fcdaf.13
mov eax, edx
push eax
call fcn.00505920
add esp, 4
jmp case.0x4fcdaf.13
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x1c], 1
jne case.0x4fcdaf.13
mov edx, ecx
push edx
call fcn.005058f0
add esp, 4
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0x1c]
test byte [eax + 0x1c], 1
jne case.0x4fcdaf.13
mov ecx, eax
push ecx
call fcn.004fcbb0
add esp, 4
jmp case.0x4fcdaf.13
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov al, byte [edx + 0x1c]
mov dl, byte [ecx + 0x1c]
or al, dl
test al, 1
je 0x4fd82d
mov al, byte [ebx + 3]
test al, 0x10
je 0x4fd826
mov ebx, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*8]
mov dword [esp + 0x2c], eax
jmp 0x4fdad0
test al, 8
jmp 0x4ff1b3
mov dl, byte [ebx + 3]
and dl, 0x67
mov byte [esp + 0xc0], dl
je 0x4fd878
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00506140
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
call fcn.00506140
mov al, byte [edi + 0x1e]
add esp, 0x18
test al, al
jne 0x500e63
mov eax, dword [esp + 0x1c]
test byte [eax + 0x1d], 0x40
je 0x4fd88b
push eax
call fcn.004f8570
add esp, 4
mov edi, dword [esp + 0x50]
test byte [edi + 0x1d], 0x40
je 0x4fd89e
push edi
call fcn.004f8570
add esp, 4
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.004f8d80
xor ecx, ecx
add esp, 0xc
mov cl, byte [ebx]
add ecx, 0xffffffb8
cmp ecx, 4
ja case.default.0x4fd8bc
jmp dword [ecx*4 + 0x501154]
xor edx, edx
test eax, eax
sete dl
mov eax, edx
jmp 0x4fd8ff
xor ecx, ecx
test eax, eax
setne cl
jmp 0x4fd8fd
xor edx, edx
test eax, eax
setl dl
mov eax, edx
jmp 0x4fd8ff
xor ecx, ecx
test eax, eax
setle cl
jmp 0x4fd8fd
xor edx, edx
test eax, eax
setg dl
mov eax, edx
jmp 0x4fd8ff
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
test byte [ebx + 3], 0x10
je 0x4ff1b1
mov ebx, dword [ebx + 8]
mov ecx, dword [esi + 0x4c]
lea edx, [ebx + ebx*4]
lea ecx, [ecx + edx*8]
mov dword [esp + 0x2c], ecx
mov dx, word [ecx + 0x1c]
and edx, 0xbf04
or edx, 4
mov word [ecx + 0x1c], dx
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x8c], eax
jmp case.0x4fcdaf.13
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 8]
xor edi, edi
test ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], edx
jle 0x4fda15
mov ecx, dword [esp + 0x8c]
lea edx, [eax + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
jmp 0x4fd982
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x4fd995
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
jmp 0x4fd997
mov edx, edi
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 8]
xor ebx, ebx
mov ecx, dword [ecx]
mov bl, byte [edi + eax]
mov eax, dword [esi + 0x4c]
push ecx
mov ecx, dword [esp + 0x40]
add ecx, edx
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
push ecx
mov ecx, dword [esp + 0x20]
add ecx, edx
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*8]
push eax
call fcn.004f8d80
add esp, 0xc
mov dword [esp + 0xa0], eax
test eax, eax
jne 0x4fda08
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov eax, 4
inc edi
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edx
cmp edi, eax
mov dword [esp + 0x24], ecx
jl 0x4fd97e
mov dword [esp + 0x8c], 0
jmp case.0x4fcdaf.13
test ebx, ebx
je 0x4fda15
neg eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x8c], 0
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0xa0]
test eax, eax
jge 0x4fda3d
mov ebx, dword [ebx + 4]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
je 0x4ff1b9
mov ebx, dword [ebx + 0xc]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x1c], 1
je 0x4fda61
mov esi, 2
jmp 0x4fda7b
mov edx, dword [esp + 0x1c]
push edx
call fcn.004fb040
add esp, 4
or eax, edx
je 0x4fda79
mov esi, 1
jmp 0x4fda7b
xor esi, esi
mov eax, dword [esp + 0x5c]
test byte [eax + 0x1c], 1
je 0x4fda8c
mov eax, 2
jmp 0x4fdaa2
push eax
call fcn.004fb040
add esp, 4
or eax, edx
je 0x4fdaa0
mov eax, 1
jmp 0x4fdaa2
xor eax, eax
cmp byte [ebx], 0x42
jne 0x4fdab7
lea eax, [eax + esi*2]
xor ecx, ecx
mov cl, byte [esi + eax + 0x5bc50c]
mov eax, ecx
jmp 0x4fdac3
lea edx, [eax + esi*2]
xor eax, eax
mov al, byte [esi + edx + 0x5bc518]
cmp eax, 2
jne 0x4ffea1
mov eax, dword [esp + 0x2c]
mov cx, word [eax + 0x1c]
and ecx, 0xbf01
or ecx, 1
mov word [eax + 0x1c], cx
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x1c]
lea eax, [ebx + ebx*4]
lea esi, [ecx + eax*8]
mov al, byte [edx + 0x1c]
test al, 1
mov dword [esp + 0x2c], esi
je 0x4fdb0f
push esi
call fcn.004f8730
add esp, 4
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0x1c]
push eax
call fcn.004fb040
add esp, 4
or eax, edx
jne 0x4fdb36
mov eax, 1
cdq
push edx
push eax
push esi
call fcn.004fb3b0
add esp, 0xc
jmp case.0x4fcdaf.13
xor eax, eax
cdq
push edx
push eax
push esi
call fcn.004fb3b0
add esp, 0xc
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
mov edx, dword [esi + 0x4c]
mov eax, dword [esp + 0x1c]
lea ecx, [ebx + ebx*4]
lea esi, [edx + ecx*8]
mov cl, byte [eax + 0x1c]
test cl, 1
mov dword [esp + 0x2c], esi
je 0x4fdb73
push esi
call fcn.004f8730
add esp, 4
jmp case.0x4fcdaf.13
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004fb040
not edx
not eax
push edx
push eax
push esi
call fcn.004fb3b0
add esp, 0x10
jmp case.0x4fcdaf.13
mov edx, dword [esp + 0x1c]
test byte [edx + 0x1c], 1
je 0x4fdba3
mov eax, dword [ebx + 0xc]
jmp 0x4ff1b1
mov eax, dword [esp + 0x1c]
push eax
call fcn.004fafb0
fcomp qword [0x5bef10]
add esp, 4
fnstsw ax
test ah, 0x40
jne 0x4fdbc4
mov eax, 1
jmp 0x4fdbc6
xor eax, eax
cmp byte [ebx], 0x45
jne 0x4ff1b1
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x4ff1b1
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xc]
test byte [ecx + 0x1c], 1
jne 0x4ff1b9
add ecx, 0x28
dec eax
test eax, eax
jle 0x500c04
test byte [ecx + 0x1c], 1
je 0x4fdbee
mov ebx, dword [ebx + 8]
mov dword [esp + 0x1c], ecx
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov edx, dword [esp + 0x1c]
test byte [edx + 0x1c], 1
jne case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 8]
mov ecx, 0xa
mov dword [esp + 0x20], eax
xor eax, eax
lea edi, [esp + 0x1c0]
mov edx, dword [ebx + 4]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4c]
lea eax, [eax + ecx*8]
mov dword [esp + 0x24], eax
mov cx, word [eax + 0x1c]
and ecx, 0xbf01
or ecx, 1
mov word [eax + 0x1c], cx
mov eax, dword [esi + 0x30]
mov edi, dword [eax + edx*4]
xor eax, eax
cmp dword [edi], eax
je 0x4fdd19
push edi
call fcn.00505b80
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov ecx, dword [edi]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x38], ecx
mov cl, byte [edi + 0x1c]
test cl, cl
je 0x4fdcad
mov dword [esp + 0x68], eax
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x18], ecx
jmp 0x4fdd35
mov edx, dword [edi + 0x60]
mov eax, dword [esi + 0x54]
cmp edx, eax
jne 0x4fdcce
mov eax, dword [edi + 0x64]
mov dword [esp + 0x68], eax
mov ecx, dword [edi + 0x70]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x18], ecx
jmp 0x4fdd35
mov al, byte [edi + 0x22]
test al, al
je 0x4fdcfe
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x228]
push edx
push eax
call fcn.004f7310
mov ecx, dword [esp + 0x230]
add esp, 8
mov dword [esp + 0x68], ecx
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x18], ecx
jmp 0x4fdd35
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x68]
push edx
push eax
call fcn.00501720
mov ecx, dword [edi + 0x4c]
add esp, 8
mov dword [esp + 0x18], ecx
jmp 0x4fdd35
mov edx, dword [edi + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], edx
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x6c], ecx
mov dword [edi + 0x60], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x68]
test eax, eax
je case.0x4fcdaf.13
mov ecx, dword [esp + 0x30]
cmp eax, dword [ecx + 0x50]
jg 0x500e40
mov edx, dword [edi + 0x60]
mov ecx, dword [esi + 0x54]
mov eax, dword [edi + 0x68]
cmp edx, ecx
mov dword [esp + 0x34], eax
jne 0x4fdd6b
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x78], eax
jmp 0x4fdf59
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], 0
lea eax, [eax + ecx*4]
mov dword [edi + 0x6c], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 0x78], eax
mov dword [edi + 0x64], edx
mov eax, dword [esi + 0x54]
mov esi, dword [esp + 0x6c]
test esi, esi
mov dword [edi + 0x60], eax
jne 0x4fddde
mov al, byte [edi + 0x22]
test al, al
je 0x4fddae
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.005017c0
jmp 0x4fddbd
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.005017e0
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x70]
add esp, 8
cmp edx, eax
jl 0x4fddd7
mov dword [esp + 0x6c], esi
mov dword [edi + 0x70], esi
jmp 0x4fddde
mov dword [edi + 0x70], 0
mov cl, byte [esi]
cmp cl, 0x80
jae 0x4fddf6
and ecx, 0xff
mov eax, 1
mov dword [esp + 0x7c], ecx
jmp 0x4fde10
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.004f60c0
mov ecx, dword [esp + 0x84]
add esp, 8
and eax, 0xff
and eax, 0xff
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4fde6c
cmp dword [esp + 0x14], ecx
jge 0x4fde6c
xor esi, esi
xor eax, eax
mov word [esp + 0x1dc], si
mov dword [esp + 0x1d0], esi
mov al, byte [edi + 0x22]
lea edx, [esp + 0x1c0]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x44]
push esi
push ecx
call fcn.00505a70
add esp, 0x14
cmp eax, esi
mov dword [esp + 0x10], eax
jne case.0x4fcdaf.13
mov esi, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x40]
lea edx, [ecx + esi]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x18]
add eax, esi
test edx, edx
mov dword [esp + 0x10], eax
jle 0x4fdf13
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x78]
sub eax, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], eax
jmp 0x4fdea1
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x3c]
jae 0x4fdefe
mov dword [eax + esi], ecx
mov al, byte [edx]
cmp al, 0x80
jae 0x4fdec2
and eax, 0xff
mov dword [esi], eax
mov eax, 1
jmp 0x4fded5
mov ecx, dword [esp + 0x10]
push esi
push ecx
call fcn.004f60c0
add esp, 8
and eax, 0xff
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
and eax, 0xff
push edx
add ecx, eax
mov dword [esp + 0x14], ecx
call fcn.004f88e0
mov ecx, dword [esp + 0x80]
add esp, 4
add ecx, eax
mov dword [esp + 0x7c], ecx
jmp 0x4fdf05
mov dword [eax + esi], 0
mov eax, dword [esp + 0x18]
add esi, 4
dec eax
mov dword [esp + 0x18], eax
jne 0x4fde9d
lea eax, [esp + 0x1c0]
push eax
call fcn.004f85e0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
add esp, 4
cmp edx, esi
mov word [esp + 0x1dc], 1
ja 0x4fe086
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jg 0x4fe086
cmp edx, esi
jne 0x4fdf59
cmp eax, ecx
jne 0x4fe086
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
cmp dword [ecx + esi*4], 0
je 0x4fe022
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x4fdfa4
mov edi, dword [esp + 0x24]
push edi
call fcn.004f8610
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
push edi
mov eax, dword [edx + esi*4]
mov edx, dword [ecx + esi*4]
add ebx, edx
push eax
push ebx
call fcn.004f8900
mov al, byte [esp + 0x5c]
add esp, 0x10
mov byte [edi + 0x1f], al
jmp 0x4fe044
mov edx, dword [esp + 0x34]
mov eax, dword [edx + esi*4]
push eax
call fcn.004f88e0
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x1c4]
push ecx
push edx
mov ebx, eax
call fcn.004fca10
mov edx, dword [esp + 0x84]
xor ecx, ecx
mov cl, byte [edi + 0x22]
lea eax, [esp + 0x1cc]
push eax
mov eax, dword [edx + esi*4]
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
push eax
push ecx
call fcn.00505a70
add esp, 0x20
mov dword [esp + 0x10], eax
test eax, eax
jne case.0x4fcdaf.13
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x1d4]
push edi
push ecx
push edx
call fcn.004f8900
mov al, byte [esp + 0x58]
add esp, 0xc
mov byte [edi + 0x1f], al
jmp 0x4fe044
cmp byte [ebx + 1], 0xf8
jne 0x4fe040
mov ecx, dword [ebx + 0x10]
mov edi, dword [esp + 0x24]
push 0x800
push ecx
push edi
call fcn.004f8fa0
add esp, 0xc
jmp 0x4fe044
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x4fe074
mov dx, word [edi + 0x1c]
and edx, 0xe7ff
or dh, 2
mov word [edi + 0x1c], dx
mov eax, dword [esp + 0x1d4]
mov dword [edi + 0x14], eax
mov ecx, dword [esp + 0x1e4]
mov dword [edi + 0x24], ecx
push edi
call fcn.004f8510
add esp, 4
mov dword [esp + 0x10], eax
jmp case.0x4fcdaf.13
mov dword [esp + 0x10], 0xb
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x10]
mov ecx, dword [esi + 0x4c]
mov ebx, dword [ebx + 8]
lea eax, [eax + eax*4]
mov dword [esp + 0x40], edx
lea edx, [ebx + ebx*4]
lea esi, [ecx + eax*8]
mov edi, esi
lea ebx, [esi + edx*8 - 0x28]
cmp esi, ebx
ja case.0x4fcdaf.13
test byte [edi + 0x1d], 0x40
je 0x4fe0c9
push edi
call fcn.004f8570
add esp, 4
mov eax, dword [esp + 0x4c]
mov ecx, edi
push eax
sub ecx, esi
mov eax, 0x66666667
imul ecx
mov eax, dword [esp + 0x44]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov cl, byte [edx + eax]
push ecx
push edi
call fcn.00506140
add edi, 0x28
add esp, 0xc
cmp edi, ebx
jbe 0x4fe0ba
jmp case.0x4fcdaf.13
mov ecx, dword [esi + 0x4c]
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x20], edx
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [ebx + 8]
xor ecx, ecx
mov dword [esp + 0x18], edi
mov cl, byte [esi + 0x8b]
lea edx, [eax + eax*4]
mov dword [esp + 0x14], ecx
lea eax, [edi + edx*8 - 0x28]
cmp edi, eax
mov dword [esp + 0x24], eax
ja 0x4fe224
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4fe188
mov edx, dword [esp + 0x4c]
mov ecx, edi
push edx
mov edx, dword [esp + 0x1c]
sub ecx, edx
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x24]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dl, byte [edx + ecx]
push edx
push edi
call fcn.00506140
add esp, 0xc
test byte [edi + 0x1d], 0x40
je 0x4fe19e
mov eax, dword [edi + 0x18]
test eax, eax
jle 0x4fe19e
push edi
call fcn.004f8570
add esp, 4
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.00505c70
push eax
mov dword [esp + 0x4c], eax
call fcn.004f88e0
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x48], eax
cdq
add ecx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x4c]
adc eax, edx
push 0
push ecx
mov dword [esp + 0xbc], eax
call fcn.00501250
mov ecx, dword [esp + 0x4c]
add esp, 0x14
add ecx, eax
test byte [edi + 0x1d], 0x40
mov dword [esp + 0x38], ecx
je 0x4fe205
mov edx, dword [edi]
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x34], eax
jmp 0x4fe215
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4fe215
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x24]
add edi, 0x28
cmp edi, eax
jbe 0x4fe151
mov eax, dword [esp + 0x38]
cdq
push edx
push eax
call fcn.00501250
mov edi, eax
mov eax, dword [esp + 0x40]
add eax, edi
mov dword [esp + 0x40], eax
cdq
push edx
push eax
call fcn.00501250
add esp, 0x10
cmp edi, eax
jge 0x4fe24f
inc dword [esp + 0x38]
mov eax, dword [esp + 0x34]
cdq
mov edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], edi
mov edi, edx
cdq
mov ecx, edx
mov edx, dword [esp + 0x40]
sub eax, edx
mov edx, dword [esp + 0xa4]
sbb ecx, edi
add eax, edx
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xa8]
adc ecx, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x50]
cdq
cmp ecx, edx
jg 0x500e40
jl 0x4fe2a3
cmp dword [esp + 0xd8], eax
ja 0x500e40
mov ebx, dword [ebx + 0xc]
mov edx, dword [esi + 0x4c]
mov eax, dword [esp + 0xd8]
push 0
lea ecx, [ebx + ebx*4]
push eax
lea edi, [edx + ecx*8]
push edi
mov dword [esp + 0x38], edi
call fcn.004f8300
add esp, 0xc
test eax, eax
jne 0x500e63
mov eax, dword [esp + 0x38]
mov ebx, dword [edi + 0x14]
cmp eax, 0x80
jae 0x4fe2e5
mov byte [ebx], al
mov eax, 1
jmp 0x4fe2ef
push eax
push ebx
call fcn.00501170
add esp, 8
mov esi, dword [esp + 0x18]
and eax, 0xff
mov edi, eax
mov eax, dword [esp + 0x24]
cmp esi, eax
ja 0x4fe371
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.00505c70
add esp, 8
cmp eax, 0x80
jae 0x4fe321
mov byte [edi + ebx], al
mov eax, 1
jmp 0x4fe32e
lea edx, [edi + ebx]
push eax
push edx
call fcn.00501170
add esp, 8
and eax, 0xff
add esi, 0x28
add edi, eax
mov eax, dword [esp + 0x24]
cmp esi, eax
jbe 0x4fe302
mov esi, dword [esp + 0x18]
cmp esi, eax
ja 0x4fe371
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xd8]
push eax
sub ecx, edi
push esi
lea edx, [edi + ebx]
push ecx
push edx
call fcn.00505d50
add edi, eax
mov eax, dword [esp + 0x34]
add esi, 0x28
add esp, 0x10
cmp esi, eax
jbe 0x4fe348
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xd8]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x34]
test ecx, ecx
mov word [eax + 0x1c], 0x410
mov dword [eax + 0x20], 0
je 0x4fe39c
mov dword [eax], ecx
mov word [eax + 0x1c], 0x4410
mov byte [eax + 0x1f], 1
jmp case.0x4fcdaf.13
mov al, byte [edi + 0x1c]
test al, al
je 0x4fe3b9
cmp dword [edi + 0x90], 1
jle case.0x4fcdaf.13
mov ebx, dword [ebx + 4]
mov eax, dword [edi + 8]
lea edx, [ebx + ebx*2]
mov edi, dword [eax + edx*8 + 4]
push edi
call fcn.00505840
add esp, 4
test eax, eax
jne case.0x4fcdaf.13
push edi
call fcn.005014f0
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esi + 0xe4], 1
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
test eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
jne 0x4fe49f
mov eax, dword [edi + 0x94]
test eax, eax
jle 0x4fe41d
push str.cannot_open_savepoint___SQL_statements_in_progress
jmp 0x4fe6dd
mov esi, dword [esp + 0x18]
push esi
call fcn.004ef7c0
mov ebx, eax
lea edx, [ebx + 9]
push edx
push edi
call fcn.004ee570
add esp, 0xc
test eax, eax
je case.0x4fcdaf.13
lea ecx, [ebx + 1]
lea edi, [eax + 8]
mov edx, ecx
mov dword [eax], edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
mov dl, byte [ecx + 0x1c]
test dl, dl
je 0x4fe47e
mov edx, dword [ecx + 0x1d4]
mov byte [ecx + 0x1c], 0
mov byte [ecx + 0x1dc], 1
mov dword [eax + 4], edx
mov dword [ecx + 0x1d4], eax
jmp case.0x4fcdaf.13
mov edx, dword [ecx + 0x1d8]
inc edx
mov dword [ecx + 0x1d8], edx
mov edx, dword [ecx + 0x1d4]
mov dword [eax + 4], edx
mov dword [ecx + 0x1d4], eax
jmp case.0x4fcdaf.13
mov ebx, dword [edi + 0x1d4]
mov dword [esp + 0x14], 0
test ebx, ebx
mov dword [esp + 0x24], ebx
je 0x4fe4e7
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.004ef7e0
add esp, 8
test eax, eax
je 0x4fe4df
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebx + 4]
inc ecx
test ebx, ebx
mov dword [esp + 0x14], ecx
jne 0x4fe4b5
mov dword [esp + 0x24], ebx
jmp 0x4fe4e7
test ebx, ebx
mov dword [esp + 0x24], ebx
jne 0x4fe50e
mov edx, dword [esp + 0x18]
add esi, 0x80
push edx
push str.no_such_savepoint:__s
push edi
push esi
call fcn.004fbc10
add esp, 0x10
mov dword [esp + 0x10], 1
jmp case.0x4fcdaf.13
mov eax, dword [edi + 0x94]
test eax, eax
mov eax, dword [esp + 0x34]
jg 0x4fe672
cmp eax, 2
jne 0x4fe532
cmp dword [edi + 0x90], 1
jg 0x4fe677
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x4fe578
mov cl, byte [edi + 0x1dc]
test cl, cl
je 0x4fe578
cmp eax, 1
mov dword [esp + 0x3c], 1
jne 0x4fe580
push esi
mov byte [edi + 0x1c], al
call fcn.004f9c10
add esp, 4
cmp eax, 5
je 0x500d46
mov byte [edi + 0x1dc], 0
mov eax, dword [esi + 0x68]
mov dword [esp + 0x10], eax
jmp 0x4fe5fd
mov dword [esp + 0x3c], 0
mov ebx, dword [edi + 0x1d8]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
sub ebx, eax
xor eax, eax
dec ebx
cmp ecx, eax
mov dword [esp + 0x20], eax
jle 0x4fe5df
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x18]
push ebx
push ecx
mov ecx, dword [edx + eax + 4]
push ecx
call fcn.00501550
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jl 0x4fe59e
cmp dword [esp + 0x34], 2
jne 0x4fe5fd
test byte [edi + 0xc], 0x10
je 0x4fe5fd
push edi
call fcn.00506030
push 0
push edi
call fcn.00507d00
add esp, 0xc
mov eax, dword [edi + 0x1d4]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
je 0x4fe639
mov edx, dword [eax + 4]
push eax
push edi
mov dword [edi + 0x1d4], edx
call fcn.004ee360
mov edx, dword [edi + 0x1d8]
mov eax, dword [edi + 0x1d4]
mov ecx, dword [esp + 0x2c]
add esp, 8
dec edx
cmp eax, ecx
mov dword [edi + 0x1d8], edx
jne 0x4fe60b
cmp dword [esp + 0x34], 1
jne case.0x4fcdaf.13
mov eax, dword [esp + 0x24]
push eax
push edi
mov ecx, dword [eax + 4]
mov dword [edi + 0x1d4], ecx
call fcn.004ee360
mov eax, dword [esp + 0x44]
add esp, 8
test eax, eax
jne case.0x4fcdaf.13
dec dword [edi + 0x1d8]
jmp case.0x4fcdaf.13
cmp eax, 2
jne 0x4fe67e
mov eax, str.rollback
jmp 0x4fe683
mov eax, str.release
push eax
push str.cannot__s_savepoint___SQL_statements_in_progress
add esi, 0x80
push edi
push esi
call fcn.004fbc10
add esp, 0x10
mov dword [esp + 0x10], 5
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ebx, dword [ebx + 8]
test eax, eax
mov dword [esp + 0x40], eax
je 0x4fe6fa
mov cl, byte [edi + 0x1c]
test cl, cl
jne 0x4fe6fa
test ebx, ebx
je 0x4fe6cf
cmp dword [edi + 0x90], 1
jle 0x4fe6fa
push str.cannot_rollback_transaction___SQL_statements_in_progress
jmp 0x4fe6dd
cmp dword [edi + 0x94], 1
jle 0x4fe6fa
push str.cannot_commit_transaction___SQL_statements_in_progress
add esi, 0x80
push edi
push esi
call fcn.004fbc10
add esp, 0xc
mov dword [esp + 0x10], 5
jmp case.0x4fcdaf.13
xor edx, edx
mov dl, byte [edi + 0x1c]
cmp eax, edx
jne 0x500d5e
test eax, eax
jne 0x4fe716
mov eax, str.cannot_start_a_transaction_within_a_transaction
push eax
jmp 0x500aa9
test ebx, ebx
mov eax, str.cannot_rollback___no_transaction_is_active
jne 0x4fe724
mov eax, str.cannot_commit___no_transaction_is_active
push eax
jmp 0x500aa9
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 8]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8 + 4]
test eax, eax
je case.0x4fcdaf.13
mov edx, dword [ebx + 8]
push edx
push eax
call fcn.004f4b70
add esp, 8
cmp eax, 5
mov dword [esp + 0x10], eax
je 0x500dba
test eax, eax
je case.0x4fcdaf.13
cmp eax, 8
jne 0x500d2d
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ebx, dword [ebx + 0xc]
test eax, eax
jge 0x4fe782
or ecx, 0xffffffff
sub ecx, eax
mov eax, ecx
neg ebx
mov ecx, dword [edi + 8]
lea edx, [esp + 0x108]
lea eax, [eax + eax*2]
push edx
inc ebx
mov edx, dword [ecx + eax*8 + 4]
push ebx
push edx
call fcn.004f6b60
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x114]
add esp, 0xc
cdq
mov dword [ecx], eax
mov ax, word [ecx + 0x1c]
and eax, 0xbf04
mov dword [ecx + 4], edx
or al, 4
mov word [ecx + 0x1c], ax
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov edx, dword [edi + 8]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x50]
push eax
lea esi, [edx + ecx*8]
call fcn.005058f0
mov ecx, dword [esp + 0x54]
mov eax, dword [ebx + 8]
inc eax
mov edx, dword [ecx]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.004f6d20
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
add esp, 0x10
test eax, eax
jne 0x4fe816
mov eax, dword [esp + 0x50]
mov edx, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [edi + 0xc]
or al, 0x10
mov dword [edi + 0xc], eax
jmp 0x4fe827
cmp eax, 1
jne 0x4fe827
mov eax, dword [esp + 0x50]
mov edx, dword [esi + 0x14]
mov cl, byte [eax]
mov byte [edx + 0x48], cl
cmp dword [ebx + 4], 1
jne case.0x4fcdaf.13
push edi
call fcn.00506030
add esp, 4
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
xor ecx, ecx
lea edx, [eax + eax*2]
mov eax, dword [edi + 8]
mov eax, dword [eax + edx*8 + 4]
cmp eax, ecx
je 0x4fe8e2
lea ecx, [esp + 0xac]
push ecx
push 1
push eax
call fcn.004f6b60
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne case.0x4fcdaf.13
mov edx, dword [esp + 0xac]
mov eax, dword [ebx + 8]
cmp edx, eax
je case.0x4fcdaf.13
mov eax, dword [esi + 0x80]
push eax
push edi
call fcn.004ee360
push str.database_schema_has_changed
push edi
call fcn.004fb710
mov dword [esi + 0x80], eax
mov ebx, dword [ebx + 4]
mov edx, dword [edi + 8]
add esp, 0x10
lea ecx, [ebx + ebx*2]
mov eax, dword [edx + ecx*8 + 0x14]
mov ecx, dword [eax]
mov eax, dword [esp + 0xac]
cmp ecx, eax
je 0x4fe8cc
push ebx
push edi
call fcn.00507d00
add esp, 8
push edi
call fcn.00506030
add esp, 4
mov dword [esp + 0x10], 0x11
jmp case.0x4fcdaf.13
mov dword [esp + 0x10], ecx
mov dword [esp + 0xac], ecx
jmp 0x4fe875
mov ecx, dword [ebx + 0xc]
mov edi, dword [edi + 8]
mov edx, dword [ebx + 4]
mov dword [esp + 0x40], ecx
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 8]
cmp al, 0xa
lea ecx, [edi + ecx*8]
mov dword [esp + 0x3c], edx
mov edi, dword [ecx + 4]
mov dword [esp + 0x14], edi
jne 0x4fe938
mov eax, dword [ecx + 0x14]
mov cl, byte [esi + 0x8b]
mov dword [esp + 0x20], 1
mov al, byte [eax + 0x48]
cmp al, cl
jae 0x4fe940
mov byte [esi + 0x8b], al
jmp 0x4fe940
mov dword [esp + 0x20], 0
mov al, byte [ebx + 3]
test al, al
je 0x4fe96c
lea ecx, [edx + edx*4]
mov edx, dword [esi + 0x4c]
lea edi, [edx + ecx*8]
push edi
mov dword [esp + 0x60], edi
call fcn.005058f0
mov edi, dword [edi]
add esp, 4
cmp edi, 2
mov dword [esp + 0x3c], edi
jl 0x500df0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
push 1
lea ecx, [ebx - 0x14]
push eax
push ecx
push edx
push esi
call fcn.00506050
mov edi, eax
add esp, 0x14
test edi, edi
je 0x500e63
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
mov byte [edi + 0x1c], 1
mov ecx, dword [ebx + 0x10]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.005015b0
mov dword [esp + 0x24], eax
mov al, byte [ebx + 1]
add esp, 0x14
cmp al, 0xfa
jne 0x4fe9d2
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x48], eax
mov edx, dword [esi]
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0x14]
mov cl, byte [edx + 0x49]
mov byte [eax + 4], cl
jmp 0x4fe9d9
mov dword [edi + 0x48], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4fea1a
cmp eax, 5
je 0x500dce
cmp eax, 0x10
jne 0x500d2d
mov dl, byte [ebx + 1]
mov dword [edi], 0
cmp dl, 0xfa
mov dword [esp + 0x10], 0
setne al
test al, al
sete dl
mov byte [edi + 0x21], al
mov byte [edi + 0x22], dl
jmp case.0x4fcdaf.13
mov eax, dword [edi]
push eax
call fcn.00504c20
add esp, 4
test al, 0xf0
jne 0x500df0
mov ecx, eax
and ecx, 7
cmp ecx, 5
je 0x4fea40
cmp ecx, 2
jne 0x500df0
mov cl, al
shr eax, 1
and cl, 1
and al, 1
test cl, cl
mov byte [edi + 0x21], cl
mov byte [edi + 0x22], al
je 0x4fea5d
cmp byte [ebx + 1], 0xfa
je 0x500df0
test al, al
je case.0x4fcdaf.13
cmp byte [ebx + 1], 0xfa
jne 0x500df0
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
push 1
push 0xffffffffffffffff
push ebx
push eax
push esi
call fcn.00506050
mov edi, eax
add esp, 0x14
test edi, edi
je 0x500e63
mov byte [edi + 0x1c], 1
mov edx, dword [0x5bc524]
lea eax, [edi + 0x30]
push eax
mov eax, dword [esp + 0x34]
push edx
push 0x1f4
push 1
push 0
push eax
call fcn.0052aec0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4feb66
mov ecx, dword [edi + 0x30]
push 1
push ecx
call fcn.004f4b70
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4feb66
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4feb49
mov eax, dword [edi + 0x30]
lea edx, [esp + 0x104]
push 2
push edx
push eax
call fcn.00504590
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4feb35
mov ecx, dword [edi]
mov edx, dword [ebx + 0x10]
mov eax, dword [esp + 0x104]
push ecx
mov ecx, dword [edi + 0x30]
push edx
push 1
push eax
push ecx
call fcn.005015b0
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x24], eax
mov dword [edi + 0x48], ebx
mov edx, dword [esi]
add esp, 0x14
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x14]
mov dl, byte [ecx + 0x49]
mov byte [ebx + 4], dl
mov byte [edi + 0x21], 0
mov al, byte [edi + 0x21]
test al, al
sete dl
mov byte [edi + 0x22], dl
jmp case.0x4fcdaf.13
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push eax
push 0
push 1
push 1
push ecx
call fcn.005015b0
add esp, 0x14
mov dword [esp + 0x10], eax
mov byte [edi + 0x21], 1
mov al, byte [edi + 0x21]
test al, al
sete dl
mov byte [edi + 0x22], dl
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
push 0
lea ecx, [ebx - 0x14]
push 0xffffffffffffffff
push ecx
push eax
push esi
call fcn.00506050
add esp, 0x14
test eax, eax
je 0x500e63
mov byte [eax + 0x1c], 1
mov byte [eax + 0x1e], 1
mov dl, byte [ebx + 8]
mov byte [eax + 0x21], 1
mov byte [eax + 0x1f], dl
mov byte [eax + 0x22], 0
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + ebx*4]
push ecx
push esi
call fcn.004f9920
mov edx, dword [esi + 0x30]
add esp, 8
mov dword [edx + ebx*4], 0
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x30]
mov edi, dword [ecx + eax*4]
mov ecx, dword [edi]
test ecx, ecx
je 0x4feebf
mov al, byte [edi + 0x21]
mov byte [edi + 0x1c], 0
test al, al
je 0x4fedab
mov edx, dword [esp + 0x50]
push edx
call fcn.004fcb20
mov eax, dword [esp + 0x54]
push eax
call fcn.004fb040
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x78], eax
mov byte [edi + 0x19], 0
add esp, 8
mov ax, word [ecx + 0x1c]
mov dword [esp + 0x74], edx
test al, 4
jne 0x4fed61
test al, 8
je 0x4ff1b9
mov eax, dword [esp + 0x70]
xor edx, edx
cmp eax, edx
jne 0x4fed05
mov ecx, dword [esp + 0x74]
mov eax, closesocket
cmp ecx, eax
jne 0x4fed05
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x130], edx
mov dword [esp + 0x134], eax
fild qword [esp + 0x130]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 0x41
je 0x4fec83
fld qword [ecx + 8]
fcomp qword [0x5bef10]
fnstsw ax
test ah, 0x41
jne 0x4fed09
fld qword [ecx + 8]
fcomp qword [0x5bef10]
mov dword [esp + 0x60], 1
fnstsw ax
test ah, 1
mov eax, dword [esp + 0x24]
je 0x4fecd2
cmp eax, 0x79
je 0x4fecad
cmp eax, 0x6d
jne 0x4ff1b9
mov eax, dword [edi]
lea edx, [esp + 0x60]
push edx
push eax
call fcn.00501800
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov eax, dword [esp + 0x60]
jmp 0x4ff1b1
cmp eax, 0x59
je 0x4fece0
cmp eax, 0x38
jne 0x4ff1b9
mov edx, dword [edi]
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.005018a0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov eax, dword [esp + 0x60]
jmp 0x4ff1b1
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
cmp eax, 0x59
je 0x4fed3e
cmp eax, 0x6d
je 0x4fed3e
fild qword [esp + 0x70]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 0x41
jne 0x4fed61
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
or eax, 0xffffffff
add edx, eax
adc ecx, eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
jmp 0x4fed61
fild qword [esp + 0x70]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 1
je 0x4fed61
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
add ecx, 1
adc eax, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x60]
push eax
mov eax, dword [edi]
push 0
push ecx
push edx
push 0
push eax
call fcn.004f7970
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4fee25
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [edi + 8], ecx
mov byte [edi + 0x19], 1
mov dword [edi + 0xc], edx
jmp 0x4fee25
mov eax, dword [edi + 0x48]
mov dx, word [ebx + 0x10]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x79
mov word [esp + 0x110], dx
je 0x4fedd9
cmp eax, 0x38
mov word [esp + 0x112], 0
jne 0x4fede3
mov word [esp + 0x112], 8
mov eax, dword [ebx + 0xc]
mov edx, dword [esi + 0x4c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x118], eax
push 0
push 0
lea eax, [esp + 0x118]
push 0
push eax
push ecx
call fcn.004f7970
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov byte [edi + 0x19], al
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
xor edx, edx
cmp ecx, 0x6d
mov byte [edi + 0x20], 0
mov dword [edi + 0x60], edx
je 0x4fee83
cmp ecx, 0x79
je 0x4fee83
cmp eax, edx
jg 0x4fee5b
jne 0x4fee47
cmp ecx, 0x59
je 0x4fee5b
mov ecx, dword [edi]
push ecx
call fcn.00501960
add esp, 4
mov dword [esp + 0x60], eax
jmp 0x4ff1b1
mov eax, dword [edi]
lea edx, [esp + 0x60]
push edx
push eax
call fcn.00501ae0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov byte [edi + 0x19], al
mov eax, dword [esp + 0x60]
jmp 0x4ff1b1
cmp eax, edx
jl 0x4fee97
jne 0x4fee8e
cmp ecx, 0x79
je 0x4fee97
mov dword [esp + 0x60], edx
jmp case.0x4fcdaf.13
mov edx, dword [edi]
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.00501970
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov byte [edi + 0x19], al
mov eax, dword [esp + 0x60]
jmp 0x4ff1b1
mov al, byte [edi + 0x1e]
test al, al
jne case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x30]
mov esi, dword [ecx + eax*4]
cmp dword [esi], 0
je case.0x4fcdaf.13
mov edx, dword [esp + 0x5c]
mov byte [esi + 0x1c], 0
push edx
call fcn.004fb040
mov dword [esi + 0x28], eax
add esp, 4
mov dword [esi + 0x2c], edx
mov byte [esi + 0x19], 0
mov byte [esi + 0x20], 1
jmp case.0x4fcdaf.13
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x30]
xor eax, eax
mov edi, dword [edx + ecx*4]
cmp dword [edi], 0
je 0x4fefa2
lea eax, [esp + 0x270]
push 0xc0
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0x48]
push ecx
push edx
push eax
call fcn.004f8770
add esp, 0x14
mov dword [esp + 0x40], eax
test eax, eax
je 0x500e63
cmp byte [ebx], 0x7e
jne 0x4fef5b
or byte [eax + 6], 0x10
mov edx, dword [edi]
lea ecx, [esp + 0xe0]
push ecx
push 0
push 0
push 0
push eax
push edx
call fcn.004f7970
mov esi, eax
mov eax, dword [esp + 0x58]
push eax
mov dword [esp + 0x2c], esi
call fcn.004f8b40
add esp, 0x1c
test esi, esi
jne case.0x4fcdaf.13
mov ecx, dword [esp + 0xe0]
xor eax, eax
test ecx, ecx
sete al
mov byte [edi + 0x20], 0
mov dword [edi + 0x60], esi
cmp byte [ebx], 0x7e
je 0x4ff1b1
test eax, eax
jne case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x40], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x4c]
push edi
lea ecx, [eax + edx*8]
mov dword [esp + 0x24], ecx
call fcn.005058f0
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x30]
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x100], eax
add esp, 4
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x14], eax
je case.0x4fcdaf.13
lea eax, [esp + 0x270]
push 0xc0
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov eax, dword [esp + 0x20]
push ecx
push edx
mov ecx, dword [eax + 0x48]
push ecx
call fcn.004f8770
mov edi, eax
add esp, 0x14
test edi, edi
je 0x500e63
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
or byte [edi + 6], 4
lea eax, [esp + 0x84]
push eax
push 0
push 0
push 0
push edi
push ecx
mov dword [edx + 0x60], 0
call fcn.004f7970
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500de2
mov eax, dword [esp + 0x84]
test eax, eax
jge 0x4ff0c2
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x84]
push edx
push eax
call fcn.00501970
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
add esp, 8
test eax, eax
je 0x4ff0c2
mov ebx, dword [ebx + 8]
push edi
dec ebx
mov dword [esp + 0x2c], ebx
call fcn.004f8b40
add esp, 4
jmp case.0x4fcdaf.13
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x84]
push ecx
push edi
push edx
call fcn.00505f80
push edi
mov dword [esp + 0x20], eax
call fcn.004f8b40
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
jne 0x500d2d
mov eax, dword [esp + 0x84]
test eax, eax
jg 0x4ff1b9
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x138]
push eax
push ecx
call fcn.00505e20
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov ecx, dword [esp + 0x138]
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0x13c]
cmp ecx, eax
jne 0x4ff140
cmp edx, dword [esp + 0xfc]
je 0x4ff1b9
mov eax, dword [esp + 0x50]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp case.0x4fcdaf.13
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x30]
mov esi, dword [eax + edx*4]
mov eax, dword [esi]
test eax, eax
je 0x4ff1c6
mov edi, dword [esp + 0x50]
lea edx, [esp + 0xc4]
push edx
push 0
mov edx, dword [edi + 4]
mov ecx, dword [edi]
push edx
push ecx
push 0
push eax
mov dword [esp + 0xdc], 0
call fcn.004f7970
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xdc]
mov ecx, dword [edi + 4]
add esp, 0x18
test eax, eax
sete dl
mov dword [esi + 0xc], ecx
mov byte [esi + 0x19], dl
mov byte [esi + 0x1c], 0
mov dword [esi + 0x60], 0
test eax, eax
je case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov al, byte [esi + 0x1e]
test al, al
jne case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 0x30]
mov edx, dword [eax + ebx*4]
mov eax, dword [edx + 0x50]
mov dword [ecx], eax
mov edx, dword [edx + 0x54]
mov dword [ecx + 4], edx
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ebx*4]
mov ebx, dword [eax + 0x50]
add ebx, 1
mov dword [eax + 0x50], ebx
mov edi, dword [eax + 0x54]
adc edi, 0
mov dword [eax + 0x54], edi
jmp 0x4ffeab
mov edx, dword [esi + 0x30]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x38], eax
mov eax, dword [eax]
test eax, eax
je 0x4ff498
xor ecx, ecx
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], ecx
call fcn.00504c20
and eax, 3
add esp, 4
cmp al, 1
jne 0x500df0
mov eax, dword [esp + 0x38]
mov cl, byte [eax + 0x1b]
test cl, cl
jne 0x4ff3a8
mov cl, byte [eax + 0x1d]
test cl, cl
je 0x4ff277
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x58], edx
jmp 0x4ff2f8
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x24]
push eax
mov edx, dword [ecx]
push edx
call fcn.005018a0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4ff2b1
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0
jmp 0x4ff2f8
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x54]
push eax
mov edx, dword [ecx]
push edx
call fcn.004f7310
mov eax, dword [esp + 0x5c]
add esp, 8
cmp eax, 0xffffffff
jne 0x4ff2e2
cmp dword [esp + 0x58], 0x7fffffff
jne 0x4ff2e2
mov eax, dword [esp + 0x38]
mov byte [eax + 0x1b], 1
jmp 0x4ff2f8
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
add ecx, 1
adc eax, 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x4ff360
mov edx, dword [esi + 0x4c]
lea ecx, [ebx + ebx*4]
lea ebx, [edx + ecx*8]
push ebx
call fcn.005058f0
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add esp, 4
cmp eax, 0xffffffff
jne 0x4ff327
cmp ecx, 0x7fffffff
je 0x500dfd
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x1b], 0
jne 0x500dfd
mov edx, dword [esp + 0x58]
add eax, 1
adc ecx, 0
cmp edx, ecx
jg 0x4ff353
jl 0x4ff34b
cmp dword [esp + 0x54], eax
jae 0x4ff353
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x54]
mov dword [ebx], eax
mov ecx, dword [esp + 0x58]
mov dword [ebx + 4], ecx
cmp dword [esp + 0x58], 0x7fffffff
jg 0x4ff391
jl 0x4ff373
cmp dword [esp + 0x54], 0xffffffff
jae 0x4ff391
mov eax, dword [esp + 0x38]
mov byte [eax + 0x1d], 1
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
add edx, 1
adc ecx, 0
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
jmp 0x4ff399
mov edx, dword [esp + 0x38]
mov byte [edx + 0x1d], 0
mov eax, dword [esp + 0x38]
mov cl, byte [eax + 0x1b]
test cl, cl
je 0x4ff481
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
xor ebx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x4ff3e7
mov ecx, eax
and ecx, 0xffffff
cmp ecx, eax
jne 0x4ff3e3
cmp ebx, edx
jne 0x4ff3e3
add eax, 1
adc edx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
jmp 0x4ff41d
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
push 8
call fcn.004ef600
add esp, 8
cmp ebx, 5
jge 0x4ff415
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
and eax, 0xffffff
and edx, 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
jmp 0x4ff41d
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, eax
or ecx, edx
je 0x4ff44e
lea ecx, [esp + 0x24]
push ecx
push 0
push edx
mov edx, dword [esp + 0x44]
push eax
push 0
mov eax, dword [edx]
push eax
call fcn.004f7970
mov edx, dword [esp + 0x70]
add esp, 0x18
inc ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ebx
cmp ebx, 0x64
jge 0x4ff467
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4ff467
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4ff3bc
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [edi + 0x3c], edx
jne 0x4ff481
mov eax, dword [esp + 0x24]
test eax, eax
je 0x500dfd
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov byte [eax + 0x19], 0
mov byte [eax + 0x20], 0
mov dword [eax + 0x60], 0
mov dx, word [ecx + 0x1c]
mov eax, dword [esp + 0x54]
and edx, 0xbf04
mov dword [ecx], eax
or edx, 4
mov word [ecx + 0x1c], dx
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], edx
jmp case.0x4fcdaf.13
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 8]
mov eax, dword [edx + 0x4c]
lea ecx, [ecx + ecx*4]
mov edi, dword [edx + 0x30]
lea esi, [eax + ecx*8]
mov ecx, dword [ebx + 0xc]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
mov ecx, dword [ebx + 4]
mov edi, dword [edi + ecx*4]
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0xb4], ecx
mov cl, byte [ebx + 3]
test cl, 1
mov dword [esp + 0x20], edi
je 0x4ff501
inc dword [edx + 0x90]
test byte [ebx + 3], 2
je 0x4ff516
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
mov dword [ecx + 0x30], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x34], edx
mov cl, byte [edi + 0x1d]
test cl, cl
je 0x4ff536
mov ecx, dword [eax + 4]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jl 0x4ff536
jg 0x4ff532
mov edx, dword [eax]
mov eax, dword [edi + 0x10]
cmp edx, eax
jb 0x4ff536
mov byte [edi + 0x1d], 0
mov ax, word [esi + 0x1c]
test al, 1
je 0x4ff546
xor ecx, ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov cl, byte [edi + 0x1e]
test cl, cl
je 0x4ff609
mov al, byte [edi + 0x1f]
test al, al
jne 0x4ff569
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.004ee360
add esp, 8
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x34], eax
mov ecx, dword [esi + 0x14]
cmp ecx, dword [esi + 0x24]
je 0x4ff5e2
mov dl, byte [edi + 0x1f]
test dl, dl
jne 0x4ff5e2
add eax, 2
push eax
call fcn.004ee100
add esp, 4
mov dword [edi + 0x38], eax
test eax, eax
je 0x500e60
mov edx, dword [esp + 0x20]
mov esi, dword [esi + 0x14]
mov edi, eax
mov ecx, dword [edx + 0x34]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 0x34]
mov eax, dword [edx + 0x38]
mov edi, dword [esp + 0x20]
mov byte [ecx + eax], 0
mov ecx, dword [edx + 0x34]
mov edx, dword [edx + 0x38]
mov byte [ecx + edx + 1], 0
mov byte [edi + 0x1c], 0
jmp 0x4ff645
mov al, byte [edi + 0x1f]
mov dword [edi + 0x38], ecx
test al, al
jne 0x4ff603
mov ax, word [esi + 0x1c]
mov dword [esi + 0x24], 0
and eax, 0xfbff
or ah, 0x10
mov word [esi + 0x1c], ax
mov byte [edi + 0x1c], 0
jmp 0x4ff645
test ah, 0x40
je 0x4ff612
mov eax, dword [esi]
jmp 0x4ff614
xor eax, eax
mov cl, byte [ebx + 3]
mov edx, dword [esi + 0x18]
and ecx, 8
push ecx
mov ecx, dword [esp + 0xb8]
push eax
mov eax, dword [esi + 0x14]
push edx
mov edx, dword [esp + 0xbc]
push eax
mov eax, dword [edi]
push ecx
push edx
push 0
push eax
call fcn.00501cc0
add esp, 0x20
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov byte [edi + 0x19], 0
test eax, eax
mov byte [edi + 0x20], 0
mov dword [edi + 0x60], 0
jne case.0x4fcdaf.13
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0xbc]
test ecx, ecx
je case.0x4fcdaf.13
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x4fcdaf.13
mov edx, dword [esp + 0xb4]
mov edi, dword [edi + 4]
push edx
mov edx, dword [esp + 0xb4]
push edx
push eax
mov eax, dword [esp + 0x3c]
lea edx, [edi + edi*2]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xb8]
mov edx, dword [esi + edx*8]
push edx
mov dl, byte [ebx + 3]
and dl, 4
neg dl
sbb edx, edx
and edx, 5
add edx, 0x12
push edx
push eax
call ecx
add esp, 0x18
jmp case.0x4fcdaf.13
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x30]
xor ecx, ecx
mov eax, dword [eax + edx*4]
mov edx, dword [edi + 0xbc]
cmp edx, ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0x14], eax
je 0x4ff701
cmp dword [ebx + 0x10], ecx
je 0x4ff701
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00505b80
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edx
call fcn.00504190
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
mov byte [ecx + 0x1d], 0
mov dword [ecx + 0x60], 0
jne 0x4ff781
mov ecx, dword [edi + 0xbc]
test ecx, ecx
je 0x4ff781
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4ff781
mov edx, dword [esp + 0xd4]
push edx
mov edx, dword [esp + 0xd4]
push edx
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea edx, [eax + eax*2]
mov eax, dword [edi + 8]
mov edx, dword [eax + edx*8]
mov eax, dword [edi + 0xb8]
push edx
push 9
push eax
call ecx
add esp, 0x18
test byte [ebx + 8], 1
je case.0x4fcdaf.13
inc dword [esi + 0x90]
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
test eax, eax
je 0x4ff7ad
mov ecx, dword [esi + 0x90]
push ecx
push edi
call fcn.004fab70
add esp, 8
mov dword [esi + 0x90], 0
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x4c]
lea ecx, [eax + edx*8]
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x30]
mov dword [esp + 0x2c], ecx
mov ebx, dword [eax + edx*4]
push ebx
mov ecx, dword [ebx]
mov dword [esp + 0x18], ecx
call fcn.00505b80
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov al, byte [ebx + 0x22]
test al, al
je 0x4ff83b
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x140]
push edx
push eax
call fcn.004f7310
mov eax, dword [edi + 0x50]
mov ecx, dword [esp + 0x14c]
cdq
add esp, 8
cmp ecx, edx
mov ecx, dword [esp + 0x140]
jg 0x500e40
jl 0x4ff830
cmp ecx, eax
ja 0x500e40
mov eax, ecx
mov dword [esp + 0x88], eax
jmp 0x4ff862
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x88]
push edx
push eax
call fcn.00501720
mov eax, dword [esp + 0x90]
mov ecx, dword [edi + 0x50]
add esp, 8
cmp eax, ecx
jg 0x500e40
mov edi, dword [esp + 0x2c]
push 0
push eax
push edi
call fcn.004f8300
add esp, 0xc
test eax, eax
jne 0x500e63
mov dx, word [edi + 0x1c]
mov ecx, dword [esp + 0x88]
and edx, 0xbf10
mov dword [edi + 0x18], ecx
or edx, 0x10
mov word [edi + 0x1c], dx
mov al, byte [ebx + 0x22]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x14]
test al, al
mov eax, dword [edi + 0x14]
push eax
push ecx
push 0
push edx
je 0x4ff8c4
call fcn.004f7440
add esp, 0x10
mov dword [esp + 0x10], eax
mov byte [edi + 0x1f], 1
jmp case.0x4fcdaf.13
call fcn.00501770
add esp, 0x10
mov dword [esp + 0x10], eax
mov byte [edi + 0x1f], 1
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x30]
mov edi, dword [ecx + eax*4]
push edi
call fcn.00505b80
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov al, byte [edi + 0x19]
test al, al
je 0x4ff914
mov edx, dword [edi + 8]
mov dword [esp + 0xb8], edx
mov eax, dword [edi + 0xc]
mov dword [esp + 0xbc], eax
jmp 0x4ff94f
mov al, byte [edi + 0x1e]
test al, al
je 0x4ff931
mov ecx, dword [edi + 0x40]
mov dword [esp + 0xb8], ecx
mov edx, dword [edi + 0x44]
mov dword [esp + 0xbc], edx
jmp 0x4ff94f
mov al, byte [edi + 0x1c]
test al, al
jne case.0x4fcdaf.13
mov ecx, dword [edi]
lea eax, [esp + 0xb8]
push eax
push ecx
call fcn.004f7310
add esp, 8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [eax], edx
mov dx, word [eax + 0x1c]
and edx, 0xbf04
mov dword [eax + 4], ecx
or edx, 4
mov word [eax + 0x1c], dx
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x1c], 1
mov byte [eax + 0x19], 0
mov eax, dword [eax]
test eax, eax
je case.0x4fcdaf.13
push eax
call fcn.004f72f0
add esp, 4
jmp case.0x4fcdaf.13
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x30]
lea ecx, [esp + 0xc8]
mov esi, dword [eax + edx*4]
push ecx
mov eax, dword [esi]
push eax
call fcn.005018a0
mov dl, byte [esp + 0xd0]
mov dword [esp + 0x18], eax
mov byte [esi + 0x1c], dl
mov byte [esi + 0x20], 0
mov byte [esi + 0x19], 0
mov dword [esi + 0x60], 0
mov eax, dword [esp + 0xd0]
add esp, 8
test eax, eax
je case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
test ebx, ebx
jle case.0x4fcdaf.13
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
inc dword [esi + 0xd8]
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x30]
mov esi, dword [ecx + eax*4]
mov eax, dword [esi]
test eax, eax
je 0x4ffa60
lea edx, [esp + 0x94]
push edx
push eax
call fcn.00501800
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x9c]
add esp, 8
mov byte [esi + 0x20], 0
test eax, eax
sete al
mov byte [esi + 0x1a], al
mov dword [esi + 0x60], 0
mov byte [esi + 0x19], 0
mov cl, byte [esp + 0x94]
mov byte [esi + 0x1c], cl
mov eax, dword [esp + 0x94]
jmp 0x4ff1b1
mov dword [esp + 0x94], 1
mov cl, byte [esp + 0x94]
mov byte [esi + 0x1c], cl
mov eax, dword [esp + 0x94]
jmp 0x4ff1b1
mov eax, dword [edi + 0xd8]
test eax, eax
jne 0x500e0a
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x30]
mov edi, dword [eax + edx*4]
test edi, edi
je case.0x4fcdaf.13
mov eax, dword [edi]
mov dword [esp + 0x9c], 1
cmp byte [ebx], 0x6b
jne 0x4ffac2
lea ecx, [esp + 0x9c]
push ecx
push eax
call fcn.00501970
jmp 0x4ffad0
lea edx, [esp + 0x9c]
push edx
push eax
call fcn.00501ae0
mov dword [esp + 0x18], eax
mov al, byte [esp + 0xa4]
mov byte [edi + 0x1c], al
mov dword [edi + 0x60], 0
mov eax, dword [esp + 0xa4]
add esp, 8
test eax, eax
jne 0x4ffb19
mov eax, dword [ebx + 8]
mov bl, byte [ebx + 3]
dec eax
test bl, bl
mov dword [esp + 0x28], eax
je 0x4ffb19
and ebx, 0xff
mov ecx, dword [esi + ebx*4 + 0xd0]
lea eax, [esi + ebx*4 + 0xd0]
inc ecx
mov dword [eax], ecx
mov byte [edi + 0x19], 0
jmp case.0x4fcdaf.13
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x30]
mov edi, dword [edx + ecx*4]
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x40], eax
je case.0x4fcdaf.13
mov eax, dword [esp + 0x5c]
mov esi, eax
test byte [eax + 0x1d], 0x40
je 0x4ffb5a
push esi
call fcn.004f8570
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne case.0x4fcdaf.13
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push edx
push 0
push 0
cdq
push 0x6225a4
push edx
push eax
mov eax, dword [esp + 0x58]
push ecx
push eax
call fcn.00501cc0
add esp, 0x20
mov dword [esp + 0x10], eax
mov dword [edi + 0x60], 0
jmp case.0x4fcdaf.13
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x30]
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x40], eax
mov edi, dword [eax]
test edi, edi
je case.0x4fcdaf.13
mov cx, word [ebx + 0xc]
mov eax, dword [eax + 0x48]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x124], eax
mov eax, dword [esi + 0x4c]
mov word [esp + 0x128], cx
lea edx, [ebx + ebx*4]
mov word [esp + 0x12a], 0
lea ecx, [eax + edx*8]
lea edx, [esp + 0xf4]
push edx
push 0
push 0
lea eax, [esp + 0x130]
push 0
push eax
push edi
mov dword [esp + 0x144], ecx
call fcn.004f7970
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4ffc17
mov eax, dword [esp + 0xf4]
test eax, eax
jne 0x4ffc17
push edi
call fcn.00504190
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x60], 0
jmp case.0x4fcdaf.13
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax]
test ecx, ecx
je case.0x4fcdaf.13
mov dl, byte [eax + 0x1c]
test dl, dl
jne case.0x4fcdaf.13
lea edx, [esp + 0x168]
push edx
push ecx
call fcn.00505e20
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x500d2d
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x168]
mov cx, word [eax + 0x1c]
mov dword [eax], edx
and ecx, 0xbf04
or ecx, 4
mov word [eax + 0x1c], cx
mov ecx, dword [esp + 0x16c]
mov dword [eax + 4], ecx
jmp case.0x4fcdaf.13
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edx*4]
cmp dword [ecx], 0
je case.0x4fcdaf.13
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x118], edx
mov ax, word [ebx + 0x10]
mov word [esp + 0x11c], ax
mov dl, byte [ebx + 3]
neg dl
sbb edx, edx
and edx, 8
add edx, 4
mov word [esp + 0x11e], dx
mov eax, dword [ebx + 0xc]
mov edx, dword [esi + 0x4c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
lea edx, [esp + 0x98]
mov dword [esp + 0x120], eax
lea eax, [esp + 0x118]
push edx
push eax
push ecx
call fcn.00505f80
mov dword [esp + 0x1c], eax
mov al, byte [ebx]
add esp, 0xc
cmp al, 0x2a
mov eax, dword [esp + 0x98]
jne 0x4ffd0d
neg eax
jmp 0x4ffd0e
inc eax
test eax, eax
mov dword [esp + 0x98], eax
jle case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov eax, dword [edi + 0x8c]
xor ecx, ecx
test eax, eax
je 0x4ffd70
cmp dword [eax + 0x44], 0xbdf20da3
jne 0x4ffd50
cmp byte [eax + 0x8c], 2
jae 0x4ffd50
mov edx, dword [eax + 0x64]
test edx, edx
jl 0x4ffd50
inc ecx
mov eax, dword [eax + 8]
test eax, eax
jne 0x4ffd36
cmp ecx, 1
jle 0x4ffd70
mov dword [esp + 0x10], 6
mov dword [esi + 0x70], 2
jmp case.0x4fcdaf.13
mov esi, dword [ebx + 0xc]
mov eax, dword [edi + 8]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0xcc]
lea esi, [esi + esi*2]
push ecx
shl esi, 3
push edx
mov ecx, dword [esi + eax + 4]
push ecx
call fcn.005049d0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xd8]
add esp, 0xc
mov dx, word [ecx + 0x1c]
and edx, 0xbf04
or edx, 4
mov word [ecx + 0x1c], dx
cdq
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [ecx + 4], edx
jne case.0x4fcdaf.13
mov eax, dword [esp + 0xcc]
test eax, eax
je case.0x4fcdaf.13
mov ecx, dword [ebx + 4]
mov edx, dword [edi + 8]
push ecx
add esi, edx
push eax
push esi
call fcn.005081f0
add esp, 0xc
jmp case.0x4fcdaf.13
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
neg edx
sbb edx, edx
lea eax, [esp + 0x20]
and edx, eax
mov eax, dword [ebx + 8]
push edx
mov dword [esp + 0x24], 0
lea edx, [eax + eax*2]
mov eax, dword [edi + 8]
push ecx
mov ecx, dword [eax + edx*8 + 4]
push ecx
call fcn.00504800
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xc]
add esp, 0xc
test eax, eax
je case.0x4fcdaf.13
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x90]
add edx, eax
mov dword [esi + 0x90], edx
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jle case.0x4fcdaf.13
mov ecx, dword [esi + 0x4c]
lea edx, [ebx + ebx*4]
mov esi, dword [ecx + edx*8]
lea ecx, [ecx + edx*8]
cdq
add esi, eax
mov dword [ecx], esi
mov eax, dword [ecx + 4]
adc eax, edx
mov dword [ecx + 4], eax
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 4]
mov ecx, dword [edi + 8]
sub al, 0x36
mov dword [esp + 0x20], 0
neg al
sbb eax, eax
lea edx, [ebx + ebx*2]
and al, 0xfd
lea ecx, [ecx + edx*8]
add eax, 5
push eax
lea edx, [esp + 0x24]
mov eax, dword [ecx + 4]
push edx
push eax
call fcn.00504590
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dx, word [ecx + 0x1c]
and edx, 0xbf04
or edx, 4
mov word [ecx + 0x1c], dx
jmp case.0x4fcdaf.13
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
test ecx, ecx
jne 0x4ffee4
mov edx, dword [edi + 8]
lea ecx, [eax + eax*2]
mov ecx, dword [edx + ecx*8 + 0x14]
mov dl, byte [ecx + 0x4a]
and dl, 1
cmp dl, 1
jne case.0x4fcdaf.13
cmp eax, 1
mov ecx, str.sqlite_temp_master
je 0x4ffef3
mov ecx, str.sqlite_master
lea edx, [esi + 0x80]
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], edx
mov edx, dword [ebx + 0x10]
push edx
push ecx
mov ecx, dword [edi + 8]
lea eax, [eax + eax*2]
mov dword [esp + 0x158], edi
mov edx, dword [ecx + eax*8]
push edx
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s
push edi
call fcn.004fa820
mov edi, eax
add esp, 0x14
test edi, edi
je 0x500e63
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x150]
push 0
push eax
push fcn.0050a610
push edi
push ebx
mov byte [ebx + 0x80], 1
mov dword [esp + 0x170], 0
call fcn.0050a020
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4fff77
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x10], ecx
push edi
push ebx
call fcn.004ee360
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 7
mov byte [ebx + 0x80], 0
je 0x500e63
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 4]
push ebx
push edi
call fcn.00506f70
add esp, 8
mov dword [esp + 0x10], eax
jmp case.0x4fcdaf.13
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
push edx
push eax
push edi
call fcn.00507e90
add esp, 0xc
jmp case.0x4fcdaf.13
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
push ecx
push edx
push edi
call fcn.005078e0
add esp, 0xc
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
push eax
push ecx
push edi
call fcn.0050be30
add esp, 0xc
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 8]
mov dword [esp + 0x34], eax
lea edx, [eax*4 + 4]
push edx
push edi
call fcn.004ee570
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x500e63
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x24], 0
lea ecx, [ecx + ecx*4]
lea edi, [eax + ecx*8]
mov ecx, dword [ebx + 4]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*8]
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x1c], ecx
jle 0x500083
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004fb040
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
add eax, 0x28
add ecx, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], eax
jne 0x500053
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x80]
mov dword [eax + ecx*4], 0
mov ecx, dword [edi]
push edx
mov edx, dword [esp + 0x38]
push ecx
push edx
push eax
xor eax, eax
mov al, byte [ebx + 3]
mov ebx, dword [esp + 0x40]
mov ecx, dword [ebx + 8]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 4]
push edx
call fcn.00504c50
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
push eax
push ebx
call fcn.004ee360
mov eax, dword [esp + 0x9c]
mov ecx, dword [edi]
cdq
sub ecx, eax
mov dword [edi], ecx
mov ebx, dword [edi + 4]
mov ecx, dword [esp + 0x38]
sbb ebx, edx
push ecx
mov dword [edi + 4], ebx
call fcn.004f8730
mov eax, dword [esp + 0xa0]
add esp, 0x20
test eax, eax
je 0x50011c
mov eax, dword [esp + 0x40]
test eax, eax
je 0x500e63
mov edx, dword [esp + 0x1c]
push fcn.004ee300
push 1
push 0xffffffffffffffff
push eax
push edx
call fcn.004f80d0
add esp, 0x14
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
and eax, 0xff
push eax
push ecx
call fcn.004f90a0
add esp, 8
jmp case.0x4fcdaf.13
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
lea edx, [ecx + ecx*4]
lea ecx, [ebx + ebx*4]
lea edi, [eax + edx*8]
lea ebx, [eax + ecx*8]
test byte [edi + 0x1c], 0x20
jne 0x500167
push edi
call fcn.005059a0
mov al, byte [edi + 0x1c]
add esp, 4
test al, 0x20
je 0x500e63
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, dword [edi]
push edx
push eax
push ecx
call fcn.00501280
add esp, 0xc
jmp case.0x4fcdaf.13
mov eax, dword [edi + 0xd8]
test eax, eax
jne 0x500e0a
mov eax, dword [ebx + 4]
mov esi, dword [esi + 0x4c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea edi, [esi + edx*8]
lea esi, [esi + eax*8]
mov al, byte [edi + 0x1c]
test al, 0x20
mov dword [esp + 0x2c], esi
je 0x5001e1
mov edx, dword [edi]
lea ecx, [esp + 0x148]
push ecx
push edx
call fcn.00501310
add esp, 8
test eax, eax
je 0x5001e1
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x148]
push eax
push ecx
push esi
call fcn.004fb3b0
add esp, 0xc
jmp case.0x4fcdaf.13
push edi
call fcn.004f8730
mov ebx, dword [ebx + 8]
add esp, 4
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov ebx, dword [esi + 0x58]
lea eax, [ebx + 1]
mov dword [esi + 0x58], eax
mov ecx, dword [esi + 0x5c]
cmp ebx, ecx
jl 0x50022a
mov dword [esi + 0x5c], eax
mov edx, dword [esi + 0x60]
shl eax, 4
push eax
push edx
push edi
call fcn.004f8430
add esp, 0xc
mov dword [esi + 0x60], eax
test eax, eax
je 0x500e63
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 0x60]
shl ebx, 4
add ebx, eax
mov eax, dword [edi + 0x30]
mov dword [ebx], eax
mov ecx, dword [edi + 0x34]
mov dword [ebx + 4], ecx
mov edx, dword [esi + 0x90]
mov dword [ebx + 8], edx
jmp case.0x4fcdaf.13
mov ebx, dword [esi + 0x58]
dec ebx
mov eax, ebx
mov dword [esi + 0x58], ebx
mov ecx, dword [esi + 0x60]
shl eax, 4
add eax, ecx
mov ecx, dword [eax]
mov dword [edi + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x34], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x90], eax
jmp case.0x4fcdaf.13
mov esi, dword [esp + 0x1c]
push esi
call fcn.005058f0
mov edi, dword [esp + 0x60]
push edi
call fcn.005058f0
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, dword [esi + 4]
add esp, 8
cmp ecx, edi
jg case.0x4fcdaf.13
jl 0x5002a8
mov edx, dword [esi]
cmp edx, eax
jae case.0x4fcdaf.13
mov dword [esi], eax
mov dword [esi + 4], edi
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
test ecx, ecx
jl case.0x4fcdaf.13
jg 0x4ff1b9
cmp dword [eax], 0
jbe case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
test ecx, ecx
jg case.0x4fcdaf.13
jl 0x4ff1b9
cmp dword [eax], 0
jae case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
jne case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 0x4c]
xor edx, edx
mov dl, byte [ebx + 3]
lea eax, [eax + eax*4]
mov dword [esp + 0x3c], edx
lea eax, [ecx + eax*8]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24]
cmp edx, ecx
mov dword [esp + 0x40], eax
jle 0x50038a
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
mov dword [ecx], eax
call fcn.004fcae0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add esp, 4
add edx, 4
add ecx, 0x28
dec eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
jne 0x500354
xor ecx, ecx
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1e8], edx
mov edx, dword [esi + 0x4c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x218], eax
mov edx, dword [eax + 0x18]
inc edx
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x1e8]
mov word [esp + 0x20c], 1
mov dword [esp + 0x204], ecx
mov dword [esp + 0x214], ecx
mov dword [esp + 0x210], ecx
mov dword [esp + 0x200], edi
mov dword [esp + 0x21c], ecx
mov dword [esp + 0x220], ecx
mov cl, byte [eax + 3]
test cl, 8
je 0x5003fb
mov ecx, dword [ebx - 4]
mov dword [esp + 0x220], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
lea edx, [esp + 0x1ec]
push ecx
push edx
call dword [eax + 0x10]
mov eax, dword [esp + 0x228]
add esp, 0xc
test eax, eax
je 0x50044c
lea eax, [esp + 0x1f0]
push eax
call fcn.004fb240
push eax
push 0x5ed5f0
add esi, 0x80
push edi
push esi
call fcn.004fbc10
mov ecx, dword [esp + 0x230]
add esp, 0x14
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x1f0]
push edx
call fcn.004f85e0
add esp, 4
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x4c]
mov edx, dword [ebx + 0x10]
lea eax, [eax + eax*4]
push edx
lea eax, [ecx + eax*8]
push eax
mov dword [esp + 0x28], eax
call fcn.004f86c0
mov ebx, dword [esp + 0x28]
add esp, 8
cmp eax, 1
mov dword [esp + 0x10], eax
jne 0x5004a7
push ebx
call fcn.004fb240
push eax
push 0x5ed5f0
lea eax, [esi + 0x80]
push edi
push eax
call fcn.004fbc10
add esp, 0x14
mov ecx, dword [esp + 0x4c]
and ecx, 0xff
push ecx
push ebx
call fcn.004f90a0
push ebx
call fcn.00505a40
add esp, 0xc
test eax, eax
jne 0x500e40
jmp case.0x4fcdaf.13
add esi, 0x80
push edi
push esi
call fcn.0050bee0
add esp, 8
mov dword [esp + 0x10], eax
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
lea edx, [eax + eax*2]
mov eax, dword [edi + 8]
mov eax, dword [eax + edx*8 + 4]
push eax
call fcn.00501490
add esp, 4
cmp eax, 0x65
mov dword [esp + 0x10], eax
jne case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
mov dword [esp + 0x10], 0
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
test eax, eax
jne 0x500534
push edi
call fcn.00506030
add esp, 4
jmp case.0x4fcdaf.13
mov byte [esi + 0x8a], 1
jmp case.0x4fcdaf.13
mov cl, byte [ebx + 0xc]
mov eax, dword [ebx + 4]
mov byte [esp + 0xe4], cl
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0xe4]
push edx
lea edx, [eax + eax*2]
mov eax, dword [edi + 8]
push ecx
mov ecx, dword [eax + edx*8 + 4]
push ecx
call fcn.00505860
add esp, 0xc
cmp eax, 6
mov dword [esp + 0x10], eax
jne case.0x4fcdaf.13
mov edx, dword [ebx + 0x10]
add esi, 0x80
push edx
push str.database_table_is_locked:__s
push edi
push esi
call fcn.004fbc10
add esp, 0x10
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 0x10]
push ebx
push edi
call fcn.0050cd50
add esp, 8
mov dword [esp + 0x10], eax
test ebx, ebx
je case.0x4fcdaf.13
mov eax, dword [esi + 0x80]
push eax
push edi
call fcn.004ee360
mov ecx, dword [ebx + 8]
add esp, 8
mov dword [esi + 0x80], ecx
mov dword [ebx + 8], 0
jmp case.0x4fcdaf.13
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
add esi, 0x80
push esi
push edx
push eax
push edi
call fcn.0050c6d0
add esp, 0x10
mov dword [esp + 0x10], eax
jmp case.0x4fcdaf.13
mov byte [esi + 0x8c], 2
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
push ecx
push edx
push edi
call fcn.0050cb50
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esi + 0x8c], 0
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 0x10]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
push edx
mov ecx, dword [eax]
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], ecx
call dword [ecx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x80]
push eax
push edi
call fcn.004ee360
mov eax, dword [esp + 0x30]
add esp, 0x10
mov ecx, dword [eax + 8]
mov dword [esi + 0x80], ecx
mov dword [eax + 8], 0
mov eax, dword [esp + 0x10]
test eax, eax
jne case.0x4fcdaf.13
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 0
lea ecx, [ebx - 0x14]
mov dword [edx], eax
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
push ecx
push edx
push esi
call fcn.00506050
add esp, 0x14
test eax, eax
je 0x5006aa
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x58], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
mov edx, dword [ecx]
mov dword [eax + 0x5c], edx
jmp case.0x4fcdaf.13
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
push eax
mov byte [edi + 0x1e], 1
call dword [ecx + 0x1c]
add esp, 4
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x4c]
lea eax, [eax + edx*8]
mov edx, dword [esi + 0x30]
mov ecx, dword [edx + ecx*4]
mov edx, dword [eax]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [ecx + 0x58]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov edi, dword [ecx]
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x28]
test ecx, ecx
mov dword [esp + 0x34], ecx
jle 0x500745
add eax, 0x50
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
mov dword [ecx], eax
call fcn.004fcae0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add esp, 4
add edx, 0x28
add ecx, 4
dec eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
jne 0x500711
push edi
call fcn.0050c630
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov byte [esi + 0x8c], 1
mov ecx, dword [ebx + 0x10]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
call dword [ecx + 0x20]
mov byte [esi + 0x8c], 0
mov edx, dword [esi + 0x80]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
push edx
push eax
call fcn.004ee360
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x50]
push edi
mov dword [esi + 0x80], ecx
push edx
mov dword [edi + 8], 0
call fcn.0050c640
mov eax, dword [esp + 0x38]
add esp, 0x28
test eax, eax
jne 0x5007d1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
push eax
call dword [ecx + 0x28]
add esp, 4
test eax, eax
je 0x5007d1
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x6c]
mov byte [edx + 0x1c], 0
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + eax*4]
mov cl, byte [eax + 0x1c]
test cl, cl
jne case.0x4fcdaf.13
mov eax, dword [eax + 0x58]
lea edx, [esp + 0x170]
push edx
push eax
mov ebx, dword [eax]
mov ecx, dword [ebx]
call dword [ecx + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x80]
push eax
push edi
call fcn.004ee360
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x80], ecx
mov dword [ebx + 8], 0
mov dx, word [eax + 0x1c]
mov ecx, dword [esp + 0x180]
and edx, 0xbf04
add esp, 0x10
or edx, 4
mov word [eax + 0x1c], dx
mov edx, dword [esp + 0x174]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x30]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x20], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x4c]
lea eax, [eax + edx*8]
mov dl, byte [ecx + 0x1c]
test dl, dl
mov dword [esp + 0x3c], eax
je 0x500888
push eax
call fcn.004f8730
add esp, 4
jmp case.0x4fcdaf.13
mov ecx, dword [esp + 0x20]
lea edi, [esp + 0x230]
mov edx, dword [ecx + 0x58]
mov ecx, 0x10
mov eax, dword [edx]
lea edx, [esp + 0x238]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov dword [esp + 0x40], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3c]
push ecx
push edx
call fcn.004fca10
mov eax, dword [esp + 0x25c]
mov ecx, dword [ebx + 8]
and eax, 0xbf01
lea edx, [esp + 0x238]
or al, 1
push ecx
mov word [esp + 0x260], ax
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x50]
mov ecx, dword [eax + 0x58]
push ecx
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x80]
push eax
push ecx
call fcn.004ee360
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x254]
mov edx, dword [eax + 8]
mov dword [esi + 0x80], edx
mov dword [eax + 8], 0
mov eax, dword [esp + 0x68]
and eax, 0xff
push eax
push ecx
call fcn.004f90a0
mov edi, dword [esp + 0x60]
lea edx, [esp + 0x25c]
push edx
push edi
call fcn.004fca10
push edi
call fcn.00505a40
add esp, 0x30
test eax, eax
jne 0x500e40
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x18], eax
mov cl, byte [eax + 0x1c]
test cl, cl
jne case.0x4fcdaf.13
mov edx, eax
mov eax, dword [edx + 0x58]
mov eax, dword [eax]
push eax
mov dword [esp + 0x44], eax
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
call fcn.0050c630
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov byte [esi + 0x8c], 1
mov eax, dword [edx + 0x58]
push eax
call dword [ecx + 0x24]
mov byte [esi + 0x8c], 0
mov edx, dword [esi + 0x80]
push edx
push edi
mov dword [esp + 0x20], eax
call fcn.004ee360
mov eax, dword [esp + 0x50]
push eax
push edi
mov ecx, dword [eax + 8]
mov dword [esi + 0x80], ecx
mov dword [eax + 8], 0
call fcn.0050c640
mov eax, dword [esp + 0x28]
add esp, 0x18
test eax, eax
jne 0x4ff1b9
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x58]
push eax
call dword [ecx + 0x28]
add esp, 4
test eax, eax
jne case.0x4fcdaf.13
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x28], ebx
jmp case.0x4fcdaf.13
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x40], edx
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x20], eax
test byte [eax + 0x1c], 0x12
jne 0x500a41
mov edx, dword [esp + 0x4c]
and edx, 0xff
push edx
push eax
call fcn.004f95a0
add esp, 8
test eax, eax
jne 0x500e63
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
push ebx
call fcn.0050c630
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx]
mov edx, dword [ecx + 0x14]
push edx
push ebx
call dword [eax + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x80]
push eax
push edi
call fcn.004ee360
mov ecx, dword [ebx + 8]
push ebx
mov dword [esi + 0x80], ecx
push edi
mov dword [ebx + 8], 0
call fcn.0050c640
add esp, 0x1c
jmp case.0x4fcdaf.13
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], ecx
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov edx, dword [eax + 0x34]
test edx, edx
jne 0x500ac6
push str.read_only_table
add esi, 0x80
push edi
push esi
call fcn.004fbc10
add esp, 0xc
mov dword [esp + 0x10], 1
jmp case.0x4fcdaf.13
mov edx, dword [esi + 0x24]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x4c]
lea eax, [eax + eax*4]
test ecx, ecx
lea eax, [edx + eax*8]
mov dword [esp + 0x18], eax
jle 0x500b1d
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
push eax
call fcn.004fcae0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
add eax, 0x28
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
add ecx, 4
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], eax
jne 0x500aed
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0050c630
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x164]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
call dword [eax + 0x34]
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x24], eax
push ecx
push edi
call fcn.004ee360
mov eax, dword [esp + 0x30]
push eax
push edi
mov edx, dword [eax + 8]
mov dword [esi + 0x80], edx
mov dword [eax + 8], 0
call fcn.0050c640
mov eax, dword [ebx + 4]
add esp, 0x24
test eax, eax
je 0x500b97
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x500b97
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x164]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
inc dword [esi + 0x90]
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 4]
mov eax, dword [edi + 8]
lea edx, [ebx + ebx*2]
mov ecx, dword [eax + edx*8 + 4]
push ecx
call fcn.004f1640
lea edx, [esp + 0xec]
push edx
push eax
call fcn.004f1ab0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne case.0x4fcdaf.13
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x2c]
cdq
mov word [ecx + 0x1c], 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4fcdaf.13
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je case.0x4fcdaf.13
mov eax, dword [edi + 0x98]
test eax, eax
je case.0x4fcdaf.13
mov ecx, dword [edi + 0x9c]
push ebx
push ecx
call eax
add esp, 8
jmp case.0x4fcdaf.13
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
inc ecx
test ebx, ebx
mov dword [esp + 0x28], ecx
je 0x4fcc7c
mov edi, dword [esp + 0x30]
jmp 0x500eba
mov ebx, 9
jmp 0x500eba
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x68], edx
mov dword [esi + 0x64], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 0x70], ecx
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x500c63
push ebx
push 0x5ed5f0
lea edx, [esi + 0x80]
push edi
push edx
call fcn.004fbc10
add esp, 0x10
push esi
call fcn.004f9c10
mov edi, 5
add esp, 4
cmp eax, edi
jne 0x500d78
mov dword [esi + 0x68], edi
jmp 0x500ed7
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x4c]
add eax, 2
mov dword [esp + 0x80], 0
or al, 1
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov dword [esi + 0x84], eax
mov ecx, dword [ebx + 8]
test ecx, ecx
jle 0x500cec
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
push eax
call fcn.004f9550
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004fcae0
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 8]
add esp, 8
inc eax
add edx, 0x28
cmp eax, ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x14], edx
jl 0x500cb4
mov al, byte [edi + 0x1e]
test al, al
jne 0x500e63
mov eax, dword [esi + 0x50]
mov edx, dword [esp + 0x28]
inc eax
inc edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x64], edx
mov edi, 0x64
jmp 0x500ed7
lea eax, [esp + 0x188]
push eax
call fcn.004f85e0
add esp, 4
jmp 0x500e63
mov dword [esp + 0x10], 0x14
mov edi, dword [esp + 0x30]
mov al, byte [edi + 0x1e]
test al, al
je 0x500e92
mov ebx, 7
jmp 0x500e9e
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x64], ecx
mov byte [edi + 0x1c], 0
mov edi, 5
mov dword [esi + 0x68], edi
jmp 0x500ed7
test ebx, ebx
je 0x500d8a
push edi
call fcn.0052a640
add esp, 4
mov byte [edi + 0x1c], 1
push edi
call fcn.0052a300
add esp, 4
mov edi, dword [esi + 0x68]
neg edi
sbb edi, edi
and edi, 0xffffff9c
add edi, 0x65
jmp 0x500ed7
mov bl, byte [esp + 0x40]
push esi
mov byte [edi + 0x1c], bl
call fcn.004f9c10
add esp, 4
cmp eax, 5
jne 0x500d6f
mov edx, dword [esp + 0x28]
mov al, 1
sub al, bl
mov dword [esi + 0x64], edx
mov byte [edi + 0x1c], al
mov edi, 5
mov dword [esi + 0x68], edi
jmp 0x500ed7
mov ecx, dword [esp + 0x28]
mov edi, 5
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], edi
jmp 0x500ed7
mov edx, dword [esp + 0x28]
mov edi, 5
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], edi
jmp 0x500ed7
push edi
call fcn.004f8b40
add esp, 4
jmp 0x500d2d
mov dword [esp + 0x10], 0xb
jmp 0x500d2d
mov dword [esp + 0x10], 0xd
jmp 0x500d2d
mov eax, 9
push eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x68], eax
call fcn.0052a700
push eax
mov eax, dword [esp + 0x38]
push 0x5ed5f0
lea ecx, [esi + 0x80]
push eax
push ecx
call fcn.004fbc10
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x500eba
mov edi, dword [esp + 0x30]
push str.string_or_blob_too_big
lea edx, [esi + 0x80]
push edi
push edx
call fcn.004fbc10
add esp, 0xc
mov ebx, 0x12
jmp 0x500eba
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x30]
push str.out_of_memory
push eax
mov byte [eax + 0x1e], 1
lea eax, [esi + 0x80]
push eax
call fcn.004fbc10
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x1c], 7
mov ebx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x500eba
mov ebx, dword [esp + 0x10]
cmp ebx, 0xc0a
je 0x500eba
push ebx
call fcn.0052a700
push eax
push 0x5ed5f0
lea ecx, [esi + 0x80]
push edi
push ecx
call fcn.004fbc10
add esp, 0x14
push esi
mov dword [esi + 0x68], ebx
call fcn.004f9c10
add esp, 4
cmp ebx, 0xc0a
jne 0x500ed2
mov byte [edi + 0x1e], 1
mov edi, 1
mov edx, dword [esp + 0x100]
push edx
call fcn.004f9f40
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret