Function at 0x4b83c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
xor esi, esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx]
push edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], eax
cmp dword [ebx + 0x44], esi
jne 0x4ba371
cmp byte [eax + 0x36], 0
jne 0x4ba371
mov eax, dword [ebp + 0xc]
mov edi, ebx
call fcn.0049f680
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x4ba371
mov ecx, dword [ebx]
mov edi, eax
mov esi, dword [edi + 0x44]
call fcn.004ad690
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x68]
push eax
push ecx
push 0x6b
mov edx, edi
mov eax, ebx
call fcn.004b7a10
xor edx, edx
add esp, 0xc
cmp dword [edi + 0x1c], edx
push edi
setne dl
push ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], edx
call fcn.0049c0f0
add esp, 8
test eax, eax
jne 0x4ba371
mov eax, dword [ebp - 0x68]
mov ecx, edi
push eax
mov edi, ebx
call fcn.0049f750
add esp, 4
test eax, eax
jne 0x4ba371
mov edi, dword [ebp - 0xc]
mov ecx, dword [edi + 8]
mov esi, dword [ebp - 0x4c]
add ecx, ecx
add ecx, ecx
call fcn.00465d60
xor esi, esi
mov dword [ebp - 0x34], eax
cmp eax, esi
je 0x4ba371
xor eax, eax
cmp dword [edi + 8], esi
jle 0x4b84b0
jmp 0x4b84a0
mov ecx, dword [ebp - 0x34]
mov dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [edi + 8]
jl 0x4b84a0
mov eax, dword [ebx + 0x48]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x28], eax
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x4b84db
lea esp, [esp]
inc ecx
mov dword [ebx + 0x48], ecx
mov eax, dword [eax + 0x14]
cmp eax, esi
jne 0x4b84d0
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x18], esi
cmp dword [edx], esi
jle 0x4b8718
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + ecx]
lea esi, [ebp - 0x90]
call fcn.00490470
test eax, eax
jne 0x4ba371
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x44], eax
test eax, eax
jle 0x4b85e6
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov edi, dword [ecx + 0xc]
add eax, edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], edx
lea ecx, [ecx]
mov ecx, dword [edi]
mov al, byte [ecx]
mov edx, dword [ebp - 0x1c]
test al, al
je 0x4b85a0
jmp 0x4b8580
movzx esi, byte [edx]
movzx eax, al
mov al, byte [eax + 0x505a70]
cmp al, byte [esi + 0x505a70]
jne 0x4b859d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x4b8580
mov esi, dword [ebp - 0x20]
movzx ecx, byte [ecx]
movzx eax, byte [ecx + 0x505a70]
movzx ecx, byte [edx]
movzx edx, byte [ecx + 0x505a70]
sub eax, edx
je 0x4b85c6
inc esi
add edi, 0x18
mov dword [ebp - 0x20], esi
cmp esi, dword [ebp - 0x44]
jl 0x4b8570
jmp 0x4b85e6
mov eax, dword [ebp - 0xc]
cmp esi, dword [eax + 4]
jne 0x4b85dd
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x40], 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
mov dword [eax + esi*4], ecx
mov edx, dword [ebp - 0xc]
cmp esi, dword [edx + 8]
jl 0x4b86c0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + ecx + 4]
lea eax, [edx + ecx]
mov cl, byte [edi]
mov dword [ebp - 0x2c], eax
mov eax, edi
mov esi, str._ROWID_
test cl, cl
je 0x4b8634
mov dl, cl
movzx ebx, byte [esi]
movzx edx, dl
mov dl, byte [edx + 0x505a70]
cmp dl, byte [ebx + 0x505a70]
jne 0x4b8631
mov dl, byte [eax + 1]
inc eax
inc esi
test dl, dl
jne 0x4b8614
mov ebx, dword [ebp + 8]
movzx eax, byte [eax]
movzx edx, byte [esi]
movzx edx, byte [edx + 0x505a70]
movzx eax, byte [eax + 0x505a70]
sub eax, edx
je 0x4b86a9
mov edx, edi
mov esi, str.ROWID
test cl, cl
je 0x4b867d
mov al, cl
lea esp, [esp]
movzx ecx, byte [esi]
movzx eax, al
mov al, byte [eax + 0x505a70]
cmp al, byte [ecx + 0x505a70]
jne 0x4b867d
mov al, byte [edx + 1]
inc edx
inc esi
test al, al
jne 0x4b8660
movzx ecx, byte [esi]
movzx eax, byte [ecx + 0x505a70]
movzx ecx, byte [edx]
movzx edx, byte [ecx + 0x505a70]
sub edx, eax
je 0x4b86a9
mov edx, 0x51bdec
mov ecx, edi
call fcn.00467da0
test eax, eax
jne 0x4b8739
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x40], 1
mov dword [ebp - 8], ecx
jmp 0x4b86c2
mov edi, edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x3c]
add edx, edx
mov edx, dword [ecx + edx*8]
mov ecx, dword [edi + 0xc]
push edx
lea eax, [esi + esi*2]
mov edx, dword [ecx + eax*8]
mov eax, dword [edi]
push edx
push eax
push 0x17
mov eax, ebx
call fcn.00499b50
add esp, 0x10
cmp eax, 1
je 0x4ba371
cmp eax, 2
jne 0x4b8702
mov ecx, dword [ebp - 0x34]
mov dword [ecx + esi*4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0x10]
add dword [ebp - 0x28], 0x14
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [edx]
jl 0x4b8521
mov ecx, dword [ebx]
test dword [ecx + 0x18], 0x4000000
je 0x4b8761
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
push edx
push eax
push edi
call fcn.004a4f50
add esp, 0xc
mov dword [ebp - 0x28], eax
jmp 0x4b8768
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
push eax
push str.no_such_column:__s
push ebx
call fcn.00467ca0
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x4ba371
mov dword [ebp - 0x28], 0
mov eax, dword [edi + 0x10]
xor ecx, ecx
test eax, eax
je 0x4b8794
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4b8771
test ecx, ecx
jle 0x4b8794
mov esi, dword [ebp - 0x4c]
add ecx, ecx
add ecx, ecx
call fcn.00465d60
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4ba371
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4b87f4
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x28], 0
jne 0x4b87dc
cmp dword [ebp - 0x40], 0
jne 0x4b87dc
mov edx, dword [esi + 0x24]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x1c], ecx
test edx, edx
jle 0x4b87e2
mov ecx, dword [esi + 4]
mov ebx, dword [ecx]
cmp dword [edi + ebx*4], 0
jge 0x4b87d9
inc eax
add ecx, 4
cmp eax, edx
jl 0x4b87c1
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
jmp 0x4b87e2
mov ebx, dword [ebp + 8]
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
mov esi, dword [esi + 0x14]
add eax, 4
mov dword [ebp - 0x44], eax
test esi, esi
jne 0x4b87a4
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x4b88f0
mov ebx, dword [edi]
mov ecx, 0xc8
mov esi, ebx
call fcn.00465d60
mov esi, eax
test esi, esi
je 0x4b886c
push 0xc8
push 0
push esi
call fcn.004da450
mov dword [esi], ebx
mov eax, dword [ebx + 4]
add esp, 0xc
test eax, eax
je 0x4b8835
mov dword [eax + 0x38], esi
mov edx, dword [ebx + 4]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], 0
mov dword [ebx + 4], esi
mov dword [esi + 0x30], 0x26bceaa5
mov dword [edi + 8], esi
mov dword [ebp - 0x10], esi
test esi, esi
je 0x4ba371
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x4b88c7
test eax, eax
je 0x4b8870
add eax, eax
jmp 0x4b8875
xor esi, esi
jmp 0x4b884c
mov eax, 0x33
mov ebx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
call fcn.00465de0
mov ebx, eax
test ebx, ebx
je 0x4b88ea
mov eax, dword [esi]
test eax, eax
je 0x4b88ab
cmp ebx, dword [eax + 0x104]
jb 0x4b88ab
cmp ebx, dword [eax + 0x108]
jae 0x4b88ab
movzx ecx, word [eax + 0xe8]
jmp 0x4b88b7
push ebx
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], ebx
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x94
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
cmp byte [edi + 0x12], 0
jne 0x4b88fa
mov byte [ebx + 0x5e], 1
mov esi, dword [edi + 0x1b0]
test esi, esi
jne 0x4b8906
mov esi, edi
mov edx, dword [ebp - 0x3c]
push edx
mov eax, edi
call fcn.0049e680
mov ecx, dword [ebp - 0x3c]
or byte [esi + 0x17], 1
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0xc]
add esp, 4
or dword [esi + 0x154], eax
test byte [ecx + 0x22], 0x10
je 0x4b8960
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 8]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
push ecx
push eax
push edi
call fcn.004ba3d0
add esp, 0x20
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], eax
jmp 0x4ba371
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
inc eax
mov dword [edi + 0x4c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
test esi, esi
jne 0x4b897f
cmp dword [ebp - 0x28], esi
je 0x4b898d
lea edx, [eax + 1]
mov dword [ebp - 0x54], edx
mov edx, dword [ecx + 8]
add edx, eax
mov dword [edi + 0x4c], edx
cmp dword [ebp - 0x40], 0
jne 0x4b899c
test esi, esi
jne 0x4b899c
cmp dword [ebp - 0x28], esi
je 0x4b89a5
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x4c]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], edx
mov edx, dword [ecx + 8]
add edx, eax
cmp dword [ebp - 0x60], 0
mov dword [edi + 0x4c], edx
je 0x4b89e2
mov eax, dword [edi + 0x204]
mov edx, dword [ecx]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x24]
push eax
mov dword [edi + 0x204], edx
mov edx, dword [ebp + 0x14]
push edx
push ecx
push edi
mov dword [ebp - 0x6c], edi
call fcn.0049f7e0
add esp, 0x10
mov edi, dword [ebp + 0x14]
lea esi, [ebp - 0x90]
call fcn.00490470
test eax, eax
jne 0x4ba371
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4b8a0b
mov edi, ebx
call fcn.00481430
test eax, eax
jne 0x4b8a34
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebp - 0x44]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x30]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov word [eax], 0xa
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 4
push 0
push 0
push eax
push ecx
push edx
call fcn.004c1ae0
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4ba371
movzx eax, byte [eax + 6]
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x64], eax
cmp dword [ebx + 0x20], esi
jg 0x4b8a73
mov edi, ebx
call fcn.00481430
test eax, eax
jne 0x4b8a9c
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x41
cmp dword [ebp - 0x64], 0
jne 0x4b8ade
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4b8ab5
mov edi, ebx
call fcn.00481430
test eax, eax
jne 0x4b8ade
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebp - 0x44]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x70
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004c2630
mov eax, dword [ebp - 0x4c]
add esp, 4
test dword [eax + 0x18], 0x1000
je 0x4b8b46
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1b4], 0
jne 0x4b8b46
mov eax, ecx
inc dword [eax + 0x4c]
mov esi, dword [ebx + 0x1c]
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x5c], edx
cmp dword [ebx + 0x20], esi
jg 0x4b8b20
mov edi, ebx
call fcn.00481430
test eax, eax
jne 0x4b8b46
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebp - 0x5c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 7
xor edi, edi
cmp dword [ebp - 0x60], edi
jne 0x4b8cfb
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 0x64], edi
jne 0x4b8b6f
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
push 0x28
push esi
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.004a5e60
add esp, 0x10
mov ecx, 5
cmp dword [ebp + 0x18], ecx
je 0x4b8b91
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x58], edi
cmp eax, edi
je 0x4b8b98
cmp byte [eax + 0x2c], cl
je 0x4b8b91
mov eax, dword [eax + 0x14]
cmp eax, edi
jne 0x4b8b83
jmp 0x4b8b98
mov dword [ebp - 0x58], 1
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], eax
cmp eax, edi
je 0x4b8cfb
lea esp, [esp]
cmp dword [ebp - 0x58], 0
jne 0x4b8bc6
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
cmp dword [edx + eax*4], 0
jle 0x4b8ce7
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.0049ec90
mov edx, dword [esi + 0x28]
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x20]
add esp, 8
mov dword [ebp - 0x14], edx
cmp eax, esi
jg 0x4b8c52
test eax, eax
je 0x4b8bf1
add eax, eax
jmp 0x4b8bf6
mov eax, 0x33
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
add ecx, ecx
add ecx, ecx
call fcn.00465de0
mov ebx, eax
test ebx, ebx
je 0x4b8cc7
mov eax, dword [edi]
test eax, eax
je 0x4b8c33
cmp ebx, dword [eax + 0x104]
jb 0x4b8c33
cmp ebx, dword [eax + 0x108]
jae 0x4b8c33
movzx ecx, word [eax + 0xe8]
jmp 0x4b8c3f
push ebx
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [edi + 4], ebx
mov ebx, dword [ebp - 0x10]
mov dword [edi + 0x20], edx
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebp - 0x24]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x18]
lea edx, [edx + ecx + 1]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x28
mov eax, esi
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
test esi, esi
je 0x4b8cda
cmp byte [edi + 0x36], 0
jne 0x4b8cda
test eax, eax
jns 0x4b8ca0
mov eax, dword [ebx + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.00481a60
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [esi + 0x10], ecx
cmp eax, ecx
jne 0x4b8cd1
mov dword [esi + 0x10], ecx
mov byte [esi + 1], cl
jmp 0x4b8ce7
mov ebx, dword [ebp - 0x10]
mov eax, 1
jmp 0x4b8c89
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x4b8ce7
mov ecx, dword [ebp - 0x1c]
mov eax, 0xfffffff0
call fcn.00481a60
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x14]
inc dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4b8bb0
cmp dword [ebp - 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
je 0x4b8e79
cmp eax, edi
jg 0x4b8d74
test eax, eax
je 0x4b8d17
add eax, eax
jmp 0x4b8d1c
mov eax, 0x33
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
call fcn.00465de0
mov ebx, eax
test ebx, ebx
je 0x4b8db1
mov eax, dword [esi]
test eax, eax
je 0x4b8d55
cmp ebx, dword [eax + 0x104]
jb 0x4b8d55
cmp ebx, dword [eax + 0x108]
jae 0x4b8d55
movzx ecx, word [eax + 0xe8]
jmp 0x4b8d61
push ebx
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x20], edx
mov eax, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov ecx, dword [ebp - 0x30]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x4a
mov dword [ebp - 0x3c], edi
mov edx, edi
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x4b8e22
test eax, eax
je 0x4b8dbe
add eax, eax
jmp 0x4b8dc3
mov ebx, dword [ebp - 0x10]
mov edx, 1
mov dword [ebp - 0x3c], edx
jmp 0x4b8d9f
mov eax, 0x33
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
call fcn.00465de0
mov ebx, eax
test ebx, ebx
je 0x4b8e6c
mov eax, dword [esi]
test eax, eax
je 0x4b8e00
cmp ebx, dword [eax + 0x104]
jb 0x4b8e00
cmp ebx, dword [eax + 0x108]
jae 0x4b8e00
movzx ecx, word [eax + 0xe8]
jmp 0x4b8e0c
push ebx
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 0x20], edx
mov edx, dword [ebp - 0x3c]
mov dword [esi + 4], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 1
mov eax, edi
mov dword [ebp - 0x20], eax
test edx, edx
js 0x4b8f0e
mov eax, dword [ebx + 0x1c]
cmp eax, edx
jbe 0x4b8f0e
mov ecx, dword [ebx + 4]
lea edx, [edx + edx*4]
mov dword [ecx + edx*4 + 8], eax
jmp 0x4b8f0e
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
mov eax, 1
jmp 0x4b8e47
cmp eax, edi
jg 0x4b8ee2
test eax, eax
je 0x4b8e85
add eax, eax
jmp 0x4b8e8a
mov eax, 0x33
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
call fcn.00465de0
mov ebx, eax
test ebx, ebx
je 0x4b8f20
mov eax, dword [esi]
test eax, eax
je 0x4b8ec3
cmp ebx, dword [eax + 0x104]
jb 0x4b8ec3
cmp ebx, dword [eax + 0x108]
jae 0x4b8ec3
movzx ecx, word [eax + 0xe8]
jmp 0x4b8ecf
push ebx
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x20], edx
mov eax, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov ecx, dword [ebp - 0x44]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov word [eax], 0x71
mov dword [ebp - 0x20], edi
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x4b8f8c
test eax, eax
je 0x4b8f2c
add eax, eax
jmp 0x4b8f31
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x20], 1
jmp 0x4b8f0e
mov eax, 0x33
mov ebx, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add ecx, ecx
add ecx, ecx
call fcn.00465de0
mov ebx, eax
test ebx, ebx
je 0x4b8fbc
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
test eax, eax
je 0x4b8f6d
cmp ebx, dword [eax + 0x104]
jb 0x4b8f6d
cmp ebx, dword [eax + 0x108]
jae 0x4b8f6d
movzx ecx, word [eax + 0xe8]
jmp 0x4b8f79
push ebx
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x20], edx
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x30]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x36
jmp 0x4b8fbf
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 8]
xor esi, esi
cmp dword [ebp - 0x40], esi
je 0x4b9104
cmp eax, esi
je 0x4b900c
cmp byte [eax], 0x84
jne 0x4b900c
mov edi, dword [edi + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x20], eax
jg 0x4b8ff6
call fcn.00481430
test eax, eax
jne 0x4b9067
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov word [eax], 0xe
jmp 0x4b9051
mov edx, dword [ebp - 0x38]
push edx
push eax
push edi
call fcn.004938c0
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x38]
je 0x4b9067
mov edi, dword [edi + 8]
cmp edi, esi
je 0x4b9067
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x20], eax
jg 0x4b903d
call fcn.00481430
test eax, eax
jne 0x4b9067
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov word [eax], 0xf
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], esi
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov byte [eax + 3], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x4b90db
cmp eax, esi
je 0x4b9079
add eax, eax
jmp 0x4b907e
mov eax, 0x33
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
add ecx, ecx
add ecx, ecx
call fcn.00465de0
mov ebx, eax
test ebx, ebx
je 0x4b9101
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
test eax, eax
je 0x4b90ba
cmp ebx, dword [eax + 0x104]
jb 0x4b90ba
cmp ebx, dword [eax + 0x108]
jae 0x4b90ba
movzx ecx, word [eax + 0xe8]
jmp 0x4b90c6
push ebx
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x20], edx
xor esi, esi
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebp - 0x38]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x15
jmp 0x4b9104
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0x28], 0
jne 0x4b91da
cmp dword [ebp - 0x50], 0
je 0x4b9387
xor esi, esi
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x50]
push 3
push 0
push ecx
push edx
call fcn.004b8230
or esi, eax
mov eax, dword [ebp - 0xc]
xor edi, edi
add esp, 0x18
mov dword [ebp - 0x1c], esi
cmp dword [eax + 8], edi
jle 0x4b926c
lea esp, [esp]
mov ecx, dword [ebp - 0x34]
xor edx, edx
cmp dword [ecx + edi*4], edx
jl 0x4b9240
cmp esi, 0xffffffff
je 0x4b9240
cmp edi, 0x20
jge 0x4b917d
mov eax, 1
mov ecx, edi
shl eax, cl
test esi, eax
jne 0x4b9240
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jg 0x4b9218
lea eax, [ecx + ecx]
cmp ecx, edx
jne 0x4b919a
mov eax, 0x33
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
add ecx, ecx
add ecx, ecx
call fcn.00465de0
mov ebx, eax
test ebx, ebx
je 0x4b925c
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
test eax, eax
je 0x4b91f1
cmp ebx, dword [eax + 0x104]
jb 0x4b91f1
cmp ebx, dword [eax + 0x108]
jae 0x4b91f1
movzx ecx, word [eax + 0xe8]
jmp 0x4b91fd
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.004a4e00
add esp, 8
mov esi, eax
jmp 0x4b911a
push ebx
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 0x14]
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], ebx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x54]
add ecx, edi
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0xa
jmp 0x4b925f
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
lea eax, [edi + edx]
mov edx, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push ecx
push edx
mov ebx, edi
call fcn.004934d0
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
inc edi
cmp edi, dword [eax + 8]
jl 0x4b9150
cmp dword [ebp - 0x40], 0
jne 0x4b9387
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jg 0x4b935e
test ecx, ecx
je 0x4b928f
add ecx, ecx
jmp 0x4b9294
mov ecx, 0x33
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
xor edi, edi
cmp byte [esi + 0x36], 0
mov dword [ebp - 8], edx
jne 0x4b931c
mov edi, edx
test edi, edi
jne 0x4b92ba
call fcn.00465d60
mov edi, eax
jmp 0x4b931c
cmp edi, dword [esi + 0x104]
jb 0x4b9305
cmp edi, dword [esi + 0x108]
jae 0x4b9305
movzx eax, word [esi + 0xe8]
cmp ecx, eax
jle 0x4b931c
call fcn.00465d60
mov edi, eax
test edi, edi
je 0x4b9387
movzx ecx, word [esi + 0xe8]
mov edx, dword [ebp - 8]
push ecx
push edx
push edi
call fcn.004da560
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, esi
call fcn.00465b20
jmp 0x4b931c
mov eax, dword [ebp - 8]
push ecx
push eax
call fcn.00465cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b9320
mov byte [esi + 0x36], 1
test edi, edi
je 0x4b9387
mov eax, dword [ebx]
test eax, eax
je 0x4b933f
cmp edi, dword [eax + 0x104]
jb 0x4b933f
cmp edi, dword [eax + 0x108]
jae 0x4b933f
movzx ecx, word [eax + 0xe8]
jmp 0x4b934b
push edi
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 0x14]
shr edx, 4
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], edi
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xe
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x50]
push esi
push 1
push 1
push ecx
push edx
call fcn.004b8230
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 8]
lea edx, [ecx + eax - 1]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
add esp, 0x18
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jg 0x4b949e
test eax, eax
je 0x4b93cf
add eax, eax
jmp 0x4b93d4
mov eax, 0x33
mov esi, dword [ebx]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
add ecx, ecx
add ecx, ecx
xor edi, edi
cmp byte [esi + 0x36], 0
mov dword [ebp - 8], eax
jne 0x4b945c
mov edi, eax
test edi, edi
jne 0x4b93fa
call fcn.00465d60
mov edi, eax
jmp 0x4b945c
cmp edi, dword [esi + 0x104]
jb 0x4b9445
cmp edi, dword [esi + 0x108]
jae 0x4b9445
movzx edx, word [esi + 0xe8]
cmp ecx, edx
jle 0x4b945c
call fcn.00465d60
mov edi, eax
test edi, edi
je 0x4b94c7
movzx eax, word [esi + 0xe8]
mov ecx, dword [ebp - 8]
push eax
push ecx
push edi
call fcn.004da560
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, esi
call fcn.00465b20
jmp 0x4b945c
mov edx, dword [ebp - 8]
push ecx
push edx
call fcn.00465cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b9460
mov byte [esi + 0x36], 1
test edi, edi
je 0x4b94c7
mov eax, dword [ebx]
test eax, eax
je 0x4b947f
cmp edi, dword [eax + 0x104]
jb 0x4b947f
cmp edi, dword [eax + 0x108]
jae 0x4b947f
movzx ecx, word [eax + 0xe8]
jmp 0x4b948b
push edi
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov ecx, dword [ebp - 0x14]
shr edx, 4
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], edi
inc dword [ebx + 0x1c]
mov edx, dword [ebp - 0x2c]
lea eax, [ecx + ecx*4]
mov ecx, dword [ebx + 4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov word [eax], 0xa
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
mov dword [ebp - 0x18], 0
jle 0x4b97fc
jmp 0x4b94e0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx + 4]
je 0x4b97e9
mov eax, dword [ebp - 0x34]
mov ecx, edx
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x4b9696
mov edx, dword [ebp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4b95c9
cmp byte [eax], 0x84
jne 0x4b95c9
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
mov ecx, dword [eax + 0x18]
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x14], ecx
cmp eax, edi
jg 0x4b9598
test eax, eax
je 0x4b953a
add eax, eax
jmp 0x4b953f
mov eax, 0x33
mov ebx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
call fcn.00465de0
mov ebx, eax
test ebx, ebx
je 0x4b97e6
mov eax, dword [esi]
test eax, eax
je 0x4b9579
cmp ebx, dword [eax + 0x104]
jb 0x4b9579
cmp ebx, dword [eax + 0x108]
jae 0x4b9579
movzx ecx, word [eax + 0xe8]
jmp 0x4b9585
push ebx
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x20], edx
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x14]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x18]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xe
jmp 0x4b97e9
mov edi, dword [ebp - 0x2c]
add edi, dword [ebp - 0x18]
push edi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004938c0
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x4b97e9
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 8]
test esi, esi
je 0x4b97e9
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jg 0x4b966b
lea eax, [ecx + ecx]
test ecx, ecx
jne 0x4b960f
mov eax, 0x33
mov ebx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
call fcn.00465de0
mov ebx, eax
test ebx, ebx
je 0x4b97e6
mov eax, dword [esi]
test eax, eax
je 0x4b9649
cmp ebx, dword [eax + 0x104]
jb 0x4b9649
cmp ebx, dword [eax + 0x108]
jae 0x4b9649
movzx ecx, word [eax + 0xe8]
jmp 0x4b9655
push ebx
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 0x14]
shr edx, 4
mov dword [esi + 4], ebx
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x20], edx
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xf
jmp 0x4b97e9
test dword [ebp - 0x68], 1
je 0x4b96b7
cmp ecx, 0x1f
jg 0x4b96b7
mov edx, 1
shl edx, cl
test dword [ebp - 0x54], edx
je 0x4b97e9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x14], eax
cmp edx, eax
jg 0x4b97a1
lea ecx, [edx + edx]
test edx, edx
jne 0x4b96d4
mov ecx, 0x33
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
xor edi, edi
cmp byte [esi + 0x36], 0
mov dword [ebp - 8], edx
jne 0x4b975c
mov edi, edx
test edi, edi
jne 0x4b96fa
call fcn.00465d60
mov edi, eax
jmp 0x4b975c
cmp edi, dword [esi + 0x104]
jb 0x4b9745
cmp edi, dword [esi + 0x108]
jae 0x4b9745
movzx eax, word [esi + 0xe8]
cmp ecx, eax
jle 0x4b975c
call fcn.00465d60
mov edi, eax
test edi, edi
je 0x4b97ce
movzx ecx, word [esi + 0xe8]
mov edx, dword [ebp - 8]
push ecx
push edx
push edi
call fcn.004da560
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, esi
call fcn.00465b20
jmp 0x4b975c
mov eax, dword [ebp - 8]
push ecx
push eax
call fcn.00465cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b9760
mov byte [esi + 0x36], 1
test edi, edi
je 0x4b97ce
mov eax, dword [ebx]
test eax, eax
je 0x4b977f
cmp edi, dword [eax + 0x104]
jb 0x4b977f
cmp edi, dword [eax + 0x108]
jae 0x4b977f
movzx ecx, word [eax + 0xe8]
jmp 0x4b978b
push edi
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
shr edx, 4
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], edi
inc dword [ebx + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2c]
add edx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x1d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
add ecx, eax
push ecx
push edx
push ebx
call fcn.004b8300
add esp, 0xc
jmp 0x4b97e9
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ecx + 8]
jl 0x4b94e0
test byte [ebp - 0x68], 1
je 0x4b9bd6
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jg 0x4b98f7
test ecx, ecx
je 0x4b9828
add ecx, ecx
jmp 0x4b982d
mov ecx, 0x33
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
xor edi, edi
cmp byte [esi + 0x36], 0
mov dword [ebp - 8], edx
jne 0x4b98b5
mov edi, edx
test edi, edi
jne 0x4b9853
call fcn.00465d60
mov edi, eax
jmp 0x4b98b5
cmp edi, dword [esi + 0x104]
jb 0x4b989e
cmp edi, dword [esi + 0x108]
jae 0x4b989e
movzx eax, word [esi + 0xe8]
cmp ecx, eax
jle 0x4b98b5
call fcn.00465d60
mov edi, eax
test edi, edi
je 0x4b9920
movzx ecx, word [esi + 0xe8]
mov edx, dword [ebp - 8]
push ecx
push edx
push edi
call fcn.004da560
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, esi
call fcn.00465b20
jmp 0x4b98b5
mov eax, dword [ebp - 8]
push ecx
push eax
call fcn.00465cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b98b9
mov byte [esi + 0x36], 1
test edi, edi
je 0x4b9920
mov eax, dword [ebx]
test eax, eax
je 0x4b98d8
cmp edi, dword [eax + 0x104]
jb 0x4b98d8
cmp edi, dword [eax + 0x108]
jae 0x4b98d8
movzx ecx, word [eax + 0xe8]
jmp 0x4b98e4
push edi
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 0x14]
shr edx, 4
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], edi
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x1e
mov esi, dword [ebp - 0xc]
push ebx
mov eax, esi
call fcn.004a5fd0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x30]
add esp, 4
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x50]
push edx
mov edx, dword [ebp + 8]
push esi
push 1
push eax
push 0x6b
push ecx
push edx
call fcn.004b81c0
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
add esp, 0x24
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jg 0x4b9a3b
test eax, eax
je 0x4b996c
add eax, eax
jmp 0x4b9971
mov eax, 0x33
mov esi, dword [ebx]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
add ecx, ecx
add ecx, ecx
xor edi, edi
cmp byte [esi + 0x36], 0
mov dword [ebp - 8], eax
jne 0x4b99f9
mov edi, eax
test edi, edi
jne 0x4b9997
call fcn.00465d60
mov edi, eax
jmp 0x4b99f9
cmp edi, dword [esi + 0x104]
jb 0x4b99e2
cmp edi, dword [esi + 0x108]
jae 0x4b99e2
movzx edx, word [esi + 0xe8]
cmp ecx, edx
jle 0x4b99f9
call fcn.00465d60
mov edi, eax
test edi, edi
je 0x4b9a69
movzx eax, word [esi + 0xe8]
mov ecx, dword [ebp - 8]
push eax
push ecx
push edi
call fcn.004da560
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, esi
call fcn.00465b20
jmp 0x4b99f9
mov edx, dword [ebp - 8]
push ecx
push edx
call fcn.00465cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b99fd
mov byte [esi + 0x36], 1
test edi, edi
je 0x4b9a69
mov eax, dword [ebx]
test eax, eax
je 0x4b9a1c
cmp edi, dword [eax + 0x104]
jb 0x4b9a1c
cmp edi, dword [eax + 0x108]
jae 0x4b9a1c
movzx ecx, word [eax + 0xe8]
jmp 0x4b9a28
push edi
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov ecx, dword [ebp - 0x14]
shr edx, 4
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], edi
inc dword [ebx + 0x1c]
mov edx, dword [ebp - 0x24]
lea eax, [ecx + ecx*4]
mov ecx, dword [ebx + 4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x30]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x36
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp dword [eax + 8], ecx
jle 0x4b9bd6
lea ebx, [ebx]
mov edx, dword [ebp - 0x34]
cmp dword [edx + ecx*4], 0
jge 0x4b9bc9
cmp ecx, dword [eax + 4]
je 0x4b9bc9
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x14], eax
cmp edx, eax
jg 0x4b9b80
lea eax, [edx + edx]
test edx, edx
jne 0x4b9ab3
mov eax, 0x33
mov esi, dword [ebx]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
add ecx, ecx
add ecx, ecx
xor edi, edi
cmp byte [esi + 0x36], 0
mov dword [ebp - 8], eax
jne 0x4b9b3b
mov edi, eax
test edi, edi
jne 0x4b9ad9
call fcn.00465d60
mov edi, eax
jmp 0x4b9b3b
cmp edi, dword [esi + 0x104]
jb 0x4b9b24
cmp edi, dword [esi + 0x108]
jae 0x4b9b24
movzx edx, word [esi + 0xe8]
cmp ecx, edx
jle 0x4b9b3b
call fcn.00465d60
mov edi, eax
test edi, edi
je 0x4b9bad
movzx eax, word [esi + 0xe8]
mov ecx, dword [ebp - 8]
push eax
push ecx
push edi
call fcn.004da560
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, esi
call fcn.00465b20
jmp 0x4b9b3b
mov edx, dword [ebp - 8]
push ecx
push edx
call fcn.00465cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b9b3f
mov byte [esi + 0x36], 1
test edi, edi
je 0x4b9bad
mov eax, dword [ebx]
test eax, eax
je 0x4b9b5e
cmp edi, dword [eax + 0x104]
jb 0x4b9b5e
cmp edi, dword [eax + 0x108]
jae 0x4b9b5e
movzx ecx, word [eax + 0xe8]
jmp 0x4b9b6a
push edi
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
shr edx, 4
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], edi
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2c]
add edx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x1d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
add ecx, eax
push ecx
push edx
push ebx
call fcn.004b8300
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
add esp, 0xc
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [eax + 8]
jl 0x4b9a80
cmp dword [ebp - 0x60], 0
jne 0x4b9fa3
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0xc]
push 0
push eax
mov eax, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x38]
neg edx
push 1
sbb edx, edx
and edx, esi
push edx
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push edi
push eax
call fcn.004a7ca0
add esp, 0x28
cmp dword [ebp - 0x28], 0
je 0x4b9c2d
mov ebx, dword [ebp + 8]
push 0
push esi
push edi
call fcn.004a48a0
mov ebx, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jg 0x4b9d13
lea ecx, [eax + eax]
test eax, eax
jne 0x4b9c4a
mov ecx, 0x33
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
xor edi, edi
cmp byte [esi + 0x36], 0
mov dword [ebp - 8], edx
jne 0x4b9cce
mov edi, edx
test edi, edi
jne 0x4b9c70
call fcn.00465d60
mov edi, eax
jmp 0x4b9cce
cmp edi, dword [esi + 0x104]
jb 0x4b9cb7
cmp edi, dword [esi + 0x108]
jae 0x4b9cb7
movzx eax, word [esi + 0xe8]
cmp ecx, eax
jle 0x4b9cce
call fcn.00465d60
mov edi, eax
test edi, edi
je 0x4b9cce
movzx ecx, word [esi + 0xe8]
mov edx, dword [ebp - 8]
push ecx
push edx
push edi
call fcn.004da560
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, esi
call fcn.00465b20
jmp 0x4b9cce
mov eax, dword [ebp - 8]
push ecx
push eax
call fcn.00465cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b9cce
mov byte [esi + 0x36], 1
xor esi, esi
cmp edi, esi
je 0x4b9d80
mov eax, dword [ebx]
cmp eax, esi
je 0x4b9cf7
cmp edi, dword [eax + 0x104]
jb 0x4b9cf7
cmp edi, dword [eax + 0x108]
jae 0x4b9cf7
movzx ecx, word [eax + 0xe8]
jmp 0x4b9d03
push edi
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], edi
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x14]
inc dword [ebx + 0x1c]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x30]
xor esi, esi
mov byte [eax + 3], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], esi
mov word [eax], 0x36
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push ecx
push edx
call fcn.004a0250
add esp, 0xc
cmp dword [ebp - 0x28], esi
jne 0x4b9d67
cmp dword [ebp - 0x40], esi
je 0x4b9e7e
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jg 0x4b9e5a
cmp ecx, esi
je 0x4b9d89
add ecx, ecx
jmp 0x4b9d8e
mov dword [ebp - 0x1c], 1
jmp 0x4b9d42
mov ecx, 0x33
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
xor edi, edi
cmp byte [esi + 0x36], 0
mov dword [ebp - 8], eax
jne 0x4b9e16
mov edi, eax
test edi, edi
jne 0x4b9db4
call fcn.00465d60
mov edi, eax
jmp 0x4b9e16
cmp edi, dword [esi + 0x104]
jb 0x4b9dff
cmp edi, dword [esi + 0x108]
jae 0x4b9dff
movzx edx, word [esi + 0xe8]
cmp ecx, edx
jle 0x4b9e16
call fcn.00465d60
mov edi, eax
test edi, edi
je 0x4b9e7e
movzx eax, word [esi + 0xe8]
mov ecx, dword [ebp - 8]
push eax
push ecx
push edi
call fcn.004da560
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, esi
call fcn.00465b20
jmp 0x4b9e16
mov edx, dword [ebp - 8]
push ecx
push edx
call fcn.00465cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b9e1a
mov byte [esi + 0x36], 1
test edi, edi
je 0x4b9e7e
mov eax, dword [ebx]
test eax, eax
je 0x4b9e39
cmp edi, dword [eax + 0x104]
jb 0x4b9e39
cmp edi, dword [eax + 0x108]
jae 0x4b9e39
movzx ecx, word [eax + 0xe8]
jmp 0x4b9e45
push edi
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 0x14]
shr edx, 4
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], edi
xor esi, esi
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x3b
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x4b9e96
mov ecx, dword [ebx + 0x1c]
cmp ecx, eax
jbe 0x4b9e96
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x4b9eb5
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
push eax
push 0
push ecx
call fcn.004a48a0
mov ebx, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc]
push 0
push 0
push 1
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
call fcn.004a8ff0
add esp, 0x20
test edi, edi
je 0x4b9fa3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test dword [ecx + 0x18], 0x4000000
je 0x4b9fa3
mov ecx, dword [esi]
xor edx, edx
mov eax, ecx
cmp ecx, edx
jne 0x4b9f00
mov dword [ebp - 8], edx
jmp 0x4b9f13
cmp byte [ecx], dl
je 0x4b9f09
inc eax
cmp byte [eax], dl
jne 0x4b9f04
sub eax, ecx
and eax, 0x3fffffff
mov dword [ebp - 8], eax
mov edi, dword [esi + 0x44]
add edi, 0x38
mov dword [ebp - 0x14], edi
cmp dword [edi + 0xc], edx
je 0x4b9f55
mov edx, dword [ebp - 8]
xor eax, eax
cmp edx, eax
jle 0x4b9f51
lea ebx, [ebx]
movzx esi, byte [ecx]
movzx esi, byte [esi + 0x505a70]
lea edi, [eax*8]
xor esi, edi
dec edx
xor eax, esi
inc ecx
test edx, edx
jg 0x4b9f30
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
xor edx, edx
div dword [edi]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [esi]
push eax
mov eax, edi
call fcn.00468f60
add esp, 8
test eax, eax
je 0x4b9fa3
mov edi, dword [eax + 8]
test edi, edi
je 0x4b9fa3
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push edi
push esi
call fcn.004a5160
add esp, 0xc
test eax, eax
je 0x4b9f9c
mov edx, dword [ebp - 0x30]
push 0
push 2
push edx
push esi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004b8080
add esp, 0x18
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x4b9f71
mov ecx, dword [ebp - 0x4c]
test dword [ecx + 0x18], 0x1000
je 0x4ba0d6
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1b4], 0
jne 0x4ba0d6
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jg 0x4ba0ab
test ecx, ecx
je 0x4b9fdc
add ecx, ecx
jmp 0x4b9fe1
mov ecx, 0x33
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
xor edi, edi
cmp byte [esi + 0x36], 0
mov dword [ebp - 8], eax
jne 0x4ba069
mov edi, eax
test edi, edi
jne 0x4ba007
call fcn.00465d60
mov edi, eax
jmp 0x4ba069
cmp edi, dword [esi + 0x104]
jb 0x4ba052
cmp edi, dword [esi + 0x108]
jae 0x4ba052
movzx edx, word [esi + 0xe8]
cmp ecx, edx
jle 0x4ba069
call fcn.00465d60
mov edi, eax
test edi, edi
je 0x4ba0d6
movzx eax, word [esi + 0xe8]
mov ecx, dword [ebp - 8]
push eax
push ecx
push edi
call fcn.004da560
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, esi
call fcn.00465b20
jmp 0x4ba069
mov edx, dword [ebp - 8]
push ecx
push edx
call fcn.00465cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4ba06d
mov byte [esi + 0x36], 1
test edi, edi
je 0x4ba0d6
mov eax, dword [ebx]
test eax, eax
je 0x4ba08c
cmp edi, dword [eax + 0x104]
jb 0x4ba08c
cmp edi, dword [eax + 0x108]
jae 0x4ba08c
movzx ecx, word [eax + 0xe8]
jmp 0x4ba098
push edi
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 0x14]
shr edx, 4
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], edi
mov edx, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x1c], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x14
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x50]
push eax
mov eax, dword [ebp + 8]
push 2
push ecx
push 0x6b
push edx
push eax
call fcn.004b81c0
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
add esp, 0x24
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jg 0x4ba1e6
test eax, eax
je 0x4ba117
add eax, eax
jmp 0x4ba11c
mov eax, 0x33
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
xor edi, edi
cmp byte [esi + 0x36], 0
mov dword [ebp - 8], edx
jne 0x4ba1a4
mov edi, edx
test edi, edi
jne 0x4ba142
call fcn.00465d60
mov edi, eax
jmp 0x4ba1a4
cmp edi, dword [esi + 0x104]
jb 0x4ba18d
cmp edi, dword [esi + 0x108]
jae 0x4ba18d
movzx eax, word [esi + 0xe8]
cmp ecx, eax
jle 0x4ba1a4
call fcn.00465d60
mov edi, eax
test edi, edi
je 0x4ba20c
movzx ecx, word [esi + 0xe8]
mov edx, dword [ebp - 8]
push ecx
push edx
push edi
call fcn.004da560
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, esi
call fcn.00465b20
jmp 0x4ba1a4
mov eax, dword [ebp - 8]
push ecx
push eax
call fcn.00465cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4ba1a8
mov byte [esi + 0x36], 1
test edi, edi
je 0x4ba20c
mov eax, dword [ebx]
test eax, eax
je 0x4ba1c7
cmp edi, dword [eax + 0x104]
jb 0x4ba1c7
cmp edi, dword [eax + 0x108]
jae 0x4ba1c7
movzx ecx, word [eax + 0xe8]
jmp 0x4ba1d3
push edi
call dword [0x537780]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov ecx, dword [ebp - 0x14]
shr edx, 4
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], edi
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*4]
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 1
mov ecx, dword [ebp - 0x20]
test ecx, ecx
js 0x4ba224
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jbe 0x4ba224
mov edx, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4ba299
cmp dword [ebp - 0x58], 0
jne 0x4ba24a
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x18]
cmp dword [ecx + edx*4], 0
jle 0x4ba289
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4ba25d
mov edi, ebx
call fcn.00481430
test eax, eax
jne 0x4ba289
mov edx, dword [ebx + 4]
lea eax, [esi + esi*4]
mov esi, dword [ebp - 0x18]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x24]
xor ecx, ecx
inc dword [ebx + 0x1c]
lea edx, [edx + esi + 1]
mov byte [eax + 3], cl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x2d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
inc dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ba238
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4ba2ac
mov edi, ebx
call fcn.00481430
test eax, eax
jne 0x4ba2d2
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x2d
mov esi, dword [ebp + 8]
cmp byte [esi + 0x12], 0
jne 0x4ba2ed
cmp dword [esi + 0x1b4], 0
jne 0x4ba2ed
push esi
call fcn.004a6600
add esp, 4
mov edx, dword [ebp - 0x4c]
test dword [edx + 0x18], 0x1000
je 0x4ba371
cmp dword [esi + 0x1b4], 0
jne 0x4ba371
cmp byte [esi + 0x12], 0
jne 0x4ba371
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4ba31b
mov edi, ebx
call fcn.00481430
test eax, eax
jne 0x4ba346
mov edx, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x1c], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x10
push 1
mov edi, ebx
call fcn.00482b70
mov eax, dword [ebx]
add esp, 4
cmp byte [eax + 0x36], 0
jne 0x4ba371
mov edx, dword [ebx + 0x10]
push 1
push str.rows_updated
xor eax, eax
or ecx, 0xffffffff
call fcn.00480a40
add esp, 8
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4ba381
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x204], ecx
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov ecx, esi
call fcn.00465b20
mov eax, dword [ebp - 0x34]
mov ecx, esi
call fcn.00465b20
mov edx, dword [ebp + 0xc]
push edx
mov eax, esi
call fcn.0049e110
mov eax, dword [ebp + 0x10]
add esp, 4
push eax
push esi
call fcn.00491d90
mov ecx, dword [ebp + 0x14]
push ecx
push esi
call fcn.004911a0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret