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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x274
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x84], 0
mov eax, dword [edi + 0x68]
mov ebx, dword [edi]
mov esi, dword [edi + 0x58]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], eax
xor al, al
mov byte [esp + 0x77], al
mov al, byte [ebx + 0x4e]
mov dword [esp + 0x50], ebx
mov byte [esp + 0x64], al
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], esi
call fcn.004b97b0
add esp, 4
cmp dword [ebx + 0x158], 0
je 0x4b98c8
mov ecx, dword [ebx + 0x160]
xor edx, edx
mov eax, dword [edi + 0xb4]
div ecx
sub ecx, edx
jmp 0x4b98cb
or ecx, 0xffffffff
cmp dword [edi + 0x28], 7
mov dword [esp + 0x78], ecx
je 0x4bf2d1
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x78], 0
cmp dword [ebx + 0x110], 0
mov dword [ebx + 0x1ac], 0
jne 0x4bf561
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
xor eax, eax
mov dword [esp + 0x20], ecx
inc eax
mov cl, byte [ecx]
movzx edx, cl
mov dword [esp + 0x24], eax
mov byte [esp + 0x43], cl
mov dword [esp + 0x30], edx
cmp edx, 0xaa
ja case.0x4b9936.85
jmp dword [edx*4 + 0x4bf708]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov eax, dword [ecx + 4]
sub ecx, dword [esp + 0x58]
lea esi, [eax + eax*4]
mov eax, 4
mov word [edi + esi*8 + 8], ax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [edi + esi*8], eax
mov dword [edi + esi*8 + 4], edx
jmp 0x4bc5b8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + ecx*8]
lea eax, [eax + eax*4]
lea edi, [edx + eax*4]
mov eax, pe_nt_image_headers32
mov dword [esp + 0x20], edi
mov word [esi + ecx*8 + 8], ax
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
dec eax
cdq
mov dword [esi + ecx*8], eax
mov eax, 4
mov dword [esi + ecx*8 + 4], edx
mov word [esi + ecx*8 + 8], ax
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 8], 0
jne 0x4bc5bc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
jmp 0x4b998b
mov edx, dword [esp + 0x20]
mov ecx, 4
mov ebx, dword [esp + 0x28]
mov eax, dword [edx + 4]
sub edx, dword [esp + 0x58]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x28]
mov word [eax + esi*8 + 8], cx
mov ecx, dword [eax + esi*8]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8], eax
mov eax, ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + esi*8 + 4], edx
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + eax*4]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
je 0x4b9d33
jmp 0x4b9a80
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x58]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [esp + 0x20]
cmp dword [edx + 4], 0
jne 0x4bf02a
mov ecx, dword [edi + 0xc8]
test ecx, ecx
je 0x4bf02a
mov eax, dword [ecx + 4]
dec dword [edi + 0xd0]
mov dword [edi + 0xc8], eax
mov eax, dword [edi + 0x2c]
add dword [ebx + 0x68], eax
push ecx
mov dword [ebx + 0x64], eax
call fcn.004c0170
mov ecx, dword [esp + 0x24]
add esp, 4
cmp dword [ecx + 8], 4
jne 0x4b9ae7
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov eax, dword [eax + ecx*4 + 8]
dec eax
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov esi, dword [edi + 0x58]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x28], esi
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov edx, eax
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x20]
mov dword [edx + 4], eax
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov ecx, eax
add esp, 8
mov eax, 8
mov word [ecx + 8], ax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
fld qword [eax]
mov eax, dword [esp + 0x24]
fstp qword [ecx]
mov ecx, dword [esp + 0x20]
add ecx, 0x14
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov esi, eax
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x10]
push edi
call fcn.004b4820
mov ecx, dword [esp + 0x2c]
add esp, 0xc
cmp byte [esp + 0x60], 1
mov dword [ecx + 4], eax
je 0x4b9c30
push 0
push 1
push 0xffffffffffffffff
push edi
push esi
call fcn.004c1e00
mov edi, eax
add esp, 0x14
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x4bf360
movzx ecx, byte [esp + 0x60]
push ecx
push esi
call fcn.004b8e00
add esp, 8
test eax, eax
jne 0x4bf2ce
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [ecx + 1], 0xf9
jne 0x4b9c20
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4b9c20
push eax
push ebx
call fcn.00491cd0
mov ecx, dword [esp + 0x28]
add esp, 8
mov byte [ecx + 1], 0xf9
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx + 4]
mov edi, dword [ebp + 8]
cmp eax, dword [ebx + 0x6c]
jg 0x4bf363
mov byte [ecx], 0x47
jmp 0x4b9c48
mov ecx, dword [esp + 0x20]
push ecx
push edi
call fcn.0047b8a0
mov esi, eax
add esp, 8
mov eax, 0xa02
mov word [esi + 8], ax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov cl, byte [esp + 0x60]
mov byte [esi + 0xa], cl
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x4b9d99
mov ebx, dword [esp + 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 2]
cdq
cmp dword [ebx + ecx*8], eax
mov ebx, dword [esp + 0x4c]
jne 0x4b9d99
mov eax, dword [esp + 0x28]
cmp dword [eax + ecx*8 + 4], edx
mov ecx, dword [esp + 0x20]
jne 0x4b9a55
mov eax, 0xa10
add ecx, 0x14
mov word [esi + 8], ax
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov ecx, dword [esp + 0x28]
add esp, 8
lea esi, [eax + 0xc]
mov edi, dword [ecx + 0xc]
sub edi, dword [ecx + 8]
mov ecx, dword [ecx + 4]
neg ecx
mov dword [esi], 0
sbb ecx, ecx
and ecx, 0x100
inc ecx
movzx ecx, cx
mov dword [esp + 0x34], ecx
mov word [eax + 8], cx
test edi, edi
jle 0x4b9d28
mov ebx, ecx
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.004c1d40
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x4b9d06
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov edx, 0xff41
mov eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov ax, word [esi + ecx*8 + 8]
and ax, dx
or ax, 1
mov word [esi + ecx*8 + 8], ax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov esi, eax
mov eax, dword [esp + 0x28]
push 0
push 0
push dword [eax + 4]
push dword [eax + 0x10]
push esi
call fcn.004c1e00
mov al, byte [esp + 0x7c]
add esp, 0x1c
mov byte [esi + 0xa], al
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x64]
lea edi, [ecx - 5]
lea edi, [eax + edi*8]
push edi
call fcn.004c2190
add esp, 4
test eax, eax
jne 0x4bf360
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, 0x2400
test word [esi + 8], ax
je 0x4b9df2
push esi
call fcn.004c1d40
add esp, 4
mov eax, dword [edi]
mov ecx, 0xebff
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov edi, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
and ax, cx
mov ecx, 0x840
or ax, cx
mov ecx, dword [esp + 0x20]
mov word [esi + 8], ax
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
lea ebx, [ebx]
push edi
push esi
call fcn.004c1af0
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x4b9e86
push esi
call fcn.004c1aa0
add esp, 4
test eax, eax
jne 0x4bf2ce
add edi, 0x28
add esi, 0x28
dec dword [esp + 0x38]
jne 0x4b9e60
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push 0x1000
push edi
push esi
call fcn.004c2090
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x4b9ef1
push esi
call fcn.004c1aa0
add esp, 4
test eax, eax
jne 0x4bf2ce
mov ecx, dword [esp + 0x38]
mov eax, ecx
dec ecx
mov dword [esp + 0x38], ecx
test eax, eax
je 0x4b9d28
add esi, 0x28
add edi, 0x28
jmp 0x4b9ec6
mov ecx, dword [esp + 0x20]
push 0x1000
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.004c2090
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
push dword [esi + eax*8 + 4]
push dword [esi + eax*8]
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.004c1d00
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [edx + 8]
mov dword [esp + 0x30], ecx
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x28]
lea eax, [eax + eax*4]
lea edi, [edx + eax*8]
movzx edx, word [ecx + 8]
mov al, byte [esi + 8]
or al, dl
mov dword [esp + 0x48], edx
test al, 1
je 0x4b9fcc
push edi
call fcn.004c1d40
mov ecx, dword [esp + 0x24]
add esp, 4
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
test dl, 0x12
jne 0x4ba001
push 0
push dword [esp + 0x64]
push ecx
call fcn.004c20f0
add esp, 0xc
test eax, eax
jne 0x4bf2ce
mov eax, dword [esp + 0x30]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx ecx, ax
mov dword [esp + 0x48], ecx
jmp 0x4ba031
test edx, 0x4000
je 0x4ba031
push ecx
call fcn.004c16b0
add esp, 4
test eax, eax
jne 0x4bf2ce
mov eax, dword [esp + 0x30]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx eax, ax
mov dword [esp + 0x48], eax
movzx eax, word [esi + 8]
mov dword [esp + 0x38], eax
test al, 0x12
jne 0x4ba04e
push 0
push dword [esp + 0x64]
push esi
call fcn.004c20f0
add esp, 0xc
jmp 0x4ba05e
test eax, 0x4000
je 0x4ba079
push esi
call fcn.004c16b0
add esp, 4
test eax, eax
jne 0x4bf2ce
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx eax, ax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0xc]
add eax, dword [ecx + 0xc]
cdq
mov dword [esp + 0x68], eax
mov ecx, edx
mov eax, dword [ebx + 0x6c]
cdq
cmp ecx, edx
jg 0x4bf360
mov ecx, dword [esp + 0x68]
jl 0x4ba0a4
cmp ecx, eax
ja 0x4bf360
xor eax, eax
cmp edi, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push edi
call fcn.004c1830
add esp, 0xc
test eax, eax
jne 0x4bf2ce
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [edi + 8], ax
cmp edi, esi
je 0x4ba0f2
push dword [esi + 0xc]
push dword [esi + 0x10]
push dword [edi + 0x10]
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x44]
add esp, 0xc
mov word [esi + 8], ax
mov eax, dword [esp + 0x30]
push dword [eax + 0xc]
push dword [eax + 0x10]
mov eax, dword [esi + 0xc]
add eax, dword [edi + 0x10]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x28]
mov word [eax + 8], cx
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x68]
mov byte [ecx + eax], 0
mov eax, dword [edi + 0x10]
mov byte [ecx + eax + 1], 0
mov eax, dword [edi + 0x10]
mov byte [ecx + eax + 2], 0
mov eax, 0x200
or word [edi + 8], ax
mov al, byte [esp + 0x60]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov byte [edi + 0xa], al
add ecx, 0x14
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
mov dword [esp + 0x68], esi
call fcn.0047b060
mov edi, dword [esp + 0x2c]
movzx ebx, ax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
push eax
mov dword [esp + 0x40], eax
call fcn.0047b060
movzx ecx, ax
add esp, 8
mov eax, dword [esp + 0x20]
and cl, bl
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov ax, word [eax + 8]
or ax, word [esi + 8]
movzx eax, ax
test cl, 4
je 0x4ba2ec
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
movzx eax, byte [eax]
mov esi, dword [ebx]
add eax, 0xffffff97
mov edi, dword [ebx + 4]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edi
cmp eax, 3
ja case.default.0x4ba1f1
jmp dword [eax*4 + 0x4bf9b4]
push edx
push ecx
lea eax, [esp + 0x98]
push eax
call fcn.004882e0
add esp, 0xc
test eax, eax
je 0x4ba2a6
mov esi, dword [esp + 0x64]
jmp 0x4ba2f8
push edx
push ecx
lea eax, [esp + 0x98]
push eax
call fcn.004b4840
add esp, 0xc
test eax, eax
jne 0x4ba212
jmp 0x4ba2a6
push edx
push ecx
lea eax, [esp + 0x98]
push eax
call fcn.004a7a30
add esp, 0xc
test eax, eax
jne 0x4ba212
jmp 0x4ba2a6
mov eax, ecx
or eax, edx
je 0x4ba3d2
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x4ba26a
test esi, esi
jne 0x4ba26a
cmp edi, 0x80000000
je 0x4ba212
push edx
push ecx
push edi
push esi
call fcn.0040b1b0
jmp 0x4ba298
mov eax, ecx
or eax, edx
je 0x4ba3d2
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x4ba28f
mov ecx, 1
xor edx, edx
push edx
push ecx
push edi
push esi
call fcn.0040b260
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x48]
mov edx, 0x3e40
mov eax, dword [esp + 0x90]
mov dword [ecx], eax
mov eax, dword [esp + 0x94]
mov dword [ecx + 4], eax
mov ax, word [ecx + 8]
and ax, dx
or ax, 4
mov word [ecx + 8], ax
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x4c]
add ecx, 0x14
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
test al, 1
jne 0x4ba3d2
mov ebx, dword [esp + 0x38]
push esi
call fcn.004c28f0
fstp qword [esp + 0x54]
push ebx
call fcn.004c28f0
mov eax, dword [esp + 0x28]
add esp, 8
movzx eax, byte [eax]
add eax, 0xffffff97
cmp eax, 3
ja case.default.0x4ba31a
jmp dword [eax*4 + 0x4bf9c4]
fadd qword [esp + 0x50]
jmp 0x4ba3a1
fsub qword [esp + 0x50]
jmp 0x4ba3a1
fmul qword [esp + 0x50]
jmp 0x4ba3a1
fld qword [esp + 0x50]
fldz
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x4ba3ce
fdivp st(1)
jmp 0x4ba3a1
push esi
fstp st(0)
call fcn.004c0890
push ebx
mov esi, eax
mov edi, edx
call fcn.004c0890
mov ecx, esi
mov dword [esp + 0x98], eax
add esp, 8
mov dword [esp + 0x94], edx
or ecx, edi
je 0x4ba3d2
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x4ba383
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.0040b260
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], edx
fild qword [esp + 0x168]
sub esp, 8
fst qword [esp]
call fcn.004a5a00
add esp, 8
test eax, eax
jne 0x4ba3d0
mov ecx, dword [esp + 0x48]
mov edx, 0x3e40
mov ax, word [ecx + 8]
and ax, dx
fstp qword [ecx]
or ax, 8
jmp 0x4ba2cd
fstp st(1)
fstp st(0)
push dword [esp + 0x48]
call fcn.004c1d40
add esp, 4
jmp 0x4ba2d1
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4b9d33
push 0
push 0
jmp 0x4b9f55
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x28]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov al, byte [ecx + 8]
or al, byte [esi + 8]
mov dword [esp + 0x5c], edx
test al, 1
je 0x4ba44d
push edx
call fcn.004c1d40
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push ecx
call fcn.004c0890
push esi
mov dword [esp + 0x4c], eax
mov edi, edx
call fcn.004c0890
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x20]
mov cl, byte [eax]
cmp cl, 0x65
jne 0x4ba47c
mov eax, dword [esp + 0x44]
and eax, esi
and edi, edx
jmp 0x4ba545
cmp cl, 0x66
jne 0x4ba48e
mov eax, dword [esp + 0x44]
or eax, esi
or edi, edx
jmp 0x4ba545
mov eax, esi
or eax, edx
je 0x4ba541
test edx, edx
jg 0x4ba4c6
jl 0x4ba4a2
test esi, esi
jae 0x4ba4bb
mov al, 0xcf
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x4ba4c6
jg 0x4ba4b4
cmp esi, 0xffffffc0
jbe 0x4ba4c6
neg esi
adc edx, 0
neg edx
test edx, edx
jl 0x4ba4e7
jg 0x4ba4c6
cmp esi, 0x40
jb 0x4ba4e7
test edi, edi
jg 0x4ba4e0
jl 0x4ba4d3
cmp dword [esp + 0x44], 0
jae 0x4ba4e0
cmp cl, 0x67
je 0x4ba4e0
or eax, 0xffffffff
cdq
mov edi, edx
jmp 0x4ba545
xor eax, eax
cdq
mov edi, edx
jmp 0x4ba545
mov eax, dword [esp + 0x44]
cmp cl, 0x67
mov edx, edi
mov ecx, esi
jne 0x4ba4ff
call fcn.0040b590
mov ecx, eax
mov edi, edx
jmp 0x4ba545
call fcn.0040b6a0
mov dword [esp + 0x38], edx
mov ecx, eax
mov dword [esp + 0x34], ecx
test edi, edi
jg 0x4ba53b
jl 0x4ba51b
cmp dword [esp + 0x44], 0
jae 0x4ba53b
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, esi
or edx, 0xffffffff
call fcn.0040b590
mov ecx, dword [esp + 0x34]
or ecx, eax
or dword [esp + 0x38], edx
mov edx, dword [esp + 0x38]
mov eax, ecx
mov edi, edx
jmp 0x4ba545
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
mov edx, 0x3e40
mov esi, dword [esp + 0x28]
mov dword [ecx], eax
mov ax, word [ecx + 8]
and ax, dx
mov dword [ecx + 4], edi
mov edi, dword [ebp + 8]
or ax, 4
mov word [ecx + 8], ax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
call fcn.004c1a40
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 8]
cdq
add dword [esi], eax
mov eax, dword [esp + 0x24]
adc dword [esi + 4], edx
add ecx, 0x14
mov esi, dword [esp + 0x28]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x4ba607
test al, 8
jne 0x4ba5da
test al, 2
je 0x4ba5e7
push 1
push esi
call fcn.004516d0
add esp, 8
jmp 0x4ba5e3
push esi
call fcn.004c08d0
add esp, 4
mov ecx, dword [esp + 0x20]
movzx eax, word [esi + 8]
test al, 4
jne 0x4ba607
cmp dword [ecx + 8], 0
jne 0x4bc5bc
mov edx, 0x14
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
and eax, 0x3e40
or eax, 4
add ecx, 0x14
mov word [esi + 8], ax
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x24
lea eax, [esi + eax*8]
je 0x4b9d33
push eax
call fcn.004c1c20
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x4ba683
push esi
call fcn.004c16b0
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
mov eax, dword [esp + 0x20]
push dword [esp + 0x60]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.004c1520
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], esi
lea eax, [eax + eax*4]
movzx edx, word [ecx + eax*8 + 8]
lea edi, [ecx + eax*8]
movzx eax, word [esi + 8]
mov ecx, edx
or ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], edx
test cl, 1
je 0x4ba795
movzx eax, word [eax + 2]
test al, al
jns 0x4ba743
mov cl, dl
mov al, cl
and al, byte [esp + 0x3c]
test al, 1
je 0x4ba72c
test edx, 0x100
jne 0x4ba72c
mov eax, dword [esp + 0x20]
xor edx, edx
movzx eax, byte [eax]
movzx esi, byte [eax + 0x4e9198]
jmp 0x4ba816
test cl, 1
mov edx, 0
sete dl
lea edx, [edx*2 - 1]
jmp 0x4ba955
test al, 0x20
je 0x4ba776
mov eax, dword [esp + 0x20]
mov edx, 0x3e40
mov esi, dword [esp + 0x28]
mov dword [esp + 0x80], 1
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov ax, word [esi + ecx*8 + 8]
and ax, dx
or ax, 1
jmp 0x4b9997
test al, 0x10
jne 0x4bc5b8
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov al, byte [eax + 2]
and al, 0x47
cmp al, 0x43
jl 0x4ba8ca
test cl, 2
je 0x4ba7d9
mov al, byte [esp + 0x3c]
and al, 0x2e
cmp al, 2
jne 0x4ba7c4
push 0
push esi
call fcn.004516d0
movzx eax, word [edi + 8]
add esp, 8
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x44]
and al, 0x2e
cmp al, 2
jne 0x4ba7d9
push 0
push edi
call fcn.004516d0
add esp, 8
mov al, byte [edi + 8]
and al, byte [esi + 8]
test al, 4
je 0x4ba942
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov esi, dword [edi + 4]
mov ecx, dword [edi]
cmp esi, edx
jl 0x4ba8b4
jg 0x4ba803
cmp ecx, eax
jbe 0x4ba8a2
mov edx, 1
mov eax, dword [esp + 0x20]
movzx eax, byte [eax]
movzx esi, byte [eax + 0x4e91a0]
movzx eax, word [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov word [edi + 8], ax
movzx eax, word [esp + 0x3c]
mov word [ecx + 8], ax
mov ecx, dword [esp + 0x20]
movzx ecx, word [ecx + 2]
test cl, 0x20
je 0x4ba985
mov eax, dword [esp + 0x20]
mov dword [esp + 0x80], edx
mov eax, dword [eax + 8]
lea edi, [eax + eax*4]
test cl, 8
je 0x4ba867
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp byte [ecx], 0x35
sete al
cmp eax, esi
je 0x4b9d2c
mov eax, dword [esp + 0x28]
mov edx, 0x3e40
mov cx, word [eax + edi*8 + 8]
and cx, dx
or cx, 4
mov word [eax + edi*8 + 8], cx
mov eax, esi
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
cdq
add ecx, 0x14
mov dword [esi + edi*8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + edi*8 + 4], edx
mov edi, dword [ebp + 8]
jmp 0x4b9914
cmp esi, edx
jg 0x4ba717
jl 0x4ba8b4
cmp ecx, eax
jae 0x4ba717
mov eax, dword [esp + 0x20]
or edx, 0xffffffff
movzx ecx, byte [eax]
movzx esi, byte [ecx + 0x4e911c]
jmp 0x4ba816
cmp al, 0x42
jne 0x4ba942
mov al, byte [esp + 0x3c]
test al, 2
jne 0x4ba911
test al, 0x2c
je 0x4ba911
push 1
push dword [esp + 0x64]
push esi
call fcn.004c20f0
mov ax, word [esi + 8]
mov ecx, 0x3e40
xor ax, word [esp + 0x48]
add esp, 0xc
and ax, cx
xor word [esp + 0x3c], ax
cmp esi, edi
jne 0x4ba911
mov eax, dword [esp + 0x3c]
or eax, 2
movzx eax, ax
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x44]
test al, 2
jne 0x4ba942
test al, 0x2c
je 0x4ba942
push 1
push dword [esp + 0x64]
push edi
call fcn.004c20f0
mov ax, word [edi + 8]
mov ecx, 0x3e40
xor ax, word [esp + 0x50]
add esp, 0xc
and ax, cx
xor word [esp + 0x44], ax
mov eax, dword [esp + 0x20]
push dword [eax + 0x10]
push esi
push edi
call fcn.004a7840
add esp, 0xc
mov edx, eax
test edx, edx
jns 0x4ba96c
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax]
movzx esi, byte [ecx + 0x4e911c]
jmp 0x4ba816
jne 0x4ba808
mov eax, dword [esp + 0x20]
movzx eax, byte [eax]
movzx esi, byte [eax + 0x4e9198]
jmp 0x4ba816
mov ecx, dword [esp + 0x20]
test esi, esi
jne 0x4bc5bc
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
cmp dword [esp + 0x80], 0
mov ecx, dword [esp + 0x20]
jne 0x4bc5bc
add ecx, 0x14
jmp 0x4b9914
mov edx, dword [esp + 0x20]
test byte [edx + 2], 1
jne 0x4ba9cc
xor eax, eax
jmp 0x4ba9d2
mov eax, dword [edx - 4]
add eax, 4
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x20]
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov esi, dword [esi + 4]
mov dword [esp + 0x64], esi
mov esi, dword [edi + 8]
mov dword [esp + 0x30], esi
xor esi, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x68], edx
test ecx, ecx
jle 0x4b9d28
lea ecx, [edx + 0x14]
mov dword [esp + 0x38], ecx
jmp 0x4baa10
test eax, eax
je 0x4baa19
mov edi, dword [eax + esi*4]
jmp 0x4baa1b
mov edi, esi
mov eax, dword [edx + 0x10]
push dword [ecx]
mov ecx, dword [esp + 0x2c]
movzx eax, byte [esi + eax]
and eax, 1
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov eax, dword [esp + 0x6c]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004a7840
mov edx, eax
add esp, 0xc
mov dword [esp + 0x80], edx
test edx, edx
jne 0x4baa8f
mov ecx, dword [esp + 0x38]
inc esi
mov eax, dword [esp + 0x48]
add ecx, 4
mov edx, dword [esp + 0x68]
mov dword [esp + 0x38], ecx
cmp esi, dword [esp + 0x34]
jl 0x4baa10
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
mov esi, dword [esp + 0x28]
je 0x4baac9
mov eax, dword [esp + 0x64]
add eax, edi
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
jne 0x4baac0
mov eax, dword [esp + 0x30]
add eax, edi
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
je 0x4baac9
neg edx
mov dword [esp + 0x80], edx
cmp dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
je 0x4b9d37
neg edx
add ecx, 0x14
mov dword [esp + 0x80], edx
jmp 0x4b9914
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x20]
test edx, edx
jns 0x4bab1b
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x24]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x4b9914
jne 0x4bab39
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x24]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x4b9914
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x24]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
push 2
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.004b8db0
mov esi, eax
mov eax, dword [esp + 0x28]
push 2
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
push ecx
call fcn.004b8db0
mov ecx, dword [esp + 0x30]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x4bab9e
movzx edx, byte [esi + eax + 0x4e998c]
jmp 0x4baba6
movzx edx, byte [esi + eax + 0x4e9998]
mov eax, dword [ecx + 0xc]
mov esi, dword [esp + 0x28]
lea ecx, [eax + eax*4]
cmp edx, 2
jne 0x4babdb
mov ax, word [esi + ecx*8 + 8]
mov edx, 0x3e40
and ax, dx
or ax, 1
mov word [esi + ecx*8 + 8], ax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov eax, edx
cdq
mov dword [esi + ecx*8], eax
mov ax, word [esi + ecx*8 + 8]
mov dword [esi + ecx*8 + 4], edx
mov edx, 0x3e40
and ax, dx
or ax, 4
mov word [esi + ecx*8 + 8], ax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
push dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.004b8db0
mov ecx, dword [esp + 0x28]
xor eax, dword [ecx + 0x10]
cdq
push edx
push eax
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.004c1d00
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
lea ecx, [esi + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
jne 0x4bac97
push 0
push ecx
call fcn.004b8db0
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
push esi
call fcn.004c1d00
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push esi
call fcn.004c1d40
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
call fcn.004c1d40
add esp, 4
test byte [edi + 8], 1
jne 0x4b9d28
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.004c0890
mov ecx, dword [esp + 0x24]
not eax
mov edi, dword [ebp + 8]
not edx
mov dword [esi], eax
add esp, 4
mov eax, dword [esp + 0x24]
add ecx, 0x14
mov dword [esi + 4], edx
mov esi, dword [esp + 0x28]
jmp 0x4b9914
mov esi, dword [edi + 0xc8]
mov ecx, dword [esp + 0x20]
test esi, esi
je 0x4bad80
sub ecx, dword [edi + 0x68]
mov eax, 0x66666667
mov esi, dword [esi + 0x18]
imul ecx
mov ebx, dword [esp + 0x4c]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
and ecx, 7
shr edx, 3
mov al, byte [edx + esi]
mov byte [esp + 0x43], al
mov eax, 1
shl eax, cl
test byte [esp + 0x43], al
jne 0x4bc5b8
mov al, 1
shl al, cl
or al, byte [esp + 0x43]
mov ecx, dword [esp + 0x20]
mov byte [edx + esi], al
mov eax, dword [edi + 0x68]
mov esi, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
je 0x4bc5bc
mov eax, dword [edi + 0x68]
mov esi, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
push dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.004b8db0
mov ecx, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x4bc5bc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp dword [ecx + 0xc], eax
sete al
push eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.004b8db0
mov ecx, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x4bc5bc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
jne 0x4bc5bc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
je 0x4bc5bc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 2], 0
je 0x4b9b23
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.004c1d40
add esp, 4
jmp 0x4bc5b8
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x7c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004b9500
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x7c]
mov eax, dword [eax + 0xc]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x30], edx
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x3c], ecx
cmp eax, dword [esi + 0x20]
je 0x4bafd7
cmp byte [edi + 2], 0
je 0x4baf3d
cmp byte [edi], 3
jne 0x4baf1e
mov eax, dword [edi + 0x20]
lea esi, [edi + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [esi], eax
mov dword [edi + 0x50], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ecx*8 + 0x10]
mov dword [edi + 0x4c], eax
jmp 0x4baf6f
push ecx
call fcn.004c1d40
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x24]
mov edi, esi
mov esi, dword [esp + 0x28]
add ecx, 0x14
jmp 0x4b9914
mov esi, dword [edi + 0x28]
push esi
call fcn.00474140
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x50], eax
lea eax, [edi + 0x54]
push eax
push esi
call fcn.0048dda0
mov dword [edi + 0x4c], eax
add esp, 0xc
mov eax, dword [edi + 0x50]
cmp eax, dword [ebx + 0x6c]
ja 0x4bf360
mov edx, dword [esp + 0x30]
lea esi, [edi + 0x54]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x1c], eax
mov ecx, dword [edi + 0x4c]
mov al, byte [ecx]
cmp al, 0x80
jae 0x4baf8d
movzx eax, al
mov dword [edx], eax
mov eax, 1
jmp 0x4baf9e
push edx
push ecx
call fcn.004a35e0
mov edx, dword [esp + 0x38]
add esp, 8
movzx eax, al
movzx eax, al
mov dword [edi + 0x30], eax
xor eax, eax
mov word [edi + 0x3a], ax
mov eax, dword [esi]
cmp eax, dword [edx]
jae 0x4bb0de
mov dword [edi + 0x4c], 0
mov dword [esi], 0
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x4bb217
cmp eax, dword [edi + 0x50]
ja 0x4bb217
movzx eax, word [edi + 0x3a]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jg 0x4bb25d
mov eax, dword [edi + 0x30]
cmp eax, dword [edx]
jae 0x4bb242
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x64], eax
test eax, eax
jne 0x4bb07a
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], eax
lea eax, [esp + 0x1b0]
push eax
push dword [edx]
push 0
push dword [edi + 0x28]
call fcn.004c17c0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
mov eax, dword [esp + 0x1c0]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x64], eax
movzx eax, word [edi + 0x3a]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], 0
mov edi, dword [edx + eax*4]
mov esi, dword [ecx + 0x30]
mov edx, dword [edx]
add edx, dword [esp + 0x64]
add esi, dword [esp + 0x64]
add eax, 0x16
mov dword [esp + 0x48], edx
lea eax, [ecx + eax*4]
mov dword [esp + 0x38], eax
lea esp, [esp]
movzx ecx, byte [esi]
mov dword [esp + 0x44], ecx
mov dword [esp + 0xa0], ecx
mov dword [eax], ecx
cmp ecx, 0x80
jae 0x4bb0e3
movzx eax, cl
inc esi
mov ecx, dword [esp + 0x68]
movzx eax, byte [eax + 0x4e8ed0]
cdq
add edi, eax
adc ecx, edx
jmp 0x4bb119
mov eax, dword [edi + 0x4c]
jmp 0x4bb076
lea eax, [esp + 0xa0]
push eax
push esi
call fcn.004a35e0
mov ecx, dword [esp + 0x40]
movzx eax, al
add esi, eax
mov eax, dword [esp + 0xa8]
push eax
mov dword [esp + 0x50], eax
mov dword [ecx], eax
call fcn.004c3380
mov ecx, dword [esp + 0x74]
add esp, 0xc
add edi, eax
adc ecx, 0
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x30]
inc edx
mov eax, dword [esp + 0x38]
add eax, 4
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], edx
mov dword [ebx + edx*4], edi
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
cmp edx, dword [esp + 0x84]
jg 0x4bb155
cmp esi, dword [esp + 0x48]
jb 0x4bb0b0
mov eax, dword [esp + 0x48]
jmp 0x4bb15d
mov eax, dword [esp + 0x48]
cmp esi, eax
jb 0x4bb170
cmp esi, eax
mov eax, dword [esp + 0x7c]
ja 0x4bb17f
cmp edi, dword [eax + 0x50]
jne 0x4bb17f
test ecx, ecx
jne 0x4bb17f
jmp 0x4bb174
mov eax, dword [esp + 0x7c]
test ecx, ecx
jb 0x4bb18e
ja 0x4bb17f
cmp edi, dword [eax + 0x50]
jbe 0x4bb18e
mov ecx, dword [esp + 0x30]
cmp dword [ecx], 0
jne 0x4bb201
mov esi, dword [esp + 0x48]
xor edx, edx
mov edi, dword [esp + 0x7c]
sub esi, dword [esp + 0x64]
mov word [edi + 0x3a], dx
mov dword [edi + 0x30], esi
cmp dword [edi + 0x4c], 0
jne 0x4bb1b3
lea eax, [esp + 0x1b0]
push eax
call fcn.004c1c70
add esp, 4
mov ecx, dword [esp + 0x44]
movzx eax, word [edi + 0x3a]
cmp eax, dword [esp + 0x84]
jg 0x4bb26c
mov eax, dword [esp + 0x20]
cmp byte [eax + 1], 0xf5
jne 0x4bb254
push 0x800
push dword [eax + 0x10]
push dword [esp + 0x44]
call fcn.004c2090
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
cmp dword [eax + 0x4c], 0
jne 0x4bb217
lea eax, [esp + 0x1b0]
push eax
call fcn.004c1c70
add esp, 4
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x4bf0d5
mov edi, dword [ebp + 8]
lea eax, [eax + eax*4]
mov esi, dword [esp + 0x28]
lea eax, [eax - 5]
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0xa0], ecx
jmp 0x4bb1b7
push dword [esp + 0x3c]
jmp 0x4b9fad
mov ecx, dword [edi + ecx*4 + 0x58]
mov dword [esp + 0x44], ecx
mov dword [esp + 0xa0], ecx
mov esi, dword [esp + 0x3c]
mov eax, 0x2400
test word [esi + 8], ax
je 0x4bb288
push esi
call fcn.004c1d40
mov ecx, dword [esp + 0x48]
add esp, 4
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x54]
cmp eax, dword [edx + ebx*4 + 4]
mov ebx, dword [esp + 0x4c]
jb 0x4bb366
mov eax, dword [esp + 0x84]
mov edi, dword [edi + 0x4c]
add edi, dword [edx + eax*4]
cmp ecx, 0xc
jae 0x4bb2d8
push esi
push ecx
push edi
call fcn.004c3160
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov al, byte [esp + 0x60]
lea esi, [ecx - 0xc]
mov ecx, dword [esp + 0x3c]
shr esi, 1
mov byte [ecx + 0xa], al
lea eax, [esi + 2]
mov dword [ecx + 0xc], esi
cmp dword [ecx + 0x18], eax
jge 0x4bb316
push 0
push eax
mov edx, 1
push ecx
mov word [ecx + 8], dx
call fcn.004c1830
add esp, 0xc
test eax, eax
jne 0x4bf2ce
mov ecx, dword [esp + 0x3c]
jmp 0x4bb31c
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
push esi
push edi
push dword [ecx + 0x10]
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [esi + eax + 1], 0
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
and eax, 1
mov ax, word [eax*2 + 0x4e99ec]
mov word [ecx + 8], ax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov al, byte [esp + 0x60]
mov byte [esi + 0xa], al
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x4bb387
cmp ecx, 0xc
jb 0x4bb383
test cl, 1
je 0x4bb394
test al, al
js 0x4bb394
push ecx
call fcn.004c3380
add esp, 4
test eax, eax
jne 0x4bb3ba
push esi
push ecx
push 0x4e9ba0
call fcn.004c3160
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push esi
push eax
mov eax, dword [esp + 0x8c]
push dword [edx + eax*4]
push dword [edi + 0x28]
call fcn.004c17c0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
mov eax, dword [esp + 0x44]
push esi
push eax
push dword [esi + 0x10]
call fcn.004c3160
mov ecx, dword [esp + 0x2c]
mov eax, 0xefff
mov edi, dword [ebp + 8]
add esp, 0xc
and word [esi + 8], ax
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push dword [esp + 0x60]
movzx eax, byte [edi]
push eax
push esi
call fcn.00451660
add esp, 0xc
cmp byte [edi], 0x45
jne 0x4bb48d
movzx eax, word [esi + 8]
test al, 4
je 0x4bb48d
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], ecx
cmp ecx, 0x7fff
jg 0x4bb478
jl 0x4bb460
cmp edx, 0xffffffff
ja 0x4bb478
cmp ecx, 0xffff8000
jl 0x4bb478
jg 0x4bb46e
test edx, edx
jb 0x4bb478
and eax, 0xfffb
or eax, 0x20
jmp 0x4bb489
fild qword [esp + 0x128]
and eax, 0xfffb
or eax, 8
fstp qword [esi]
mov word [esi + 8], ax
inc edi
cmp byte [edi], 0
je 0x4b9d28
add esi, 0x28
jmp 0x4bb420
mov eax, dword [esp + 0x20]
xor edx, edx
mov ebx, dword [esp + 0x28]
xor edi, edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x64], edx
mov dword [esp + 0x38], edx
lea eax, [eax + eax*4]
mov dword [esp + 0x48], ecx
lea esi, [esi + eax*8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], esi
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [esi + eax*8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x93]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x4bb54a
add esi, 8
mov ebx, ecx
push dword [esp + 0x60]
movzx eax, byte [ebx]
push eax
lea eax, [esi - 8]
push eax
call fcn.00451660
add esp, 0xc
cmp byte [ebx], 0x45
jne 0x4bb53b
movzx eax, word [esi]
test al, 4
je 0x4bb53b
and eax, 0xfffb
or eax, 0x20
mov word [esi], ax
inc ebx
add esi, 0x28
cmp byte [ebx], 0
jne 0x4bb510
mov ebx, dword [esp + 0x4c]
mov edx, edi
mov esi, dword [esp + 0x34]
add esi, 0x1c
movzx ecx, word [esi - 0x14]
test cl, 1
je 0x4bb573
and ecx, 0x4000
neg ecx
sbb ecx, ecx
and ecx, 0xa
mov dword [esi], ecx
mov ecx, dword [esp + 0x3c]
inc ecx
jmp 0x4bb7a5
test cl, 0x24
je 0x4bb6fd
mov ebx, dword [esi - 0x18]
test ebx, ebx
mov eax, dword [esi - 0x1c]
mov dword [esp + 0x134], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x130], eax
jg 0x4bb5ab
jl 0x4bb59e
test eax, eax
jae 0x4bb5ab
not eax
mov dword [esp + 0x30], eax
mov eax, dword [esi - 0x18]
not eax
jmp 0x4bb5b2
mov dword [esp + 0x30], eax
mov eax, dword [esi - 0x18]
inc dword [esp + 0x3c]
test eax, eax
ja 0x4bb690
jb 0x4bb5c7
cmp dword [esp + 0x30], 0x7f
ja 0x4bb615
mov eax, dword [esi - 0x1c]
and eax, 1
mov dword [esp + 0x48], 0
cmp eax, dword [esi - 0x1c]
jne 0x4bb5fc
mov eax, dword [esi - 0x18]
cmp dword [esp + 0x48], eax
jne 0x4bb5fc
cmp dword [esp + 0x74], 4
jl 0x4bb5fc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add eax, 8
mov dword [esi], eax
jmp 0x4bb7a9
mov ecx, dword [esp + 0x3c]
add edx, 1
mov dword [esp + 0x44], edx
adc edi, 0
mov dword [esi], 1
jmp 0x4bb7a9
test eax, eax
ja 0x4bb690
jb 0x4bb625
cmp dword [esp + 0x30], 0x7fff
ja 0x4bb63e
mov ecx, dword [esp + 0x3c]
add edx, 2
mov dword [esp + 0x44], edx
adc edi, 0
mov dword [esi], 2
jmp 0x4bb7a9
test eax, eax
ja 0x4bb690
jb 0x4bb64e
cmp dword [esp + 0x30], 0x7fffff
ja 0x4bb667
mov ecx, dword [esp + 0x3c]
add edx, 3
mov dword [esp + 0x44], edx
adc edi, 0
mov dword [esi], 3
jmp 0x4bb7a9
test eax, eax
ja 0x4bb690
jb 0x4bb677
cmp dword [esp + 0x30], 0x7fffffff
ja 0x4bb690
mov ecx, dword [esp + 0x3c]
add edx, 4
mov dword [esp + 0x44], edx
adc edi, 0
mov dword [esi], 4
jmp 0x4bb7a9
cmp eax, 0x7fff
ja 0x4bb6b9
jb 0x4bb6a0
cmp dword [esp + 0x30], 0xffffffff
ja 0x4bb6b9
mov ecx, dword [esp + 0x3c]
add edx, 6
mov dword [esp + 0x44], edx
adc edi, 0
mov dword [esi], 5
jmp 0x4bb7a9
add edx, 8
mov dword [esp + 0x44], edx
adc edi, 0
test cl, 0x20
je 0x4bb6ee
fild qword [esp + 0x130]
and ecx, 0xffdf
mov dword [esi], 7
or ecx, 8
mov word [esi - 0x14], cx
mov ecx, dword [esp + 0x3c]
fstp qword [esi - 0x1c]
jmp 0x4bb7a9
mov ecx, dword [esp + 0x3c]
mov dword [esi], 6
jmp 0x4bb7a9
test cl, 8
je 0x4bb71c
mov ecx, dword [esp + 0x3c]
inc ecx
mov dword [esi], 7
add edx, 8
mov dword [esp + 0x44], edx
adc edi, 0
jmp 0x4bb7a5
mov eax, dword [esi - 0x10]
mov dword [esp + 0x48], eax
mov eax, ecx
mov ebx, dword [esp + 0x48]
shr eax, 1
and eax, 1
lea eax, [eax + ebx*2]
mov ebx, dword [esp + 0x4c]
add eax, 0xc
mov dword [esp + 0x30], eax
test ecx, 0x4000
je 0x4bb780
mov ebx, dword [esi - 0x1c]
lea ecx, [esi - 0x1c]
lea eax, [eax + ebx*2]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, edx
or eax, edi
je 0x4bb775
push ecx
call fcn.004c16b0
add esp, 4
test eax, eax
jne 0x4bf2ce
mov eax, dword [esp + 0x48]
add eax, dword [esi - 0x1c]
jmp 0x4bb784
mov eax, dword [ecx]
cdq
add dword [esp + 0x64], eax
adc dword [esp + 0x38], edx
mov eax, dword [esp + 0x48]
add dword [esp + 0x44], eax
push 0
push dword [esp + 0x34]
adc edi, 0
call fcn.004b8840
mov ecx, dword [esp + 0x44]
add esp, 8
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esi], eax
mov dword [esp + 0x3c], ecx
lea eax, [esi - 0x1c]
cmp eax, dword [esp + 0x5c]
je 0x4bb7be
mov edx, dword [esp + 0x44]
sub esi, 0x28
jmp 0x4bb551
cmp ecx, 0x7e
jle 0x4bb7ec
mov eax, ecx
cdq
push edx
push eax
call fcn.004b8840
mov esi, eax
mov eax, dword [esp + 0x44]
add eax, esi
mov dword [esp + 0x44], eax
cdq
push edx
push eax
call fcn.004b8840
mov ecx, dword [esp + 0x4c]
add esp, 0x10
cmp esi, eax
jge 0x4bb7f1
inc ecx
mov dword [esp + 0x3c], ecx
mov esi, dword [esp + 0x44]
mov eax, ecx
cdq
mov ecx, eax
mov eax, edx
add esi, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x74], ecx
mov ecx, esi
adc edi, eax
mov eax, dword [esp + 0x68]
add ecx, dword [esp + 0x64]
adc edi, dword [esp + 0x38]
mov eax, dword [eax + 0x18]
cdq
cmp edi, edx
jg 0x4bb830
jl 0x4bb824
cmp ecx, eax
ja 0x4bb830
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
jmp 0x4bb85f
mov eax, dword [ebx + 0x6c]
cdq
cmp edi, edx
jg 0x4bf360
jl 0x4bb846
cmp ecx, eax
ja 0x4bf360
push esi
push dword [esp + 0x6c]
call fcn.004c1600
add esp, 8
test eax, eax
jne 0x4bf2ce
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov eax, 0x10
mov word [edx + 8], ax
mov eax, ecx
or eax, dword [esp + 0x38]
mov dword [edx + 0xc], esi
je 0x4bb882
mov eax, 0x4010
mov dword [edx], ecx
mov word [edx + 8], ax
mov eax, dword [esp + 0x3c]
mov esi, dword [edx + 0x10]
lea edi, [esi + eax]
cmp eax, 0x80
jae 0x4bb89c
mov byte [esi], al
mov eax, 1
jmp 0x4bb8ad
push dword [esp + 0x50]
push dword [esp + 0x78]
push esi
call fcn.004ae0a0
add esp, 0xc
mov ebx, dword [esp + 0x5c]
movzx eax, al
add esi, eax
jmp 0x4bb8c0
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x50], eax
cmp eax, 0x80
jae 0x4bb8d7
mov byte [esi], al
mov eax, 1
jmp 0x4bb8e3
push 0
push eax
push esi
call fcn.004ae0a0
add esp, 0xc
push dword [esp + 0x50]
movzx eax, al
push ebx
push edi
add esi, eax
call fcn.004c3320
add ebx, 0x28
add esp, 0xc
add edi, eax
cmp ebx, dword [esp + 0x34]
jbe 0x4bb8c0
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x4c]
add ecx, 0x14
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0xe0]
push ecx
push dword [eax + 0x28]
push ebx
call fcn.0048b9b0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov ecx, dword [esp + 0xe8]
add esp, 8
mov dword [eax], ecx
mov ecx, dword [esp + 0xe4]
mov dword [eax + 4], ecx
jmp 0x4bdb69
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
test ecx, ecx
jne 0x4bba68
cmp dword [ebx + 0xb8], ecx
jg 0x4bf0e9
push eax
call fcn.004b4820
mov ecx, dword [ebx + 0x1e0]
mov edi, eax
add ecx, dword [ebx + 0x1dc]
push ecx
push 0
push ebx
call fcn.004c4fc0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
push edx
lea eax, [edi + 0x21]
push eax
push ebx
call fcn.00491d60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4b9d28
lea ecx, [edi + 1]
push ecx
push dword [esp + 0x3c]
lea edx, [esi + 0x20]
push edx
mov dword [esi], edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp byte [ebx + 0x4f], 0
je 0x4bba18
mov byte [ebx + 0x4f], 0
mov byte [ebx + 0x57], 1
jmp 0x4bba1e
inc dword [ebx + 0x1dc]
mov eax, dword [ebx + 0x1d4]
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
add ecx, 0x14
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1e8]
mov dword [ebx + 0x1d4], esi
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x1ec]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x1f0]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x1f4]
mov dword [esi + 0x14], eax
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov esi, dword [ebx + 0x1d4]
xor edi, edi
push eax
test esi, esi
je 0x4bf13f
push dword [esi]
call fcn.004b47c0
add esp, 8
test eax, eax
je 0x4bba91
mov esi, dword [esi + 0x18]
inc edi
mov eax, dword [esp + 0x38]
jmp 0x4bba70
cmp dword [ebx + 0xb8], 0
mov ecx, dword [esp + 0x30]
jle 0x4bbaa7
cmp ecx, 1
je 0x4bf105
cmp dword [esi + 0x18], 0
jne 0x4bbb12
cmp byte [ebx + 0x57], 0
je 0x4bbb12
mov dword [esp + 0x48], 1
cmp ecx, 1
jne 0x4bbb1a
push ecx
push dword [ebp + 8]
call fcn.004b9020
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x4bf695
push dword [ebp + 8]
mov byte [ebx + 0x4f], 1
call fcn.004c0330
add esp, 4
cmp eax, 5
je 0x4bf10f
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
mov dword [esp + 0x2c], edx
test edx, edx
je 0x4bbb09
mov byte [ebx + 0x4f], 0
jmp 0x4bbc11
mov byte [ebx + 0x57], 0
jmp 0x4bbc19
mov dword [esp + 0x48], 0
mov eax, dword [ebx + 0x1dc]
sub eax, edi
dec eax
mov dword [esp + 0x38], eax
cmp ecx, 2
jne 0x4bbb8f
mov ecx, dword [ebx + 0x18]
and ecx, 1
mov dword [esp + 0x34], 0
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x5c], ecx
jle 0x4bbb9d
xor eax, eax
test ecx, ecx
sete al
xor edi, edi
mov dword [esp + 0x50], eax
push eax
mov eax, dword [ebx + 0x10]
push 0x204
push dword [eax + edi + 4]
call fcn.0048e5a0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
mov eax, dword [esp + 0x34]
add edi, 0x10
inc eax
cmp eax, dword [ebx + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
jl 0x4bbb51
mov eax, dword [esp + 0x38]
jmp 0x4bbba1
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x5c], 0
jmp 0x4bbba5
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x34], 0
jle 0x4bbbed
xor edi, edi
push eax
mov eax, dword [ebx + 0x10]
push ecx
push dword [eax + edi + 4]
call fcn.0048e020
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
mov eax, dword [esp + 0x34]
add edi, 0x10
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, dword [ebx + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
jl 0x4bbbb5
cmp dword [esp + 0x5c], 0
je 0x4bbc0d
push 0
push ebx
call fcn.00494080
push ebx
call fcn.004aec70
mov edx, dword [esp + 0x38]
add esp, 0xc
or dword [ebx + 0x18], 1
mov edi, dword [esp + 0x38]
test edx, edx
jne 0x4bcb76
cmp dword [ebx + 0x1d4], esi
je 0x4bbc48
mov ecx, dword [ebx + 0x1d4]
push ecx
push ebx
mov eax, dword [ecx + 0x18]
mov dword [ebx + 0x1d4], eax
call fcn.00491cd0
dec dword [ebx + 0x1dc]
add esp, 8
cmp dword [ebx + 0x1d4], esi
jne 0x4bbc21
mov ecx, dword [esp + 0x30]
cmp ecx, 1
jne 0x4bbc7b
mov eax, dword [esi + 0x18]
push esi
push ebx
mov dword [ebx + 0x1d4], eax
call fcn.00491cd0
add esp, 8
cmp dword [esp + 0x48], 0
jne 0x4b9d28
dec dword [ebx + 0x1dc]
mov ecx, dword [esp + 0x30]
jmp 0x4bbcaf
cmp dword [esp + 0x48], 0
mov eax, dword [esi + 8]
mov dword [ebx + 0x1e8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x1ec], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x1f0], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x1f4], eax
je 0x4bbcaf
cmp ecx, 2
jne 0x4b9d28
push edi
push ecx
push ebx
call fcn.004c4fc0
add esp, 0xc
mov edx, eax
mov dword [esp + 0x2c], edx
mov edi, dword [ebp + 8]
test edx, edx
jne 0x4bcb79
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xac], 0
mov edx, dword [ecx + 8]
test edx, edx
je 0x4bbd06
mov eax, dword [ebx + 0x20]
and eax, 0x100000
or eax, 0
jne 0x4bf15e
mov ecx, dword [ecx + 4]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x4bbdcf
lea eax, [esp + 0xac]
push eax
push edx
push esi
call fcn.0048b0c0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bf16c
test byte [edi + 0x98], 0x80
mov ecx, dword [esp + 0x20]
je 0x4bbdd7
cmp dword [ecx + 8], eax
je 0x4bbdd7
cmp byte [ebx + 0x4f], al
je 0x4bbd62
cmp dword [ebx + 0xb4], 1
jle 0x4bbdd7
cmp dword [edi + 0x30], 0
jne 0x4bbd7d
mov eax, dword [ebx + 0x1dc]
inc dword [ebx + 0x1e0]
add eax, dword [ebx + 0x1e0]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x30]
dec eax
push eax
push 0
push ebx
call fcn.004c4fc0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bbda9
push dword [edi + 0x30]
push esi
call fcn.0048b060
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
mov eax, dword [ebx + 0x1e8]
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0x1ec]
mov dword [edi + 0x4c], eax
mov eax, dword [ebx + 0x1f0]
mov dword [edi + 0x50], eax
mov eax, dword [ebx + 0x1f4]
mov dword [edi + 0x54], eax
jmp 0x4bbdd3
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
cmp word [ecx + 2], 0
je 0x4bbe0e
mov eax, dword [esp + 0xac]
cmp eax, dword [ecx + 0xc]
jne 0x4bf19d
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 0x10]
jne 0x4bf19d
test edx, edx
jne 0x4bcb79
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x108]
push eax
mov eax, dword [ebx + 0x10]
push dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.0048c1f0
push dword [esp + 0x2c]
push edi
call fcn.0047b8a0
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x108]
cdq
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x20]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 4]
push dword [ecx + 0xc]
shl esi, 4
add esi, dword [ebx + 0x10]
push dword [ecx + 8]
push dword [esi + 4]
call fcn.0048e6f0
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x4bbeb4
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
or dword [ebx + 0x18], 1
jmp 0x4bbec6
cmp eax, 2
jne 0x4bbec6
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xc]
mov al, byte [eax + 0xc]
mov byte [ecx + 0x4c], al
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 4], 1
jne 0x4bbeea
push 0
push ebx
call fcn.00494080
mov edx, dword [esp + 0x34]
add esp, 8
and dword [edi + 0x98], 0xfffffffc
mov ecx, dword [esp + 0x20]
test edx, edx
jne 0x4bcb79
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4bbf1f
mov eax, dword [esi + 0x34]
cmp eax, dword [edx + 8]
je 0x4bc04b
mov cl, byte [esp + 0x43]
jmp 0x4bbf29
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x98]
and al, 3
cmp al, 1
je 0x4bf206
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 8]
mov dword [esp + 0x74], 0
mov dword [esp + 0x38], 0
mov esi, dword [eax + 0xc]
mov eax, esi
shl eax, 4
add eax, dword [ebx + 0x10]
cmp cl, 0x61
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x50], esi
mov edi, dword [eax + 4]
mov dword [esp + 0x5c], edi
jne 0x4bbfa1
mov eax, dword [eax + 0xc]
mov ebx, dword [ebp + 8]
movzx edi, word [ecx + 2]
and edi, 8
mov al, byte [eax + 0x4c]
or edi, 4
cmp al, byte [ebx + 0x93]
mov ebx, dword [esp + 0x4c]
jae 0x4bbfa3
mov ebx, dword [ebp + 8]
mov byte [ebx + 0x93], al
mov ebx, dword [esp + 0x4c]
jmp 0x4bbfa3
xor edi, edi
test byte [ecx + 2], 0x10
je 0x4bbfca
mov ecx, dword [esp + 0x28]
lea eax, [edx + edx*4]
lea esi, [ecx + eax*8]
push esi
call fcn.004c1a40
mov eax, dword [esi]
add esp, 4
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov al, byte [ecx + 1]
cmp al, 0xf7
jne 0x4bbfde
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x38], eax
movzx eax, word [eax + 8]
jmp 0x4bbfeb
cmp al, 0xfd
jne 0x4bbfe7
mov eax, dword [ecx + 0x10]
jmp 0x4bbfeb
mov eax, dword [esp + 0x74]
push 0
push esi
push eax
push dword [ecx + 4]
push dword [ebp + 8]
call fcn.00450370
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4bf2ce
push dword [esi + 0x28]
mov eax, dword [esp + 0x38]
push dword [esp + 0x3c]
or dword [esi + 8], 4
push edi
push eax
push dword [esp + 0x6c]
mov byte [esi + 2], 1
mov dword [esi + 0x34], eax
call fcn.0048bb80
mov edi, dword [ebp + 8]
mov edx, eax
mov eax, dword [esp + 0x4c]
add esp, 0x14
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
cmp byte [eax + 1], 0xf7
setne al
mov byte [esi + 4], al
jmp 0x4bc04f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 2]
mov eax, dword [esi + 0x28]
and cl, 3
mov byte [eax + 3], cl
test edx, edx
jne 0x4bcb79
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
push 0
push 0xffffffffffffffff
mov ecx, dword [edx + 8]
mov edi, dword [eax + ecx*4]
movsx eax, word [edi + 0x38]
push eax
push dword [edx + 4]
push dword [ebp + 8]
call fcn.00450370
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4bf2ce
or dword [esi + 8], 1
push dword [esi + 0x28]
mov byte [esi + 2], 1
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 8]
push ecx
push 4
push dword [esi + 0x34]
and eax, 4
xor dword [esi + 8], eax
push dword [edi + 0xc]
call fcn.0048bb80
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4bc148
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4bc148
push 0
push dword [esi + 0x34]
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call fcn.0048b430
mov ecx, dword [esp + 0x2c]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
jmp 0x4bc243
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push edi
call fcn.00450370
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4bf2d1
mov eax, dword [esp + 0x20]
lea edi, [esi + 0xc]
or dword [esi + 8], 1
push 0x41e
movzx ecx, word [eax + 2]
or ecx, 5
push ecx
push edi
push ebx
push 0
push dword [ebx]
call fcn.0048d610
mov edx, eax
add esp, 0x18
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bc226
push eax
push 1
push dword [edi]
call fcn.0048b0c0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bc226
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x50], eax
mov dword [esi + 0x2c], eax
test eax, eax
je 0x4bc202
movzx eax, word [edx + 2]
lea ecx, [esi + 0x34]
or eax, 2
push eax
push ecx
push dword [edi]
call fcn.0048bb30
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bc1fc
push dword [esi + 0x28]
push dword [esp + 0x54]
push 4
push dword [esi + 0x34]
push dword [edi]
call fcn.0048bb80
mov edx, eax
add esp, 0x14
mov dword [esp + 0x2c], edx
mov byte [esi + 4], 0
jmp 0x4bc226
push dword [esi + 0x28]
mov dword [esi + 0x34], 1
push 0
push 4
push 1
push dword [edi]
call fcn.0048bb80
mov edx, eax
mov byte [esi + 4], 1
add esp, 0x14
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x20]
xor eax, eax
mov edi, dword [ebp + 8]
cmp word [ecx + 2], 8
setne al
shl eax, 2
xor eax, dword [esi + 8]
and eax, 4
xor dword [esi + 8], eax
test edx, edx
jne 0x4bcb79
mov eax, dword [esp + 0x24]
add ecx, 0x14
mov byte [esi + 2], 1
mov esi, dword [esp + 0x28]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
push 1
push 0xffffffffffffffff
push dword [ecx + 8]
push dword [ecx + 4]
push edi
call fcn.00450370
add esp, 0x14
test eax, eax
je 0x4bf2d1
mov edx, dword [esp + 0x20]
push eax
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x2c], ecx
push dword [edx + 0xc]
push ebx
call fcn.004c3680
add esp, 0xc
mov edx, eax
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + ecx*4]
mov edi, dword [edx + 0x10]
mov ecx, edi
mov esi, dword [edx + 0x14]
add ecx, 1
mov eax, esi
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x20]
adc eax, 0
or edi, esi
mov dword [edx + 0x14], eax
je 0x4bc5bc
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
push 3
push 0xffffffffffffffff
push dword [ecx + 0xc]
push dword [ecx + 4]
push edi
call fcn.00450370
add esp, 0x14
test eax, eax
je 0x4bf2d1
mov ecx, dword [esp + 0x20]
mov byte [eax + 2], 1
mov ecx, dword [ecx + 8]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x20]
mov byte [eax + 4], 1
add ecx, 0x14
mov dword [eax + 0x28], 0x50df14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
push dword [eax + ecx*4]
push edi
call fcn.004c01f0
mov eax, dword [esp + 0x28]
add esp, 8
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x60]
mov dword [eax + ecx*4], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
xor edi, edi
mov dword [esp + 0x34], edi
mov ecx, dword [ecx + 4]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 4], 0
mov word [esi + 2], di
mov dword [esi + 0x1c], edi
je 0x4bc49e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
movzx eax, word [edi + 8]
mov dword [esp + 0x50], eax
and al, 0x2e
cmp al, 2
jne 0x4bc3c2
push 0
push edi
call fcn.004516d0
add esp, 8
push edi
call fcn.004c0890
movzx ecx, word [edi + 8]
add esp, 4
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xf4], edx
mov word [edi + 8], ax
test cl, 0x24
jne 0x4bc461
test cl, 8
jne 0x4bc426
test cl, 1
jne 0x4bc5b8
cmp dword [esp + 0x30], 0x18
jge 0x4bc5b8
lea eax, [esp + 0x6c]
push eax
push dword [esi + 0x28]
call fcn.0048ce30
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
jmp 0x4bc5f8
fild qword [esp + 0xf0]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fcom qword [edi]
fnstsw ax
test ah, 0x41
jne 0x4bc44b
mov eax, dword [esp + 0x30]
fstp st(0)
test al, 1
je 0x4bc461
dec eax
jmp 0x4bc45d
fcomp qword [edi]
fnstsw ax
test ah, 5
jp 0x4bc461
mov eax, dword [esp + 0x30]
test al, 1
jne 0x4bc461
inc eax
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0xf0]
lea eax, [esp + 0x6c]
push eax
push 0
push edx
push edi
push 0
push dword [esi + 0x28]
call fcn.0048cfe0
mov edx, eax
mov dword [esi + 0x40], edi
mov eax, dword [esp + 0x10c]
add esp, 0x18
mov dword [esp + 0x2c], edx
mov dword [esi + 0x44], eax
test edx, edx
jne 0x4bcb76
jmp 0x4bc537
mov eax, dword [esi + 0x28]
test byte [eax + 3], 2
je 0x4bc4b0
mov edi, 1
mov dword [esp + 0x34], edi
mov eax, dword [esi + 0x2c]
test dl, 1
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x118], eax
mov byte [esp + 0x126], 0
mov ax, word [ecx + 0x10]
mov word [esp + 0x120], ax
sete al
lea eax, [eax*2 - 1]
mov byte [esp + 0x122], al
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x6c]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x128]
push eax
push dword [esi + 0x28]
call fcn.0048cfe0
mov edx, eax
add esp, 0x18
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
test edi, edi
je 0x4bc537
cmp byte [esp + 0x126], al
je 0x4bc5f8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
cmp eax, 0x18
jl 0x4bc5df
test ecx, ecx
js 0x4bc580
jne 0x4bc553
cmp eax, 0x19
je 0x4bc580
mov dword [esp + 0x6c], 0
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
je 0x4b9d37
add ecx, 0x14
add ecx, 0x14
jmp 0x4b9914
push 0
push dword [esi + 0x28]
mov dword [esp + 0x74], 0
call fcn.0048d5c0
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
je 0x4bc55b
cmp edx, 0x65
jne 0x4bcb76
mov dword [esp + 0x6c], 1
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x58]
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x28]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x24]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x4b9914
test ecx, ecx
jg 0x4bc604
jne 0x4bc5ea
cmp eax, 0x16
je 0x4bc604
mov eax, dword [esi + 0x28]
xor ecx, ecx
cmp byte [eax], cl
setne cl
mov dword [esp + 0x6c], ecx
cmp dword [esp + 0x6c], 0
jne 0x4bc5b8
jmp 0x4bc55b
push 0
push dword [esi + 0x28]
mov dword [esp + 0x74], 0
call fcn.0048ddf0
jmp 0x4bc592
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
shl eax, 3
xor eax, dword [ecx + 8]
and eax, 8
xor dword [ecx + 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
cmp dword [eax + ecx*4], 0
je case.0x4b9936.11
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
test byte [eax + 8], 8
jne 0x4b9b23
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov edi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], edi
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
jle 0x4bc6da
mov eax, dword [edi + 0x2c]
lea edi, [esp + 0x1f8]
mov dword [esp + 0x1f8], eax
mov ax, word [ecx + 0x10]
mov word [esp + 0x200], ax
xor eax, eax
mov dword [esp + 0x1fc], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
jmp 0x4bc729
mov eax, 0x4000
test word [esi + 8], ax
je 0x4bc6f6
push esi
call fcn.004c16b0
add esp, 4
test eax, eax
jne 0x4bf2ce
push dword [edi + 0x2c]
call fcn.004b8d20
mov edi, eax
add esp, 4
mov dword [esp + 0x5c], edi
test edi, edi
je 0x4bf2ce
push edi
push dword [esi + 0x10]
push dword [esi + 0xc]
mov esi, dword [esp + 0x40]
push dword [esi + 0x2c]
call fcn.004c2ee0
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov byte [edi + 0xa], 0
cmp byte [ecx], 0x1c
mov dword [esp + 0x34], 0
jne 0x4bc767
movzx edx, word [edi + 8]
xor ecx, ecx
test edx, edx
jle 0x4bc767
mov eax, dword [edi + 4]
add eax, 8
lea ebx, [ebx]
test byte [eax], 1
jne 0x4bc75f
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x4bc750
jmp 0x4bc767
mov dword [esp + 0x34], 1
lea eax, [esp + 0x104]
push eax
push 0
push 0
push 0
push edi
push dword [esi + 0x28]
call fcn.0048cfe0
mov edx, eax
add esp, 0x18
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], edx
test eax, eax
je 0x4bc79d
push eax
push ebx
call fcn.00491cd0
mov edx, dword [esp + 0x34]
add esp, 8
test edx, edx
jne 0x4bcb76
mov eax, dword [esp + 0x104]
xor ecx, ecx
mov edi, dword [esp + 0x20]
test eax, eax
mov dword [esi + 0x20], eax
mov al, 1
sete cl
mov byte [esi + 3], dl
sub al, cl
mov dword [esi + 0x1c], edx
mov byte [esi + 2], al
cmp byte [edi], 0x1e
jne 0x4bc7e9
test ecx, ecx
mov ecx, edi
jne 0x4bc5bc
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
cmp dword [esp + 0x34], 0
jne 0x4bc5b8
test ecx, ecx
mov ecx, dword [esp + 0x20]
je 0x4bc5bc
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x24
lea esi, [esi + eax*8]
jne 0x4bc893
mov ecx, 0xa
lea edi, [esp + 0x230]
rep movsd dword es:[edi], dword [esi]
mov ax, word [esp + 0x238]
test al, 4
jne 0x4bc87d
test al, 8
jne 0x4bc85d
test al, 2
je 0x4bc875
lea eax, [esp + 0x230]
push 1
push eax
call fcn.004516d0
add esp, 8
jmp 0x4bc86d
lea eax, [esp + 0x230]
push eax
call fcn.004c08d0
add esp, 4
mov ax, word [esp + 0x238]
test al, 4
je 0x4bc5b8
mov edi, dword [esp + 0x230]
mov edx, dword [esp + 0x234]
jmp 0x4bc8a4
mov ecx, dword [esp + 0x20]
jmp 0x4bc897
mov esi, dword [esp + 0x28]
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov edi, dword [esi + eax*8]
mov edx, dword [esi + eax*8 + 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0xcc], 0
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
lea eax, [esp + 0xcc]
push eax
push 0
push edx
push edi
push 0
push dword [esi + 0x28]
call fcn.0048cfe0
mov edx, eax
mov dword [esi + 0x40], edi
mov eax, dword [esp + 0x4c]
add esp, 0x18
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x2c], edx
mov word [esi + 2], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], eax
test eax, eax
je 0x4bbcc0
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 8], 0
jne 0x4bc5bc
push 0x15dc7
call fcn.004906b0
add esp, 4
jmp 0x4bbcba
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x60]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push dword [esp + 0x20]
xor esi, esi
xor edi, edi
push dword [ebp + 8]
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], esi
mov dword [esp + 0xa4], esi
call fcn.0047b8a0
mov dword [esp + 0x58], eax
add esp, 8
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x30], eax
test byte [eax + 8], 2
jne 0x4bca38
lea ecx, [esp + 0x9c]
push ecx
push dword [eax + 0x28]
call fcn.0048ce30
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
cmp dword [esp + 0x9c], esi
je 0x4bc9ea
lea edi, [esi + 1]
jmp 0x4bca2a
mov eax, dword [esp + 0x30]
push dword [eax + 0x28]
call fcn.0048c7b0
mov esi, edx
add esp, 4
mov dword [esp + 0x8c], esi
mov edi, eax
mov dword [esp + 0x88], edi
cmp esi, 0x7fffffff
jl 0x4bca24
jg 0x4bca1a
cmp edi, 0xffffffff
jb 0x4bca24
mov eax, dword [esp + 0x30]
or dword [eax + 8], 2
jmp 0x4bca38
add edi, 1
adc esi, 0
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], edi
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4bcade
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x4bca74
mov eax, dword [edx + 4]
test eax, eax
je 0x4bca69
jmp 0x4bca60
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x4bca60
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
jmp 0x4bca7e
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x28]
lea eax, [ecx + eax*8]
push eax
mov dword [esp + 0x38], eax
call fcn.004c1a40
mov eax, dword [esp + 0x38]
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x4bcaa5
cmp edx, 0x7fffffff
je 0x4bcb6d
mov ebx, dword [esp + 0x30]
test byte [ebx + 8], 2
mov ebx, dword [esp + 0x4c]
jne 0x4bcb6d
add ecx, 1
adc edx, 0
cmp esi, edx
jg 0x4bcad9
jl 0x4bcac7
cmp edi, ecx
jae 0x4bcad9
mov edi, ecx
mov esi, edx
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], esi
mov dword [eax], edi
mov dword [eax + 4], esi
mov eax, dword [esp + 0x30]
test byte [eax + 8], 2
je 0x4bcbea
mov dword [esp + 0x34], 0
lea eax, [esp + 0x88]
push eax
push 8
call fcn.00444350
mov esi, dword [esp + 0x94]
lea eax, [esp + 0xa4]
mov edi, dword [esp + 0x90]
and esi, 0x3fffffff
push eax
mov eax, dword [esp + 0x3c]
add edi, 1
push 0
adc esi, 0
mov dword [esp + 0x98], edi
push esi
push edi
push 0
push dword [eax + 0x28]
mov dword [esp + 0xac], esi
call fcn.0048cfe0
mov edx, eax
add esp, 0x20
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
cmp dword [esp + 0x9c], eax
jne 0x4bcbe6
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, 0x64
jl 0x4bcaf4
mov edx, 0xd
mov dword [esp + 0x2c], edx
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x20]
cmp byte [ebx + 0x51], 0
je 0x4bcb8c
mov edx, 7
mov dword [esp + 0x2c], edx
cmp dword [edi + 0x7c], 0
jne 0x4bf5bb
cmp edx, 0xc0a
je 0x4bf5bb
mov eax, edx
mov ecx, str.unknown_error
sub eax, 0x64
je 0x4bf5a3
dec eax
je 0x4bf59c
sub eax, 0x19f
je 0x4bf595
movzx eax, dl
cmp eax, 0x1c
ja 0x4bf5a8
mov eax, dword [eax*4 + 0x4e9158]
test eax, eax
je 0x4bf5a8
mov ecx, eax
jmp 0x4bf5a8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov byte [eax + 3], 0
add ecx, 0x14
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x50]
mov dword [eax], edi
mov edi, dword [ebp + 8]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x60]
mov edi, dword [esp + 0x28]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 1], 0xfa
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov edi, dword [edi + eax*8]
mov dword [esp + 0x210], edi
mov eax, dword [ebx + eax*8 + 4]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x214], eax
jne 0x4bcc87
cmp dword [ebx + 0xf0], 0
je 0x4bcc87
movsx ecx, byte [esi + 1]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov ecx, dword [eax + ecx*8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
jmp 0x4bcc97
mov dword [esp + 0x34], 0
mov dword [esp + 0x5c], 0
test byte [ecx + 2], 1
je 0x4bcca7
mov ebx, dword [ebp + 8]
inc dword [ebx + 0x2c]
mov ebx, dword [esp + 0x4c]
test byte [ecx + 2], 0x20
je 0x4bccb3
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], eax
mov edi, dword [esp + 0x28]
movzx ecx, word [ecx + 2]
mov eax, dword [edi + edx*8 + 0x10]
mov dword [esp + 0x218], eax
mov eax, dword [edi + edx*8 + 0xc]
mov dword [esp + 0x224], eax
test cl, 0x10
je 0x4bccdb
mov edi, dword [esi + 0x20]
jmp 0x4bccdd
xor edi, edi
mov eax, dword [esp + 0x28]
mov ebx, 0x4000
test word [eax + edx*8 + 8], bx
mov ebx, dword [esp + 0x4c]
je 0x4bccfd
mov eax, dword [eax + edx*8]
mov dword [esp + 0x228], eax
jmp 0x4bcd08
mov dword [esp + 0x228], 0
push edi
and ecx, 0xa
mov dword [esp + 0x20c], 0
push ecx
lea eax, [esp + 0x210]
push eax
push dword [esi + 0x28]
call fcn.0048c3c0
mov edx, eax
mov byte [esi + 3], 0
add esp, 0x10
mov dword [esp + 0x2c], edx
mov dword [esi + 0x1c], 0
test edx, edx
jne 0x4bcb76
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b9d28
push dword [esp + 0x214]
push dword [esp + 0x214]
push dword [eax]
mov eax, dword [esp + 0x2c]
push dword [esp + 0x68]
mov al, byte [eax + 2]
and al, 4
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
add eax, 0x12
push eax
push dword [ebx + 0xec]
mov eax, dword [ebx + 0xf0]
call eax
mov ecx, dword [esp + 0x38]
add esp, 0x18
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov edx, dword [esp + 0x20]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x60]
mov esi, dword [eax + ecx*4]
jne 0x4bcdfc
cmp dword [ebx + 0xf0], 0
je 0x4bcdfc
movsx ecx, byte [esi + 1]
mov eax, dword [ebx + 0x10]
add ecx, ecx
test byte [edx + 2], 2
mov edi, dword [edx + 0x10]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x34], eax
je 0x4bce06
cmp byte [esi + 4], 0
je 0x4bce06
push dword [esi + 0x28]
call fcn.0048c7b0
mov dword [esi + 0x44], edx
add esp, 4
mov edx, dword [esp + 0x20]
mov dword [esi + 0x40], eax
jmp 0x4bce06
mov dword [esp + 0x34], 0
xor edi, edi
movzx eax, byte [edx + 2]
push eax
push dword [esi + 0x28]
call fcn.0048bcd0
mov edx, eax
mov dword [esi + 0x1c], 0
add esp, 8
mov dword [esp + 0x2c], edx
mov dword [esi + 0x20], 0
test edx, edx
jne 0x4bcb76
test byte [esp + 0x50], 1
je 0x4b9d28
mov eax, dword [ebp + 8]
inc dword [eax + 0x2c]
mov eax, dword [ebx + 0xf0]
test eax, eax
je 0x4b9d28
test byte [edi + 0x24], 0x80
jne 0x4b9d28
push dword [esi + 0x44]
push dword [esi + 0x40]
push dword [edi]
push dword [esp + 0x40]
push 9
push dword [ebx + 0xec]
call eax
mov ecx, dword [esp + 0x38]
add esp, 0x18
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov eax, dword [edi + 0x2c]
add dword [ebx + 0x68], eax
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x64], eax
add ecx, 0x14
mov eax, dword [esp + 0x24]
mov dword [edi + 0x2c], 0
jmp 0x4b9914
mov edx, dword [esp + 0x20]
lea ebx, [esp + 0xd8]
mov eax, dword [edi + 0x60]
push ebx
mov dword [esp + 0xdc], 0
mov ecx, dword [edx + 4]
push dword [edx + 0x10]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
push ecx
call fcn.004c35b0
mov ebx, dword [esp + 0x5c]
mov edx, eax
add esp, 0x10
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
cmp dword [esp + 0xd8], 0
mov ecx, dword [esp + 0x20]
jne 0x4bc5bc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edx, [esi + eax*8]
mov eax, dword [edi + 0x60]
push edx
push dword [eax + ecx*4]
call fcn.004c3b20
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
add ecx, 0x14
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov ecx, dword [edi + 0x60]
mov esi, eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + edx*4]
mov edi, dword [ecx + 0x28]
push edi
call fcn.00474140
mov eax, dword [edi + 0x2c]
add esp, 0xc
cmp eax, dword [ebx + 0x6c]
ja 0x4bf360
push esi
push eax
push 0
push edi
call fcn.004c17c0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0xc], eax
jne 0x4b9d2c
mov eax, 0x1000
test word [esi + 8], ax
je 0x4b9d2c
push esi
call fcn.004c1aa0
mov edi, dword [ebp + 8]
add esp, 4
test eax, eax
jne 0x4bf2d1
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov ecx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [ebp + 8]
add esp, 8
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x60]
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
je 0x4bd033
mov ecx, dword [esp + 0x20]
mov eax, 1
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov word [edi + 8], ax
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
cmp byte [esi + 3], 0
je 0x4bd070
mov ecx, dword [esi + 0x40]
mov dword [esp + 0xb8], ecx
mov eax, dword [esi + 0x44]
mov esi, dword [esp + 0x28]
mov dword [esp + 0xbc], eax
mov dword [edi], ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x20]
mov dword [edi + 4], eax
add ecx, 0x14
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
cmp byte [esi], 2
jne 0x4bd0d2
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0xb8]
push edx
push ecx
mov esi, dword [ecx]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
push esi
push dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x3c], ecx
call fcn.004c4d50
mov edx, dword [esp + 0x3c]
add esp, 0x10
test edx, edx
jne 0x4bcb76
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp + 0x28]
mov dword [edi], ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x20]
mov dword [edi + 4], eax
add ecx, 0x14
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push esi
call fcn.004b9560
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
cmp byte [esi + 2], al
je 0x4bd10e
mov ecx, dword [esp + 0x20]
mov eax, 1
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov word [edi + 8], ax
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push dword [esi + 0x28]
call fcn.0048c7b0
mov esi, dword [esp + 0x2c]
mov ecx, eax
mov dword [esp + 0xbc], ecx
add esp, 4
mov dword [esp + 0xbc], edx
mov dword [edi], ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x20]
mov dword [edi + 4], eax
add ecx, 0x14
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0
mov byte [eax + 2], 1
mov dword [eax + 0x1c], 0
jne 0x4b9b23
push dword [eax + 0x28]
call fcn.0048b410
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
cmp byte [esp + 0x43], 0x81
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov dword [esp + 0xd0], 0
mov ecx, dword [ecx + 4]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x28]
jne 0x4bd1ba
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je 0x4b9d99
lea ecx, [esp + 0xd0]
push ecx
push eax
call fcn.0048ce30
mov edx, eax
mov byte [esi + 3], 0
mov eax, dword [esp + 0xd8]
add esp, 8
mov dword [esp + 0x2c], edx
mov byte [esi + 2], al
mov dword [esi + 0x1c], 0
test edx, edx
jne 0x4bcb79
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 8], edx
jle 0x4b9a55
test eax, eax
jne 0x4bc5bc
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x28]
lea eax, [esp + 0xc8]
push eax
push esi
call fcn.0048c130
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
cmp dword [esp + 0xc8], eax
jne 0x4bc5b8
push esi
call fcn.0048dfc0
add esp, 4
test edx, edx
jl 0x4b9d99
jg 0x4bd26a
test eax, eax
jb 0x4b9d99
push edx
push eax
call fcn.004a71c0
mov ecx, dword [esp + 0x28]
add esp, 8
cwde
cmp eax, dword [ecx + 0xc]
jge 0x4b9a55
mov dword [esp + 0xc8], 1
jmp 0x4bc5bc
inc dword [edi + 0xac]
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov dword [esp + 0xa8], 1
mov ecx, dword [ecx + 4]
mov esi, dword [eax + ecx*4]
lea eax, [esp + 0xa8]
push eax
cmp byte [esi], 1
jne 0x4bd2c5
push esi
call fcn.004c3ab0
jmp 0x4bd2d8
push dword [esi + 0x28]
call fcn.0048c130
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x20]
mov byte [esi + 2], al
test eax, eax
jne 0x4bc5bc
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov esi, dword [eax + ecx*4]
push esi
push ebx
call fcn.004c3850
jmp 0x4bd33d
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
push dword [edx + 0xc]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx + 0x10]
push dword [esi + 0x28]
call eax
mov edx, eax
mov dword [esi + 0x1c], 0
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bd368
mov byte [esi + 2], al
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 2]
inc dword [edi + eax*4 + 0xa4]
jmp 0x4bebba
cmp edx, 0x65
jne 0x4bcb79
mov dword [esp + 0x2c], 0
mov byte [esi + 2], 1
jmp 0x4bdb65
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov edi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
je 0x4bd3a8
mov eax, dword [ebp + 8]
inc dword [eax + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x4bd3ce
push esi
call fcn.004c16b0
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
mov ecx, dword [esp + 0x20]
cmp byte [ecx], 0x82
jne 0x4bd3e3
push esi
push edi
call fcn.004c3bd0
mov esi, dword [esp + 0x30]
add esp, 8
jmp 0x4bd44d
mov eax, dword [esi + 0xc]
cdq
mov dword [esp + 0x260], eax
mov dword [esp + 0x264], edx
mov eax, dword [esi + 0x10]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x258], eax
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [esp + 0x26c], eax
mov ax, word [ecx + 0x10]
mov word [esp + 0x270], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x4bd42c
mov ecx, dword [edi + 0x20]
jmp 0x4bd42e
xor ecx, ecx
push ecx
and eax, 0xa
push eax
lea eax, [esp + 0x260]
push eax
push dword [edi + 0x28]
call fcn.0048c3c0
add esp, 0x10
mov dword [edi + 0x1c], 0
mov edi, dword [ebp + 8]
mov edx, eax
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
mov dword [esp + 0x1d8], eax
mov ax, word [edx + 0xc]
mov word [esp + 0x1e0], ax
mov eax, dword [edx + 8]
mov byte [esp + 0x1e2], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x1dc], eax
lea eax, [esp + 0x110]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x1e8]
push eax
push edi
call fcn.0048cfe0
mov edx, eax
add esp, 0x18
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
cmp dword [esp + 0x110], eax
jne 0x4bd4ff
push 4
push edi
call fcn.0048bcd0
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
add ecx, 0x14
mov eax, dword [esp + 0x24]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov esi, dword [esp + 0x28]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov esi, dword [eax + ecx*4]
push esi
call fcn.004b9560
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
cmp byte [esi + 2], al
jne 0x4bd5ff
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb0]
push eax
push dword [esi + 0x28]
push ebx
call fcn.004c0720
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
mov eax, dword [esp + 0x20]
cmp byte [eax], 0x85
jne 0x4bd5ce
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0xb4]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x20]
mov word [ecx + 2], 0x100
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x24], esi
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
jmp 0x4b9914
push eax
push edi
call fcn.0047b8a0
mov ecx, dword [esp + 0xb8]
add esp, 8
mov esi, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.004c1d40
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 3], 0
je 0x4b9b23
push eax
call fcn.004bff60
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
cmp byte [esp + 0x43], 0x28
mov dword [esp + 0x98], 0
mov ecx, dword [edx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x1e8], eax
mov ax, word [edx + 0x10]
mov word [esp + 0x1f0], ax
sbb al, al
mov byte [esp + 0x1f2], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [esp + 0x1ec], eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x1ec]
push eax
push ecx
push ebx
call fcn.004c0650
mov edx, eax
add esp, 0x10
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
test byte [eax], 1
mov eax, dword [esp + 0x98]
jne 0x4bd6e7
neg eax
jmp 0x4bd6e8
inc eax
mov dword [esp + 0x98], eax
test edx, edx
jne 0x4bcb79
mov ecx, dword [esp + 0x20]
test eax, eax
jg 0x4bc5bc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov esi, eax
add esp, 8
mov eax, 1
mov word [esi + 8], ax
mov ecx, dword [ebx + 0xc0]
inc ecx
cmp dword [ebx + 0xb4], ecx
jg 0x4bf214
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xc4]
push edx
mov dword [esp + 0xc8], 0
mov eax, dword [ecx + 0xc]
push dword [ecx + 4]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.0048c060
mov ecx, dword [esp + 0xd0]
add esp, 0xc
mov dword [esp + 0x2c], eax
mov eax, 4
mov word [esi + 8], ax
mov eax, ecx
cdq
mov dword [esi + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esi], eax
test edx, edx
jne 0x4bcb79
test ecx, ecx
je 0x4b9d99
mov eax, dword [esp + 0x20]
push dword [eax + 4]
push ecx
push dword [esp + 0x3c]
push ebx
call fcn.004af4e0
mov al, byte [esp + 0x44]
add esp, 0x10
mov ecx, dword [esp + 0x20]
inc al
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov byte [esp + 0x73], al
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xd4]
mov dword [esp + 0xd4], 0
mov eax, dword [ecx + 0xc]
neg eax
sbb eax, eax
and eax, edx
push eax
push dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov eax, dword [ebx + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.0048b430
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, eax
mov dword [esp + 0x2c], edx
cmp dword [ecx + 0xc], 0
je 0x4bd83c
mov eax, dword [esp + 0xd4]
add dword [edi + 0x2c], eax
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jle 0x4bd838
cdq
lea ecx, [ecx + ecx*4]
add dword [esi + ecx*8], eax
adc dword [esi + ecx*8 + 4], edx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
test edx, edx
jne 0x4bcb79
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 1
jne 0x4bd87e
push dword [eax + 0x28]
push ebx
call fcn.004c38e0
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov eax, dword [eax + 0x28]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.0048b430
jmp 0x4bc292
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov esi, eax
mov dword [esp + 0xe4], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
push dword [eax + 0xc]
shl ecx, 4
lea eax, [esp + 0xe8]
add ecx, dword [ebx + 0x10]
push eax
push dword [ecx + 4]
call fcn.0048bb30
mov edx, eax
add esp, 0x14
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0x20]
cdq
add ecx, 0x14
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 4], edx
mov esi, dword [esp + 0x28]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
inc byte [ebx + 0x5a]
push 0
push 0
push 0
push dword [ecx + 0x10]
push ebx
call fcn.0043df50
add esp, 0x14
dec byte [ebx + 0x5a]
jmp 0x4bc295
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x4bd965
mov eax, dword [ebx + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.004b0400
and dword [ebx + 0x18], 0xffffffef
lea eax, [edi + 0x7c]
push 1
push eax
push esi
push ebx
call fcn.004a4290
or dword [ebx + 0x18], 1
mov edx, eax
add esp, 0x14
mov dword [esp + 0x2c], edx
and dword [edi + 0x98], 0xfffffffc
jmp 0x4bda2a
lea eax, [edi + 0x7c]
mov dword [esp + 0x178], esi
mov dword [esp + 0x174], eax
add esi, esi
mov eax, dword [ebx + 0x10]
push ecx
push str.sqlite_master
mov dword [esp + 0x178], ebx
mov dword [esp + 0x188], 0
push dword [eax + esi*8]
push str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
push ebx
call fcn.004a73d0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4bf229
push 0
lea eax, [esp + 0x174]
mov byte [ebx + 0xa5], 1
push eax
push fcn.004a40a0
push esi
push ebx
mov dword [esp + 0x190], 0
mov dword [esp + 0x198], 0
call fcn.0043df50
add esp, 0x14
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4bda15
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4bda15
cmp dword [esp + 0x184], eax
jne 0x4bda15
push 0x16360
call fcn.004906b0
add esp, 4
mov dword [esp + 0x2c], eax
push esi
push ebx
call fcn.00491cd0
mov edx, dword [esp + 0x34]
add esp, 8
mov byte [ebx + 0xa5], 0
test edx, edx
jne 0x4bf231
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
push dword [ecx + 4]
push ebx
call fcn.00489170
add esp, 8
jmp 0x4bc295
mov ecx, dword [esp + 0x20]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.004b5610
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.004b5570
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.004b5680
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
lea esi, [eax + eax*4]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
lea eax, [esp + 0x114]
push eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + esi*8]
inc eax
push eax
push dword [edx + 8]
lea eax, [ecx + 4]
movzx ecx, word [edx + 2]
push eax
mov eax, dword [ebx + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
push ebx
call fcn.0048c7d0
push edi
mov dword [esp + 0x6c], eax
call fcn.004c1d40
mov eax, dword [esp + 0x130]
add esp, 0x1c
test eax, eax
je 0x4bdb53
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4bf2ce
mov ebx, dword [esp + 0x28]
dec eax
push fcn.00443690
cdq
push 1
sub dword [ebx + esi*8], eax
mov eax, ebx
push 0xffffffffffffffff
push ecx
push edi
sbb dword [eax + esi*8 + 4], edx
call fcn.004c1e00
mov ebx, dword [esp + 0x60]
add esp, 0x14
movzx eax, byte [esp + 0x60]
push eax
push edi
call fcn.004b8e00
add esp, 8
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
cmp dword [ebx + 0x110], 0
jne 0x4bf561
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x24]
cmp eax, edx
jb 0x4b9d37
lea ebx, [ebx]
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x4b9b23
add edx, dword [ebx + 0x160]
push dword [ebx + 0x15c]
mov dword [esp + 0x7c], edx
call eax
add esp, 4
test eax, eax
jne 0x4bf341
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x24]
cmp eax, edx
jae 0x4bdb90
mov ecx, dword [esp + 0x20]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x10
lea esi, [esi + eax*8]
mov eax, dword [ecx + 8]
lea edi, [eax + eax*4]
jne 0x4bdbfe
push esi
call fcn.004c1db0
add esp, 4
test eax, eax
jne 0x4bf2ce
mov eax, dword [esp + 0x28]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
push dword [esi + 0x10]
call fcn.004af6f0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x10
lea esi, [esi + eax*8]
je 0x4bdc83
lea eax, [esp + 0x160]
push eax
push dword [esi + 0x10]
call fcn.004af780
add esp, 8
test eax, eax
je 0x4bdc83
mov eax, dword [esp + 0x20]
push dword [esp + 0x164]
mov esi, dword [esp + 0x2c]
push dword [esp + 0x164]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.004c1d00
add esp, 0xc
jmp 0x4bdb69
push esi
call fcn.004c1d40
add esp, 4
jmp 0x4bebba
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x10
lea esi, [esi + eax*8]
mov eax, dword [ecx + 0xc]
lea edi, [eax + eax*4]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x34], eax
jne 0x4bdcc7
push esi
call fcn.004c1db0
add esp, 4
test eax, eax
jne 0x4bf2ce
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4bdcf0
mov ecx, dword [esp + 0x28]
push dword [ecx + edi*8 + 4]
push dword [ecx + edi*8]
push eax
push dword [esi + 0x10]
call fcn.004af7e0
add esp, 0x10
test eax, eax
jne 0x4bc5b8
mov eax, dword [esp + 0x34]
test eax, eax
js 0x4b9d28
jmp 0x4bdbfe
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], esi
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
cmp word [eax + 2], 0
je 0x4bdd44
mov eax, dword [edi + 0xc8]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x4bdd40
nop
cmp dword [eax + 0x1c], ecx
je 0x4b9d99
mov eax, dword [eax + 4]
test eax, eax
jne 0x4bdd30
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0xd0]
cmp eax, dword [ebx + 0x94]
jge 0x4bf24c
test byte [ecx + 8], 0x10
jne 0x4bdf04
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 8]
add esi, ecx
test ecx, ecx
jne 0x4bdd6d
inc esi
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx*4]
mov dword [esp + 0x50], eax
cdq
push edx
push eax
push ebx
call fcn.00491e80
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4bf2ce
push dword [esp + 0x38]
call fcn.004c1c70
mov ecx, dword [esp + 0x3c]
mov eax, 0x410
mov edx, dword [esp + 0x24]
add esp, 4
sub edx, dword [esp + 0x58]
mov word [ecx + 8], ax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x24], 0x4c0150
mov ecx, dword [esp + 0x48]
mov dword [edi], eax
mov dword [edi + 0x3c], esi
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x40], eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
mov dword [edi + 0x30], eax
mov eax, dword [edx + 0x58]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x38], eax
mov eax, dword [edx + 0x60]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x2c], eax
mov eax, dword [edx + 0x68]
mov dword [edi + 8], eax
mov eax, dword [edx + 0x6c]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
lea eax, [edi + 0x50]
cmp eax, ecx
je 0x4bde4e
mov esi, pe_nt_image_headers32
mov word [eax + 8], si
mov dword [eax + 0x20], ebx
add eax, 0x28
cmp eax, ecx
jne 0x4bde40
mov esi, dword [esp + 0x48]
inc dword [edx + 0xd0]
lea ecx, [edi + 0x50]
mov eax, dword [edx + 0xc8]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [edi + 0x44], eax
mov eax, dword [edx]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x64]
mov dword [edi + 0x48], eax
mov eax, dword [edx + 0xdc]
mov dword [edi + 0x28], eax
mov dword [edx + 0x58], ecx
mov dword [edx + 0xdc], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0xc8], edi
mov eax, dword [edi + 0x3c]
mov dword [edx + 0x18], eax
movzx eax, word [edi + 0x40]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x18]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [edx + 0x60], ecx
mov eax, dword [esi + 0xc]
lea ecx, [ecx + eax*4]
mov dword [edi + 0x18], ecx
mov eax, dword [esi + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call sub.MSVCRT.dll_memset
mov edi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi]
mov dword [esp + 0x58], ecx
mov dword [edi + 0x68], ecx
add ecx, 0xffffffec
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x28]
mov dword [edi + 0x6c], eax
mov dword [esp + 0x20], ecx
jmp 0x4bdb6d
mov edi, dword [ecx + 0x10]
mov edx, dword [ebp + 8]
jmp 0x4bde52
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov esi, eax
mov eax, dword [edi + 0xc8]
push 0x1000
mov ecx, dword [eax + 0x30]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [ecx + edx*4 + 4]
mov edx, dword [esp + 0x2c]
add ecx, dword [edx + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
push eax
push esi
call fcn.004c2090
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov eax, dword [ebx + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [esp + 0x20]
je 0x4bdf92
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x20]
cdq
add dword [ebx + 0x1f0], eax
mov eax, dword [esp + 0x24]
adc dword [ebx + 0x1f4], edx
add ecx, 0x14
jmp 0x4b9914
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x20]
cdq
je 0x4bdfb8
add dword [ebx + 0x1e8], eax
mov eax, dword [esp + 0x24]
adc dword [ebx + 0x1ec], edx
add ecx, 0x14
jmp 0x4b9914
add dword [edi + 0x40], eax
mov eax, dword [esp + 0x24]
adc dword [edi + 0x44], edx
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 4], 0
je 0x4be004
mov eax, dword [ebx + 0x1e8]
or eax, dword [ebx + 0x1ec]
jne 0x4b9d33
mov eax, dword [ebx + 0x1f0]
or eax, dword [ebx + 0x1f4]
je 0x4bc5bc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov eax, dword [edi + 0x40]
or eax, dword [edi + 0x44]
jmp 0x4bdfe0
mov edx, dword [edi + 0xc8]
test edx, edx
je 0x4be03b
mov eax, dword [edx + 4]
test eax, eax
je 0x4be029
lea ecx, [ecx]
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x4be020
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*8]
jmp 0x4be048
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
push edi
call fcn.004c1a40
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
call fcn.004c1a40
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x4b9d28
jl 0x4be07c
cmp dword [edi], eax
jae 0x4b9d28
mov esi, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [edi], eax
add ecx, 0x14
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x28]
mov edi, dword [eax + esi*8 + 4]
mov ecx, dword [eax + esi*8]
test edi, edi
jl 0x4b9d28
jg 0x4be0bf
test ecx, ecx
je 0x4b9d28
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
cdq
sub ecx, eax
mov eax, dword [esp + 0x28]
sbb edi, edx
mov dword [eax + esi*8], ecx
mov dword [eax + esi*8 + 4], edi
jmp 0x4bc5b8
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov eax, dword [ecx + 4]
lea esi, [eax + eax*4]
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov dword [esp + 0x58], eax
call fcn.0047b8a0
mov ecx, dword [esp + 0x30]
mov edi, eax
add esp, 8
mov eax, dword [ecx + esi*8]
mov ecx, dword [ecx + esi*8 + 4]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
test ecx, ecx
jl 0x4be177
jg 0x4be11e
test eax, eax
je 0x4be177
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x28]
mov eax, dword [esi + ecx*8]
mov ecx, dword [esi + ecx*8 + 4]
test ecx, ecx
jl 0x4be137
jg 0x4be13b
test eax, eax
jne 0x4be13b
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.004882e0
add esp, 0xc
test eax, eax
jne 0x4be17b
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x20]
mov dword [edi], eax
add ecx, 0x14
mov eax, dword [esp + 0xec]
mov dword [edi + 4], eax
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov edi, dword [ebp + 8]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + esi*8]
mov edx, dword [eax + esi*8 + 4]
mov eax, ecx
or eax, edx
je 0x4b9d99
test edx, edx
jl 0x4bc5b8
jg 0x4be1cc
test ecx, ecx
je 0x4bc5b8
mov eax, dword [esp + 0x28]
sub ecx, 1
sbb edx, 0
mov dword [eax + esi*8], ecx
mov dword [eax + esi*8 + 4], edx
jmp 0x4bc5b8
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + ecx*8]
cmp edx, 0x80000000
jl 0x4be20e
jg 0x4be201
test eax, eax
je 0x4be20e
sub eax, 1
mov dword [esi + ecx*8], eax
sbb edx, 0
mov dword [esi + ecx*8 + 4], edx
mov eax, dword [esi + ecx*8]
or eax, dword [esi + ecx*8 + 4]
mov ecx, dword [esp + 0x20]
je 0x4bc5bc
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
push 0
movzx eax, word [ecx + 2]
mov dword [esp + 0x38], eax
lea eax, [eax*4 + 0x44]
push eax
push ebx
call fcn.00491d60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4bf2d1
mov eax, dword [esp + 0x34]
add eax, 7
mov dword [esi + 8], 0
lea ecx, [esi + eax*4]
mov eax, 1
mov dword [esi], ecx
mov word [ecx + 8], ax
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x18], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x10]
sub ecx, dword [esp + 0x58]
mov dword [esi + 4], eax
mov eax, 0x66666667
imul ecx
mov dword [esi + 0xc], edi
sar edx, 3
mov eax, edx
mov byte [esi + 0x18], 0
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x14], 0
mov edx, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x34]
mov byte [esi + 0x19], al
mov word [edx], 0xf09b
mov dword [edx + 0x10], esi
jmp 0x4be2c3
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x28]
mov esi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov dword [esp + 0x50], edi
cmp dword [esi + 8], edi
je 0x4be314
movzx ecx, byte [esi + 0x19]
dec ecx
mov dword [esi + 8], edi
js 0x4be314
mov ebx, dword [esp + 0x20]
lea edx, [ecx + 7]
mov edi, dword [esp + 0x28]
lea edx, [esi + edx*4]
mov eax, dword [ebx + 8]
lea edx, [edx - 4]
add eax, ecx
dec ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx + 4], eax
jns 0x4be2f4
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
inc dword [edi + 0xc]
lea eax, [esi + 0x1c]
cmp dword [edx + 4], 0
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
push esi
je 0x4be32f
mov eax, dword [ecx + 0x1c]
jmp 0x4be332
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x4b9d28
jle 0x4be363
push dword [esi]
call fcn.0044f210
push eax
push 0x4ef2e0
push dword [ebp + 8]
call fcn.004b9820
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp byte [esi + 0x18], 0
je 0x4be38f
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 0x10]
test eax, eax
je 0x4be38b
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*4]
push 0
push 1
lea eax, [ecx + eax*8]
push eax
call fcn.004c1d00
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.004c1c70
mov eax, dword [esi]
mov ecx, 1
mov edx, dword [esp + 0x30]
add esp, 4
mov word [eax + 8], cx
mov dword [esi + 0x14], 0
jmp 0x4bbcc0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
push dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4be3f4
mov ecx, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
push esi
call fcn.004c14a0
mov ecx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jmp 0x4be3ff
push esi
call fcn.004c1710
add esp, 8
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x4bf26c
movzx eax, byte [esp + 0x60]
push eax
push esi
call fcn.004b8e00
push esi
call fcn.004c2190
mov edi, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x4bf363
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x100]
mov dword [esp + 0xfc], 0
push eax
push dword [ecx + 8]
mov dword [esp + 0x10c], 0xffffffff
push dword [ecx + 4]
mov dword [esp + 0x10c], 0xffffffff
push ebx
call fcn.0048e950
mov edx, eax
add esp, 0x14
mov dword [esp + 0x2c], edx
test edx, edx
je 0x4be4a9
cmp edx, 5
jne 0x4bcb79
mov dword [esp + 0x2c], 0
mov dword [esp + 0xf8], 1
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
xor esi, esi
jmp 0x4be4c0
mov eax, dword [esp + esi*4 + 0xf8]
cdq
push edx
push eax
push edi
call fcn.004c1d00
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x4be4c0
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
add ecx, 0x14
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov ecx, dword [ebx + 0x10]
add esp, 8
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
add edx, edx
mov eax, dword [ecx + edx*8 + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [eax + 4]
mov edi, dword [ecx]
movzx ecx, byte [edi + 5]
mov dword [esp + 0x30], ecx
cmp esi, 0xffffffff
jne 0x4be52f
mov esi, ecx
cmp byte [edi + 0x10], 3
jae 0x4be54b
mov eax, dword [edi + 0x40]
cmp dword [eax], 0
je 0x4be54d
cmp dword [edi + 0x4c], 0
jl 0x4be54d
jg 0x4be54b
cmp dword [edi + 0x48], 0
jbe 0x4be54d
mov esi, ecx
cmp byte [edi + 0xf], 0
mov eax, 0x4e8f54
jne 0x4be55e
mov eax, dword [edi + 0xa8]
cmp esi, 5
jne 0x4be58c
push eax
call fcn.004b4820
add esp, 4
test eax, eax
je 0x4be57d
push edi
call fcn.004aa420
add esp, 4
test eax, eax
jne 0x4be588
mov eax, dword [esp + 0x30]
mov esi, eax
jmp 0x4be60a
mov ecx, dword [esp + 0x30]
cmp esi, ecx
je 0x4be606
cmp ecx, 5
je 0x4be59a
cmp esi, 5
jne 0x4be606
cmp byte [ebx + 0x4f], 0
je 0x4bf28d
cmp dword [ebx + 0xb4], 1
jg 0x4bf28d
cmp ecx, 5
jne 0x4be5d4
push ebx
push edi
call fcn.004a8c50
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4be614
push esi
push edi
call fcn.004a9df0
add esp, 8
jmp 0x4be5ec
cmp ecx, 4
jne 0x4be5e4
push 2
push edi
call fcn.004a9df0
add esp, 8
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x4be614
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [esp + 0x54]
call fcn.0048e510
add esp, 8
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4be61a
jmp 0x4be618
mov eax, dword [esp + 0x30]
mov esi, eax
push esi
push edi
call fcn.004a9df0
mov esi, dword [esp + 0x7c]
add esp, 8
mov ecx, 0xa02
mov word [esi + 8], cx
cmp eax, 6
jne 0x4be63a
xor eax, eax
jmp 0x4be641
mov eax, dword [eax*4 + 0x4e90b8]
push eax
mov dword [esi + 0x10], eax
call fcn.004b4820
mov dword [esi + 0xc], eax
movzx eax, byte [esp + 0x64]
push eax
push esi
mov byte [esi + 0xa], 1
call fcn.004b8e00
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4bbcc0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4be67c
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
jmp 0x4be67e
xor eax, eax
push eax
push dword [ecx + 4]
lea eax, [edi + 0x7c]
push ebx
push eax
call fcn.004afe90
add esp, 0x10
jmp 0x4bc295
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ecx + 4]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.0048c2b0
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
test edx, edx
je 0x4b9b23
cmp edx, 0x65
jne 0x4bcb79
jmp 0x4bc5b0
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 4], 0
jne 0x4be6ee
push dword [ecx + 8]
push ebx
call fcn.00494080
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
mov eax, dword [ecx + 8]
inc eax
xor eax, dword [edi + 0x98]
and eax, 3
xor dword [edi + 0x98], eax
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0x28]
or byte [eax + 1], 0x40
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0x28]
and byte [eax + 1], 0xbf
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0xc]
mov byte [esp + 0x10c], al
test al, al
jne 0x4be786
mov eax, dword [ebx + 0x20]
and eax, 0x400
mov dword [esp + 0x50], eax
mov eax, 0
jne 0x4b9d33
test eax, eax
jne 0x4b9d33
mov eax, dword [esp + 0x20]
push dword [esp + 0x10c]
mov ecx, dword [eax + 4]
push dword [eax + 8]
mov eax, dword [ebx + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.0048cf10
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
je 0x4b9f64
mov esi, dword [esp + 0x20]
cmp dl, 6
jne 0x4bcb7d
push dword [esi + 0x10]
push str.database_table_is_locked:__s
push edi
call fcn.004b9820
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4bcb7d
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 0x10]
push esi
push ebx
call fcn.004c42c0
add esp, 8
mov edx, eax
mov dword [esp + 0x2c], edx
test esi, esi
je 0x4bbcc3
push dword [esi + 8]
push edi
call fcn.004c4d50
mov edx, dword [esp + 0x34]
add esp, 8
jmp 0x4bbcc3
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1ac], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x1a8], ebx
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
lea eax, [esp + 0x18c]
push eax
call fcn.004c1630
mov dword [esp + 0x34], eax
lea eax, [esp + 0x190]
push eax
call fcn.0044f210
add esp, 0xc
test eax, eax
je 0x4be8ac
lea ecx, [edi + 0x7c]
push ecx
push eax
mov eax, dword [esp + 0x28]
push dword [eax + 4]
push ebx
call fcn.004c4570
add esp, 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x188]
push eax
call fcn.004c1c70
mov edx, dword [esp + 0x30]
add esp, 4
jmp 0x4bc29b
mov ecx, dword [esp + 0x20]
inc dword [ebx + 0xc0]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.004c4650
add esp, 0xc
dec dword [ebx + 0xc0]
jmp 0x4bc295
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa4], 0
mov eax, dword [ecx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x4bf333
mov edi, dword [esi]
test edi, edi
je 0x4bf330
lea eax, [esp + 0xa4]
push eax
mov eax, dword [edi + 0x18]
push esi
call eax
push esi
push dword [ebp + 8]
mov dword [esp + 0x3c], eax
call fcn.004c4d50
mov edx, dword [esp + 0x3c]
add esp, 0x10
test edx, edx
jne 0x4bcb76
mov eax, dword [esp + 0xa4]
push 2
push 0xffffffffffffffff
push edx
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
push dword [ebp + 8]
call fcn.00450370
add esp, 0x14
test eax, eax
je 0x4bf2bf
mov ecx, dword [esp + 0xa4]
mov edi, dword [ebp + 8]
mov dword [eax + 0x28], ecx
inc dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
lea edi, [eax + eax*4]
mov eax, dword [esi + 0x60]
mov esi, dword [esi + 0x5c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x28]
mov edx, dword [ecx + edi*8 + 0x28]
mov dword [esp + 0x74], eax
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + edi*8]
mov dword [esp + 0x50], eax
xor eax, eax
test edx, edx
jle 0x4be9dc
lea ecx, [ecx + edi*8]
add ecx, 0x50
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x4be9d1
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x78]
push edx
push dword [eax + 0x10]
mov eax, dword [edi + 0x20]
push dword [esp + 0x5c]
push esi
call eax
push dword [esp + 0x70]
mov dword [esp + 0x44], eax
push dword [ebp + 8]
call fcn.004c4d50
mov edx, dword [esp + 0x48]
add esp, 0x1c
test edx, edx
jne 0x4bcb76
mov eax, dword [edi + 0x28]
push esi
call eax
mov ecx, dword [esp + 0x3c]
add esp, 4
mov byte [ecx + 2], 0
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x4b9d2c
jmp 0x4bc5bc
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
cmp byte [edi + 2], 0
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
je 0x4bea5a
push esi
jmp 0x4b9fad
mov eax, dword [edi + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x74], eax
mov eax, dword [eax]
mov dword [esp + 0x50], eax
xor eax, eax
test byte [edx + 2], 1
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x140], esi
je 0x4beaca
push esi
call fcn.004c1d40
mov edx, dword [esp + 0x24]
add esp, 4
mov eax, 0x4001
mov dword [esi], 0
jmp 0x4beada
mov ax, word [esi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [esi + 8], ax
lea eax, [esp + 0x140]
push dword [edx + 8]
push eax
mov eax, dword [esp + 0x58]
push dword [edi + 0x28]
mov eax, dword [eax + 0x2c]
call eax
push dword [esp + 0x80]
mov edi, dword [ebp + 8]
push edi
mov dword [esp + 0x40], eax
call fcn.004c4d50
add esp, 0x14
cmp dword [esp + 0x154], 0
jle 0x4beb36
push esi
call fcn.0044f210
push eax
push 0x4ef2e0
push edi
call fcn.004b9820
mov eax, dword [esp + 0x164]
add esp, 0x10
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x60]
push eax
push esi
call fcn.004b8e00
push esi
call fcn.004c2190
add esp, 0xc
test eax, eax
jne 0x4bf363
mov edx, dword [esp + 0x2c]
jmp 0x4bbcc3
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov edi, dword [eax + ecx*4]
cmp byte [edi + 2], 0
jne 0x4b999c
mov eax, dword [edi + 0x28]
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [esp + 0x54], ecx
mov eax, dword [ecx + 0x24]
call eax
push esi
push dword [ebp + 8]
mov dword [esp + 0x38], eax
call fcn.004c4d50
mov edx, dword [esp + 0x38]
add esp, 0xc
test edx, edx
jne 0x4bcb76
mov eax, dword [esp + 0x50]
push dword [edi + 0x28]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x4bdb62
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
mov dword [esp + 0x20], ecx
jmp 0x4bdb6d
mov ecx, dword [esp + 0x20]
mov edi, dword [ebx + 0x20]
or dword [ebx + 0x20], 0x4000000
and edi, 0x4000000
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [ecx + 0x10]
push 1
mov esi, dword [eax + 8]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov dword [esp + 0x58], eax
call fcn.004b8e00
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb76
mov ecx, dword [esp + 0x50]
mov eax, dword [esi]
push dword [ecx + 0x10]
mov eax, dword [eax + 0x4c]
push esi
call eax
add esp, 8
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x4bec4c
mov eax, dword [ebx + 0x24]
and dword [ebx + 0x20], 0xfbffffff
mov dword [ebx + 0x24], eax
mov edi, dword [ebp + 8]
push esi
push edi
call fcn.004c4d50
mov edx, dword [esp + 0x34]
add esp, 8
and dword [edi + 0x98], 0xfffffffc
jmp 0x4bbcc3
cmp byte [ebx + 0x51], 0
jne 0x4bf314
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x10]
mov edi, dword [eax + 8]
test edi, edi
je 0x4bf356
mov eax, dword [edi]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4bf356
cmp dword [eax + 0x34], 0
mov edx, dword [edx + 8]
je 0x4b999c
mov al, byte [ebx + 0x56]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x43], al
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x5c]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
xor eax, eax
test edx, edx
jle 0x4beccf
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x4becc4
mov eax, dword [esp + 0x20]
mov al, byte [eax + 2]
mov byte [ebx + 0x56], al
lea eax, [esp + 0x138]
push eax
mov eax, dword [esp + 0x54]
push esi
push edx
push edi
mov eax, dword [eax + 0x34]
call eax
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x53]
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [ebx + 0x56], al
call fcn.004c4d50
mov edx, dword [esp + 0x44]
add esp, 0x18
mov eax, dword [esp + 0x20]
test edx, edx
jne 0x4bed2e
cmp dword [eax + 4], edx
je 0x4bed2e
mov eax, dword [esp + 0x138]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x13c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x20]
cmp dl, 0x13
jne 0x4bed7a
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x10], 0
je 0x4bed7a
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 2]
cmp eax, 4
jne 0x4bed65
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add ecx, 0x14
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], 0
jmp 0x4b9914
cmp eax, 5
jne 0x4bed6f
mov eax, 2
mov byte [edi + 0x92], al
jmp 0x4bbcc3
inc dword [edi + 0x2c]
jmp 0x4bbcc3
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [ecx + 4]
mov ecx, dword [ebx + 0x10]
add edx, edx
mov ecx, dword [ecx + edx*8 + 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x2c]
and ecx, 0x7fffffff
mov dword [eax + 4], 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x14
jmp 0x4b9914
push dword [esp + 0x20]
push edi
call fcn.0047b8a0
mov ecx, dword [ebx + 0x10]
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 8
mov edx, dword [eax + 4]
add edx, edx
mov esi, dword [ecx + edx*8 + 4]
xor ecx, ecx
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4bedfe
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
and ecx, 0x7fffffff
cmp ecx, edx
jae 0x4bedfe
mov ecx, edx
push ecx
push esi
call fcn.0048cf80
mov ecx, dword [esp + 0x28]
add esp, 8
mov esi, dword [esp + 0x28]
add ecx, 0x14
cdq
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 4], edx
mov edi, dword [ebp + 8]
jmp 0x4b9914
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov dword [esp + 0x50], edi
cmp dword [esi], edi
je 0x4bee7c
movzx ecx, byte [esi + 0x19]
dec ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov dword [esi], edi
js 0x4bee7c
mov ebx, dword [esp + 0x20]
lea edx, [esi + 0x1c]
mov edi, dword [esp + 0x28]
lea edx, [edx + ecx*4]
mov edi, edi
mov eax, dword [ebx + 8]
lea edx, [edx - 4]
add eax, ecx
dec ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx + 4], eax
jns 0x4bee60
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [edi + 8], ax
lea eax, [esi + 0x1c]
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
mov eax, dword [ecx + 0x10]
push esi
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x4beefb
jle 0x4beecc
push edi
call fcn.0044f210
push eax
push 0x4ef2e0
push dword [ebp + 8]
call fcn.004b9820
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
push dword [eax + 4]
mov eax, dword [ebp + 8]
push dword [esi + 0x10]
add eax, 0xdc
push eax
push ebx
call fcn.004b95e0
mov edx, dword [esp + 0x3c]
add esp, 0x10
mov dword [esi + 0x14], 0
test edx, edx
jne 0x4bcb76
test byte [edi + 8], 0x12
je 0x4b9d28
movzx eax, byte [esp + 0x60]
push eax
push edi
call fcn.004b8e00
push edi
jmp 0x4be418
mov cl, byte [ebx + 0x58]
test cl, 0x41
je 0x4befd0
test byte [edi + 0x98], 0x10
jne 0x4befd0
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x10]
mov edi, dword [ebp + 8]
test eax, eax
jne 0x4bef4c
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x4befd0
push eax
test cl, 0x40
je 0x4bef7d
push dword [ebp + 8]
mov edi, dword [ebx + 0xcc]
call fcn.004bf9e0
mov esi, eax
push esi
push dword [ebx + 0xd0]
call edi
push esi
call fcn.00443690
mov edi, dword [ebp + 8]
add esp, 0x14
mov esi, dword [esp + 0x28]
jmp 0x4befd0
cmp dword [ebx + 0xbc], 1
jle 0x4befbc
push str.____s
push ebx
call fcn.004a73d0
mov ecx, dword [ebx + 0xcc]
mov esi, eax
push esi
push edi
push dword [ebx + 0xd0]
push 1
call ecx
add esp, 0x1c
test esi, esi
je 0x4befb6
push esi
push ebx
call fcn.00491cd0
add esp, 8
mov esi, dword [esp + 0x28]
jmp 0x4befd0
mov eax, dword [ebx + 0xcc]
push edi
push dword [ebx + 0xd0]
push 1
call eax
add esp, 0x10
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
cmp eax, dword [0x5062d4]
jl 0x4bf01c
cmp byte [ecx], 0xaa
je 0x4b9d33
mov edx, 1
cmp dword [edi + 0x6c], edx
jle 0x4bf015
mov eax, 0x14
mov ecx, dword [edi + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x4bf008
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [edi + 0x6c]
jl 0x4beff7
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], 0
inc dword [ecx + 4]
inc dword [edi + 0xbc]
jmp 0x4bc5bc
mov ecx, dword [edx + 4]
mov dword [edi + 0x28], ecx
mov al, byte [edx + 8]
mov byte [edi + 0x92], al
mov dword [edi + 0x24], esi
test ecx, ecx
je 0x4bf0b3
movzx eax, word [edx + 2]
test ax, ax
je 0x4bf084
push dword [eax*4 + 0x4e8850]
push str._s_constraint_failed
push edi
call fcn.004b9820
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4bf095
push eax
push dword [edi + 0x7c]
push str._z:__s
push ebx
call fcn.004a73d0
add esp, 0x10
mov dword [edi + 0x7c], eax
jmp 0x4bf095
push dword [edx + 0x10]
push 0x4ef2e0
push edi
call fcn.004b9820
add esp, 0xc
push dword [edi + 0x7c]
mov eax, dword [esp + 0x24]
push dword [edi + 0xc0]
push esi
push str.abort_at__d_in___s_:__s
push dword [eax + 4]
call fcn.0044c270
add esp, 0x14
push edi
call fcn.004c0330
mov ecx, eax
add esp, 4
mov dword [esp + 0x2c], ecx
cmp ecx, 5
jne 0x4bf500
mov dword [edi + 0x28], eax
mov esi, eax
jmp 0x4bf6a3
push 0x156bb
call fcn.004906b0
add esp, 4
mov edx, eax
jmp 0x4bcb72
push str.cannot_open_savepoint___SQL_statements_in_progress
push edi
call fcn.004b9820
mov edx, 5
add esp, 8
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
mov edi, dword [ebp + 8]
push str.cannot_release_savepoint___SQL_statements_in_progress
jmp 0x4bf0ee
mov ecx, dword [esp + 0x20]
mov eax, 0x66666667
sub ecx, dword [esp + 0x58]
mov esi, 5
mov edi, dword [ebp + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
mov byte [ebx + 0x4f], 0
mov dword [edi + 0x28], esi
jmp 0x4bf6a3
mov edi, dword [ebp + 8]
push str.no_such_savepoint:__s
push edi
call fcn.004b9820
mov edx, 1
add esp, 0xc
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
mov edx, 8
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
cmp dl, 5
jne 0x4bcb79
mov ecx, dword [esp + 0x20]
mov eax, 0x66666667
sub ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
imul ecx
mov dword [edi + 0x28], esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
jmp 0x4bf6a3
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4bf1ae
push eax
push ebx
call fcn.00491cd0
add esp, 8
push str.database_schema_has_changed
push ebx
call fcn.00492030
mov dword [edi + 0x7c], eax
add esp, 8
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 4]
mov ecx, edx
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax]
cmp eax, dword [esp + 0xac]
je 0x4bf1e6
push edx
push ebx
call fcn.004aecf0
add esp, 8
mov eax, dword [edi + 0x98]
mov edx, 0x11
and eax, 0xfffffffd
mov dword [esp + 0x2c], edx
or eax, 1
mov dword [edi + 0x98], eax
jmp 0x4bcb79
mov edx, 0x204
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
mov edx, 6
mov byte [edi + 0x92], 2
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
mov dword [esp + 0x2c], 7
push ebx
call fcn.004aec70
mov edx, dword [esp + 0x30]
add esp, 4
cmp edx, 7
je 0x4bf2d1
jmp 0x4bcb79
push str.too_many_levels_of_trigger_recursion
push edi
mov dword [esp + 0x34], 1
call fcn.004b9820
add esp, 8
mov edx, 1
jmp 0x4bcb79
push esi
call fcn.0044f210
mov edi, dword [ebp + 8]
push eax
push 0x4ef2e0
push edi
call fcn.004b9820
mov edx, dword [esp + 0x3c]
add esp, 0x10
jmp 0x4bcb79
mov dword [esp + 0x2c], 1
mov eax, str.into
cmp esi, 5
je 0x4bf2a4
mov eax, str.out_of
mov edi, dword [ebp + 8]
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push edi
call fcn.004b9820
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4bcb79
push dword [esp + 0xa4]
mov eax, dword [edi + 0x1c]
call eax
add esp, 4
mov edi, dword [ebp + 8]
cmp byte [ebx + 0x51], 0
jne 0x4bf314
cmp byte [ebx + 0x52], 0
jne 0x4bf314
cmp dword [ebx + 0xbc], 0
mov byte [ebx + 0x51], 1
jle 0x4bf2f4
mov dword [ebx + 0x110], 1
inc dword [ebx + 0x118]
xor eax, eax
mov word [ebx + 0x11c], ax
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4bf314
mov dword [eax + 0xc], 7
push 0x4e5630
push edi
call fcn.004b9820
mov edx, 7
add esp, 8
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
mov edi, dword [ebp + 8]
mov edx, 6
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
or ecx, 0xffffffff
mov edx, 9
mov dword [esp + 0x78], ecx
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
mov edx, 6
jmp 0x4bcb72
mov edi, dword [ebp + 8]
push str.string_or_blob_too_big
push edi
call fcn.004b9820
mov edx, 0x12
add esp, 8
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
push 0
push edi
call fcn.004b9020
mov edx, eax
add esp, 8
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4bcb79
push 1
push edi
call fcn.004b93f0
mov eax, dword [edi + 0x20]
add esp, 8
mov ecx, dword [esp + 0x20]
add eax, 2
or eax, 1
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov dword [edi + 0x78], esi
xor edi, edi
cmp dword [ecx + 8], edi
jle 0x4bf402
jmp 0x4bf3d0
mov eax, 0x1000
test word [esi + 8], ax
je 0x4bf3ec
push esi
call fcn.004c1aa0
add esp, 4
test eax, eax
jne 0x4bf2ce
push esi
call fcn.004c1b30
mov eax, dword [esp + 0x24]
inc edi
add esp, 4
add esi, 0x28
cmp edi, dword [eax + 8]
jl 0x4bf3d0
cmp byte [ebx + 0x51], 0
jne 0x4bf2ce
test byte [ebx + 0x58], 4
mov edi, dword [ebp + 8]
je 0x4bf42b
mov eax, dword [ebx + 0xcc]
push 0
push edi
push dword [ebx + 0xd0]
push 4
call eax
add esp, 0x10
mov ecx, dword [esp + 0x20]
mov eax, 0x66666667
sub ecx, dword [esp + 0x58]
mov esi, 0x64
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [edi + 0x24], eax
jmp 0x4bf6a3
mov edx, dword [esp + 0x20]
movzx eax, byte [ebx + 0x4f]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x34], ecx
cmp ecx, eax
je 0x4bf51a
test edx, edx
je 0x4bf484
push 0x204
push ebx
call fcn.004af3a0
add esp, 8
mov byte [ebx + 0x4f], 1
jmp 0x4bf4b7
test ecx, ecx
je 0x4bf49b
cmp dword [ebx + 0xb8], 0
jle 0x4bf49b
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x4bf0ee
push 1
push edi
call fcn.004b9020
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x4bf511
mov eax, dword [esp + 0x34]
mov byte [ebx + 0x4f], al
push edi
call fcn.004c0330
add esp, 4
cmp eax, 5
jne 0x4bf4f7
mov ecx, dword [esp + 0x20]
mov eax, 0x66666667
sub ecx, dword [esp + 0x58]
mov esi, 5
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
mov al, 1
sub al, byte [esp + 0x34]
mov byte [ebx + 0x4f], al
mov dword [edi + 0x28], esi
jmp 0x4bf6a3
push ebx
call fcn.0048ede0
add esp, 4
mov ecx, dword [edi + 0x28]
neg ecx
sbb ecx, ecx
and ecx, 0xffffff9c
add ecx, 0x65
mov dword [esp + 0x2c], ecx
mov esi, dword [esp + 0x2c]
jmp 0x4bf6a3
test ecx, ecx
jne 0x4bf53b
mov eax, str.cannot_start_a_transaction_within_a_transaction
push eax
push edi
call fcn.004b9820
mov edx, 1
add esp, 8
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
mov eax, str.cannot_rollback___no_transaction_is_active
test edx, edx
jne 0x4bf549
mov eax, str.cannot_commit___no_transaction_is_active
push eax
push edi
call fcn.004b9820
mov edx, 1
add esp, 8
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
xor eax, eax
cmp byte [ebx + 0x51], al
sete al
lea eax, [eax*2 + 7]
push eax
mov dword [esp + 0x30], eax
mov dword [edi + 0x28], eax
call fcn.00493d30
push eax
push 0x4ef2e0
push edi
call fcn.004b9820
mov edx, dword [esp + 0x3c]
add esp, 0x10
jmp 0x4bcb79
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x4bf5a8
mov ecx, str.no_more_rows_available
jmp 0x4bf5a8
mov ecx, str.another_row_available
push ecx
push 0x4ef2e0
push edi
call fcn.004b9820
mov edx, dword [esp + 0x38]
add esp, 0xc
mov dword [edi + 0x28], edx
cmp edx, 0xc0a
je 0x4bf5ed
movzx eax, dl
cmp eax, 0xe
je 0x4bf5d3
cmp eax, 0xa
jne 0x4bf5ed
mov eax, dword [ebx]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4bf5e8
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x4bf5ea
xor eax, eax
mov dword [ebx + 0x48], eax
push dword [edi + 0x7c]
mov ecx, esi
mov eax, 0x66666667
sub ecx, dword [esp + 0x5c]
push dword [edi + 0xc0]
mov esi, dword [esp + 0x34]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push esi
call fcn.0044c270
push edi
call fcn.004c0330
add esp, 0x18
cmp esi, 0xc0a
jne 0x4bf671
cmp byte [ebx + 0x51], 0
jne 0x4bf671
cmp byte [ebx + 0x52], 0
jne 0x4bf671
cmp dword [ebx + 0xbc], 0
mov byte [ebx + 0x51], 1
jle 0x4bf651
mov dword [ebx + 0x110], 1
inc dword [ebx + 0x118]
xor eax, eax
mov word [ebx + 0x11c], ax
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4bf671
mov dword [eax + 0xc], 7
mov al, byte [esp + 0x73]
mov dword [esp + 0x2c], 1
test al, al
je 0x4bf69e
movzx eax, al
dec eax
push eax
push ebx
call fcn.004aecf0
mov esi, dword [esp + 0x34]
add esp, 8
jmp 0x4bf6a3
mov esi, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
jmp 0x4bf6a3
mov esi, 1
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x24]
cmp edx, ecx
jb 0x4bf6e7
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x4bf6e7
add ecx, dword [ebx + 0x160]
push dword [ebx + 0x15c]
mov dword [esp + 0x7c], ecx
call eax
add esp, 4
test eax, eax
je 0x4bf6a3
or ecx, 0xffffffff
mov edx, 9
mov dword [esp + 0x78], ecx
mov dword [esp + 0x2c], edx
jmp 0x4bcb79
add dword [edi + 0xb4], edx
cmp dword [edi + 0xa0], 0
je 0x4bf6ff
push edi
call fcn.004d1630
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret