Function at 0x524bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
xor eax, eax
push esi
push edi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x6c], edx
cmp dword [ecx + 0x24], eax
jne 0x5269ea
mov eax, edx
cmp byte [eax + 0x51], 0
jne 0x5269ea
mov eax, dword [ebp + 0xc]
push ecx
call fcn.004f14e0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x5269ea
mov esi, dword [ebp + 8]
mov edi, eax
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x28], 0xfff0bdc0
test ecx, ecx
je 0x524c81
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
xor edx, edx
mov dword [ebp - 0x28], edx
cmp dword [eax + 0xc], ecx
je 0x524c81
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
add eax, 0xc
add eax, 0x10
inc edx
cmp dword [eax], ecx
jne 0x524c76
mov dword [ebp - 0x28], edx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x68]
push ecx
push edx
push 0x7f
push edi
mov eax, esi
call fcn.004b9680
mov dword [ebp - 0x54], eax
xor eax, eax
cmp dword [edi + 0xc], eax
push edi
setne al
mov dword [ebp - 0x94], eax
mov eax, esi
call fcn.004fda00
add esp, 0x14
test eax, eax
jne 0x5269ea
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp + 8]
push ecx
call fcn.004dd8c0
add esp, 4
test eax, eax
jne 0x5269ea
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
push ebx
mov ebx, dword [edi + 0x28]
lea edx, [ebx + 1]
mov dword [edi + 0x28], edx
test byte [eax + 0x24], 0x80
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edx
jne 0x524cfc
mov dword [ebp - 0x30], 0
jmp 0x524d04
call fcn.004b7800
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
xor esi, esi
mov dword [ebp - 0x44], esi
test ecx, ecx
je 0x524d2c
cmp dword [ebp - 0x30], ecx
jne 0x524d1a
mov ebx, edx
inc edx
mov dword [edi + 0x28], edx
mov ecx, dword [ecx + 0x14]
inc esi
test ecx, ecx
jne 0x524d13
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x524d4b
mov ebx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x90], ecx
mov dword [edi + 0x28], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x34], ebx
movsx edx, word [ecx + 0x2a]
mov ecx, dword [ebp - 0x6c]
add edx, esi
lea eax, [esi + edx*4 + 6]
push 0
push eax
call fcn.004bc820
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x5269e9
mov esi, dword [ebp - 4]
movsx ecx, word [esi + 0x2a]
mov ebx, dword [ebp - 0x44]
mov edx, eax
lea eax, [ebx + 1]
lea edi, [edx + ecx*4]
push eax
mov dword [ebp - 0x70], edi
lea edi, [edi + ebx*4 + 4]
push 1
push edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x2c], eax
call fcn.00480280
xor ecx, ecx
add esp, 0xc
mov byte [edi + ebx + 1], 0
xor eax, eax
cmp cx, word [esi + 0x2a]
jge 0x524dc4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + eax*4], 0xffffffff
movsx edx, word [esi + 0x2a]
inc eax
cmp eax, edx
jl 0x524db4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x24]
xor eax, eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xd4], 0x200
test ebx, ebx
jne 0x524e46
cmp dword [eax + 0x74], ebx
jne 0x524e33
mov ecx, dword [eax]
test byte [ecx + 0x4c], 8
jne 0x524e33
mov byte [eax + 0x17], 1
push eax
call fcn.004cd8b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5269e9
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0
jle 0x524fcc
add eax, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
lea edi, [ebp - 0xec]
call fcn.00512ea0
add esp, 4
test eax, eax
jne 0x5269e9
mov esi, dword [ebp - 4]
movsx eax, word [esi + 0x2a]
xor edi, edi
mov dword [ebp - 0x4c], eax
test eax, eax
jle 0x524f2f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
mov esi, dword [esi + 4]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov esi, dword [ebp - 0x5c]
sub esi, eax
movzx ecx, byte [eax]
movzx edx, byte [esi + eax]
cmp ecx, edx
jne 0x524ed8
test ecx, ecx
jne 0x524eea
mov eax, dword [ebp - 4]
movsx edx, word [eax + 0x28]
cmp edi, edx
jne 0x524ef9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov byte [ebp - 5], 1
mov dword [ebp - 0x40], ecx
jmp 0x524f23
movzx edx, byte [edx + 0x568f80]
movzx ecx, byte [ecx + 0x568f80]
sub ecx, edx
jne 0x524eed
inc eax
jmp 0x524eb0
add dword [ebp - 0x24], 0x14
inc edi
cmp edi, dword [ebp - 0x4c]
jl 0x524ea6
jmp 0x524f2c
cmp dword [ebp - 0x30], 0
je 0x524f12
mov ecx, dword [eax + 4]
lea edx, [edi + edi*4]
test byte [ecx + edx*4 + 0x10], 1
je 0x524f12
mov byte [ebp - 0x1d], 1
jmp 0x524f23
mov eax, dword [eax + 4]
lea ecx, [edi + edi*4]
test byte [eax + ecx*4 + 0x10], 0x60
jne 0x5250ca
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov dword [edx + edi*4], eax
mov esi, dword [ebp - 4]
movsx ecx, word [esi + 0x2a]
cmp edi, ecx
jl 0x524f6a
cmp dword [ebp - 0x30], 0
jne 0x5250ec
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 4]
call fcn.004b6c80
test eax, eax
je 0x5250ec
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
or edi, 0xffffffff
mov byte [ebp - 5], 1
mov dword [ebp - 0x40], ecx
mov eax, str.ROWID
jmp 0x524f7e
test edi, edi
jns 0x524f75
mov eax, str.ROWID
jmp 0x524f7e
mov eax, dword [esi + 4]
lea edx, [edi + edi*4]
mov eax, dword [eax + edx*4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x6c]
mov edx, dword [edx + 0x10]
add ecx, ecx
mov ecx, dword [edx + ecx*8]
mov edx, dword [esi]
push ecx
push eax
mov eax, dword [ebp + 8]
push edx
push 0x17
call fcn.004dbaf0
add esp, 0x10
cmp eax, 1
je 0x5269e9
cmp eax, 2
jne 0x524fb6
mov eax, dword [ebp - 0x1c]
mov dword [eax + edi*4], 0xffffffff
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
add dword [ebp - 0x18], 0x14
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ecx]
jl 0x524e67
mov al, byte [ebp - 0x1d]
add al, byte [ebp - 5]
mov edx, dword [ebp - 4]
test byte [edx + 0x24], 0x60
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x64], al
je 0x5250bc
xor edi, edi
xor eax, eax
mov dword [ebp - 0x5c], edi
cmp ax, word [edx + 0x2a]
jge 0x5250bc
mov dword [ebp - 0x24], edi
lea esp, [esp]
cmp dword [esi + edi*4], 0
jge 0x5250a1
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x24]
test byte [eax + ecx + 0x10], 0x60
je 0x5250a1
mov ecx, dword [eax + ecx + 4]
xor eax, eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov word [ebp - 0xa8], ax
mov dword [ebp - 0xb8], 0x4b8b00
mov dword [ebp - 0xa4], esi
test ecx, ecx
je 0x525080
push ecx
lea ecx, [ebp - 0xbc]
push ecx
call fcn.004c7f90
mov ax, word [ebp - 0xa8]
mov edx, dword [ebp - 4]
add esp, 8
cmp byte [ebp - 5], 0
jne 0x52508e
mov ecx, 0xfffd
and ax, cx
test ax, ax
je 0x5250a1
mov dword [esi + edi*4], 0x1869f
mov dword [ebp - 0x5c], 1
movsx eax, word [edx + 0x2a]
add dword [ebp - 0x24], 0x14
inc edi
cmp edi, eax
jl 0x525000
cmp dword [ebp - 0x5c], 0
jne 0x524fe5
cmp dword [edx + 0x38], 0
je 0x525113
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x525117
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov esi, dword [ebp + 8]
lea edx, [edi + edi*4]
mov edx, dword [ecx + edx*4]
push edx
push str.cannot_UPDATE_generated_column___s_
call fcn.004d7320
add esp, 8
jmp 0x5269e9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4 + 8]
push edx
push str.no_such_column:__s
call fcn.004d7320
add esp, 8
mov byte [esi + 0x11], 1
jmp 0x5269e9
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [eax + 0x40], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x44], edx
movzx eax, byte [ebp - 0x64]
mov edx, dword [ebp - 4]
push eax
push ecx
mov dword [ebp - 0x5c], eax
push edx
mov eax, esi
call fcn.004c2f80
add esp, 0xc
cmp dword [ebp + 0x18], 5
mov dword [ebp - 0x3c], eax
jne 0x525150
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 4]
mov edi, dword [eax + 8]
mov dword [ebp - 0x38], 0
test edi, edi
je 0x52534d
cmp byte [ebp - 0x64], 0
jne 0x525317
cmp dword [ebp - 0x3c], 1
jg 0x525317
cmp edi, dword [ebp - 0x30]
je 0x525317
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x52520b
xor eax, eax
push ecx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xbc]
xor edx, edx
push ecx
mov word [ebp - 0xa8], dx
mov dword [ebp - 0xb8], 0x4b8b00
mov dword [ebp - 0xa4], eax
call fcn.004c7f90
add esp, 8
cmp byte [ebp - 5], 0
jne 0x5251f7
mov edx, 0xfffd
and word [ebp - 0xa8], dx
xor eax, eax
cmp word [ebp - 0xa8], ax
setne al
test eax, eax
jne 0x525317
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xc], ecx
cmp dx, word [edi + 0x32]
jae 0x52532a
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x525230
mov eax, dword [edi + 4]
movzx eax, word [eax + ecx*2]
test ax, ax
js 0x52524c
movsx ecx, ax
xor eax, eax
cmp dword [edx + ecx*4], eax
setge al
jmp 0x5252cf
mov eax, dword [edi + 0x28]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [eax + ecx + 4]
xor eax, eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov word [ebp - 0xf4], ax
mov dword [ebp - 0x104], 0x4b8b00
mov dword [ebp - 0xf0], edx
test ecx, ecx
je 0x5252b7
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.004c7f90
mov ax, word [ebp - 0xf4]
mov edx, dword [ebp - 0x1c]
add esp, 8
cmp byte [ebp - 5], 0
jne 0x5252c5
mov ecx, 0xfffd
and ax, cx
xor ecx, ecx
test ax, ax
setne cl
mov eax, ecx
test eax, eax
jne 0x5252ef
mov ecx, dword [ebp - 0xc]
movzx eax, word [edi + 0x32]
add dword [ebp - 0x24], 0x14
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, eax
jl 0x525230
mov eax, dword [ebp - 0x4c]
jmp 0x52532a
mov ecx, 1
add dword [esi + 0x2c], ecx
movzx edx, word [edi + 0x34]
mov eax, dword [esi + 0x2c]
add edx, eax
cmp dword [ebp + 0x18], 0xb
mov dword [esi + 0x2c], edx
jne 0x525326
cmp byte [edi + 0x36], 5
jne 0x525326
mov dword [ebp - 0x84], ecx
jmp 0x525326
inc dword [esi + 0x2c]
movzx ecx, word [edi + 0x34]
mov eax, dword [esi + 0x2c]
add ecx, eax
mov dword [esi + 0x2c], ecx
test eax, eax
jne 0x525335
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x38]
mov byte [ecx + edx + 1], 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x70]
mov dword [edx + ecx*4], eax
mov edi, dword [edi + 0x14]
inc ecx
mov dword [ebp - 0x38], ecx
test edi, edi
jne 0x525165
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x38]
mov dword [ecx + edx*4], eax
cmp dword [ebp - 0x84], 0
je 0x525377
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x74]
push eax
push 1
push ecx
call fcn.00480280
add esp, 0xc
cmp byte [esi + 0x12], 0
jne 0x525384
or dword [ebx + 0x98], 0x10
cmp dword [ebp - 0x54], 0
jne 0x525397
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], 0
je 0x52539e
mov dword [ebp - 0x18], 1
mov eax, dword [esi + 0x74]
test eax, eax
je 0x5253ac
mov edx, eax
mov dword [ebp - 0x24], edx
jmp 0x5253b1
mov edx, esi
mov dword [ebp - 0x24], esi
test eax, eax
je 0x5253ba
mov dword [ebp - 0x4c], eax
jmp 0x5253bf
mov eax, esi
mov dword [ebp - 0x4c], esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x54]
mov edi, 1
shl edi, cl
test eax, edi
jne 0x5253e8
mov ecx, edi
or ecx, eax
cmp dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x54], ecx
jne 0x5253e8
call fcn.004fdbe0
mov edx, dword [ebp - 0x24]
mov al, byte [ebp - 0x18]
mov ecx, dword [ebp - 4]
or dword [edx + 0x50], edi
or byte [edx + 0x14], al
cmp dword [ecx + 0x38], 0
jne 0x525468
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x70]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x60], edx
mov edx, 1
add dword [esi + 0x2c], edx
cmp byte [ebp - 0x1d], 0
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], eax
jne 0x525429
cmp dword [ebp - 0x54], 0
jne 0x525429
cmp dword [ebp - 0x3c], 0
je 0x52543b
lea edi, [eax + 1]
mov dword [ebp - 0x98], edi
movsx edi, word [ecx + 0x2a]
add edi, eax
mov dword [esi + 0x2c], edi
cmp byte [ebp - 0x64], 0
jne 0x52544d
cmp dword [ebp - 0x54], 0
jne 0x52544d
cmp dword [ebp - 0x3c], 0
je 0x525456
add dword [esi + 0x2c], edx
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x50], eax
movsx ecx, word [ecx + 0x2a]
mov eax, dword [esi + 0x2c]
lea edx, [eax + 1]
add ecx, eax
mov dword [ebp - 0x80], edx
mov dword [esi + 0x2c], ecx
cmp dword [ebp - 0x94], 0
je 0x5254a8
mov edx, dword [esi + 0xf0]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0xcc], edx
mov edx, dword [ebp - 0x14]
push edx
mov edx, dword [ebp + 0x1c]
mov dword [esi + 0xf0], ecx
mov ecx, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push ecx
push eax
push esi
mov dword [ebp - 0xc8], esi
call fcn.0051e470
add esp, 0x18
mov edx, dword [ebp + 0x14]
push edx
lea edi, [ebp - 0xec]
call fcn.00512ea0
add esp, 4
test eax, eax
jne 0x5269e9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x5254f4
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push eax
push edx
mov eax, esi
push eax
call fcn.00524340
add esp, 0x20
jmp 0x5269e9
mov ecx, dword [ebp - 0x6c]
mov eax, esi
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
and ecx, 1
xor eax, eax
or eax, ecx
je 0x525571
mov edx, esi
cmp dword [edx + 0x78], 0
jne 0x525571
mov eax, edx
cmp byte [eax + 0x12], 0
jne 0x525571
cmp dword [ebp + 0x24], 0
jne 0x525571
inc dword [eax + 0x2c]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x78], ecx
cmp dword [ebx + 0x70], eax
jg 0x52554b
push 0
push ecx
push 0
push 0x45
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x525571
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x45
mov eax, dword [ebp - 4]
test byte [eax + 0x24], 0x80
jne 0x525605
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x5255d3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x60]
push ecx
push edx
push 0
push 0x48
mov esi, ebx
call fcn.004c6320
add esp, 0x10
cmp dword [ebp + 0x24], 0
je 0x525706
mov edi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push 0x10
push edx
push eax
xor esi, esi
push ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], 1
call fcn.0051ffa0
add esp, 0x10
mov dword [ebp - 0x4c], esi
jmp 0x5257d8
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x60]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x48
jmp 0x52559c
cmp dword [ebp + 0x24], 0
mov edx, dword [ebp - 0x30]
movzx edx, word [edx + 0x32]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x88], edx
movsx edx, dx
lea edi, [ecx + 1]
lea ecx, [edx + ecx + 1]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0xc], edx
mov dword [eax + 0x2c], ecx
mov dword [ebp - 0x34], ecx
jne 0x5255a9
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x48], ecx
inc ecx
mov dword [eax + 0x28], ecx
mov eax, dword [ebx + 0x6c]
lea ecx, [edx + edi - 1]
cmp dword [ebx + 0x70], eax
jg 0x525665
push ecx
push edi
push 0
push 0x48
mov esi, ebx
call fcn.004c6320
mov edx, dword [ebp - 0xc]
add esp, 0x10
xor esi, esi
jmp 0x52568b
lea esi, [eax + 1]
mov dword [ebx + 0x6c], esi
mov esi, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
xor esi, esi
mov word [eax + 2], si
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], esi
mov word [eax], 0x48
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x5256ab
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x48]
push 0
push ecx
push edx
push 0x64
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x5256d6
mov edi, dword [ebx + 0x68]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
xor edi, edi
mov word [eax + 2], di
mov edi, dword [ebp - 0x48]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x64
mov eax, ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
push ecx
push eax
call fcn.004f13b0
add esp, 8
test eax, eax
je 0x525706
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x5257bc
push 0xfffffffffffffff7
call fcn.004c0a90
add esp, 4
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x12], 0
mov eax, 0x1004
jne 0x525734
cmp dword [ebp - 0x54], 0
jne 0x525734
cmp dword [ebp - 0x3c], 0
jne 0x525734
cmp byte [ebp - 0x64], 0
jne 0x525734
cmp dword [ebp - 0x84], 0
jne 0x525734
mov eax, 0x100c
mov edx, dword [ebp - 0x90]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
push 0
push 0
push eax
push edx
push ecx
call fcn.00514b40
add esp, 0x1c
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5269e9
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0xc4], ecx
movzx ecx, byte [eax + 0x2e]
mov eax, dword [eax + 0x30]
and eax, 1
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x4c], eax
cmp ecx, 1
je 0x5257d5
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x52578f
mov eax, esi
mov byte [eax + 0x14], 1
cmp ecx, 2
jne 0x5257d5
test edx, edx
js 0x5257d5
cmp edx, dword [ebp - 0x14]
je 0x5257d5
sub edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x74]
cmp byte [edx + eax], 0
mov edi, dword [ebp - 0x58]
je 0x5257d8
mov dword [ebp - 0x28], 0
jmp 0x5257d8
mov ecx, dword [esi + 0x6c]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x68]
lea ecx, [ecx + edx*4 - 0x14]
mov byte [ecx + 1], 0xf7
mov dword [ecx + 0x10], eax
jmp 0x525706
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 4]
test byte [ecx + 0x24], 0x80
jne 0x5258a7
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x525806
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor edi, edi
push edi
push edx
push eax
push 0x7f
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x525836
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [ebp - 0x10]
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], 0x7f
xor edi, edi
cmp dword [ebp - 0x28], edi
jne 0x525a78
mov eax, dword [ebp + 8]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x70]
mov dword [ecx + edx*4], eax
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x525876
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x60]
push edi
push edx
push eax
push 0x93
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x525a78
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x60]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax], 0x93
jmp 0x525a78
movsx eax, word [ebp - 0x88]
xor esi, esi
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x5258e5
jmp 0x5258c0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + esi*2]
mov ecx, dword [ebp - 4]
lea edx, [esi + edi]
push edx
mov edx, dword [ebp - 0x14]
push edx
push ecx
push ebx
call fcn.0050b6f0
inc esi
add esp, 0x10
cmp esi, dword [ebp - 0xc]
jl 0x5258c0
cmp dword [ebp - 0x28], 0
je 0x525930
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x52591f
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
jne 0x52591f
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
mov eax, dword [esi + 0x10]
push edx
call fcn.004c0a90
add esp, 4
mov dword [esi + 0x10], 0
mov word [esi], 0xad
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x34], edi
jmp 0x525a76
mov ecx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x30]
push ecx
call fcn.004c9bf0
mov esi, dword [ebx + 0x6c]
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebx + 0x70], esi
jg 0x525964
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
push edx
push eax
push edi
push 0x5b
mov esi, ebx
call fcn.004c6320
mov edx, dword [ebp - 0xc]
add esp, 0x10
jmp 0x525996
mov eax, dword [ebx + 0x68]
lea ecx, [esi + 1]
mov dword [ebx + 0x6c], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x5b
mov eax, esi
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
je 0x5259b4
cmp edx, 0xfffffff4
je 0x525a07
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
push edx
call fcn.004c0a90
add esp, 4
jmp 0x525a04
test eax, eax
jns 0x5259bc
mov eax, dword [ebx + 0x6c]
dec eax
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
test edx, edx
jns 0x5259f3
cmp byte [eax + 1], 0
jne 0x5259f3
mov ecx, dword [ebp - 0x38]
cmp edx, 0xfffffffd
jne 0x5259df
mov dword [eax + 0x10], ecx
mov byte [eax + 1], dl
jmp 0x525a07
test ecx, ecx
je 0x525a07
mov dword [eax + 0x10], ecx
mov byte [eax + 1], dl
cmp edx, 0xfffffff4
jne 0x525a07
inc dword [ecx + 0xc]
jmp 0x525a07
mov edx, dword [ebp - 0x38]
push edx
push eax
mov eax, dword [ebp - 0xc]
push ebx
call fcn.004c0c30
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x525a2c
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
push edi
push eax
push ecx
push 0x82
mov esi, ebx
call fcn.004c6320
mov edx, dword [ebp - 0xc]
add esp, 0x10
jmp 0x525a5e
mov esi, dword [ebx + 0x68]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
xor esi, esi
mov word [eax + 2], si
mov esi, dword [ebp - 0x48]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x34]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov word [eax], 0x82
mov eax, ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
jne 0x525a76
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], edx
xor edi, edi
cmp dword [ebp + 0x24], edi
jne 0x525e53
cmp dword [ebp - 0x28], 2
je 0x525a93
mov edx, dword [ebp - 0x24]
push edx
call fcn.004cc220
add esp, 4
cmp dword [ebp - 0x94], edi
jne 0x525b88
xor esi, esi
cmp dword [ebp - 0x28], edi
je 0x525ad8
mov eax, dword [ebp - 0xc4]
cmp eax, edi
jl 0x525abd
sub eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x74]
mov byte [eax + ecx], 0
mov eax, dword [ebp - 0xc0]
cmp eax, edi
jl 0x525ade
mov ecx, dword [ebp - 0x74]
mov edx, eax
sub edx, dword [ebp - 0x8c]
mov byte [edx + ecx], 0
jmp 0x525ade
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x28], 2
jne 0x525b32
xor edx, edx
cmp eax, edi
mov eax, dword [ebp - 0x44]
setge dl
sub eax, edx
test eax, eax
jle 0x525b32
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x525b0d
push edi
push edi
push edi
push 0x11
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x525b30
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x11
mov eax, ecx
mov esi, eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 4]
push edi
push edi
push eax
mov eax, dword [ebp + 8]
push ecx
push edi
push 0x61
push edx
push eax
call fcn.004f4ec0
add esp, 0x20
cmp esi, edi
je 0x525b88
mov edx, dword [ebx + 0x6c]
lea eax, [edx - 1]
cmp esi, eax
jne 0x525b65
mov dword [ebx + 0x6c], eax
jmp 0x525b88
mov ecx, esi
cmp esi, edi
jge 0x525b6d
mov ecx, eax
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x525b7c
mov eax, 0x596088
jmp 0x525b85
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [ebp - 0x28], edi
je 0x525c88
cmp dword [ebp - 0x94], edi
jne 0x525c23
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc4], eax
je 0x525c23
cmp dword [ebp - 0xc0], eax
je 0x525c23
mov ecx, dword [ebx + 0x6c]
mov edi, dword [ebp - 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x525bd1
mov ecx, dword [ebp - 0x34]
push ecx
push edi
mov edx, eax
push edx
push 0x1d
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x525c03
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x1d
mov eax, ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
jne 0x525c26
mov ecx, dword [ebp - 0x9c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
jmp 0x525c26
mov edi, dword [ebp - 0x18]
cmp dword [ebp - 0x28], 1
je 0x525c38
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x34]
xor edx, edx
cmp dword [ebp - 0x30], edx
jne 0x525c45
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x525c62
push 0
push edi
push ecx
push 0x32
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x525e53
lea esi, [eax + 1]
mov dword [ebx + 0x6c], esi
mov esi, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x32
jmp 0x525e53
cmp dword [ebp - 0x30], edi
je 0x525daf
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x2c], ecx
cmp dword [ebx + 0x70], eax
jg 0x525cbc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x48]
push edi
push edx
push eax
push 0x25
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x525ce8
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x48]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax], 0x25
mov ecx, dword [ebx + 0x6c]
mov edi, dword [ebp - 0x34]
cmp dword [ebx + 0x70], ecx
jg 0x525d0a
mov edx, dword [ebp - 0x48]
push 0
push edi
push edx
push 0x7e
mov esi, ebx
call fcn.004c6320
add esp, 0x10
xor edx, edx
jmp 0x525d37
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [ebp - 0x48]
mov dword [eax + 4], edx
xor edx, edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x7e
mov eax, ecx
mov ecx, dword [ebx + 0x6c]
mov dword [ebp - 0xa0], eax
cmp dword [ebx + 0x70], ecx
jg 0x525d5c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
push edi
push eax
push ecx
push 0x1d
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x525d8a
mov esi, dword [ebx + 0x68]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
xor esi, esi
mov word [eax + 2], si
mov esi, dword [ebp - 0x14]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x2c]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edx
mov word [eax], 0x1d
mov eax, ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
jne 0x525e53
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], 0
jmp 0x525e53
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x525dd4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x60]
push ecx
push edx
push eax
push 0x2a
mov esi, ebx
call fcn.004c6320
add esp, 0x10
mov dword [ebp - 0x2c], eax
jmp 0x525e08
lea edx, [ecx + 1]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [ebp - 0x60]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
mov word [eax], 0x2a
mov eax, ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x525e27
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push eax
push edx
push 0x20
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x525e53
lea edx, [ecx + 1]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
xor edx, edx
mov word [ecx + 2], dx
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov word [ecx], 0x20
cmp byte [ebp - 5], 0
je 0x525f18
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 8]
push edi
push ecx
push edx
call fcn.00522da0
add esp, 0xc
cmp eax, edi
je 0x525ed7
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 8]
test esi, esi
je 0x525ed7
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 4]
and ecx, 0x200000
neg ecx
sbb cl, cl
add cl, 0x4e
movzx edx, cl
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x525eac
push 0
push edi
push eax
push edx
call fcn.004c6320
add esp, 0x10
jmp 0x525ed7
lea edi, [ecx + 1]
mov dword [esi + 0x6c], edi
mov esi, dword [esi + 0x68]
mov edi, dword [ebp - 0x50]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*4]
mov byte [ecx], dl
xor edx, edx
mov dword [ecx + 4], eax
xor eax, eax
mov word [ecx + 2], dx
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x525ef2
push 0
push 0
push edi
push 0xf
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x525f18
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xf
cmp byte [ebp - 0x1d], 0
jne 0x525fcd
cmp dword [ebp - 0x3c], 0
jne 0x525fd7
cmp dword [ebp - 0x54], 0
je 0x5260e9
mov esi, dword [ebp - 4]
xor edi, edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x54]
push esi
push 3
push 0
push ecx
push edx
call fcn.004b96f0
or edi, eax
mov dword [ebp - 0x7c], edi
xor edi, edi
xor eax, eax
add esp, 0x18
mov dword [ebp - 0xc], edi
cmp ax, word [esi + 0x2a]
jge 0x526092
mov dword [ebp - 0x44], edi
mov ecx, dword [ebp - 4]
test byte [ecx + 0x24], 0x20
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x44]
movzx edx, word [eax + edx + 0x10]
mov dword [ebp - 0x88], edx
je 0x525ff6
movzx ecx, di
test cx, cx
js 0x525ff6
movsx ecx, cx
xor esi, esi
xor edi, edi
test ecx, ecx
jle 0x525fae
lea edx, [eax + 0x10]
mov esi, ecx
test byte [edx], 0x20
jne 0x525fa8
inc edi
add edx, 0x14
dec ecx
jne 0x525fa2
lea ecx, [esi + esi*4]
test byte [eax + ecx*4 + 0x10], 0x20
je 0x525fee
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x2c]
sub ax, di
mov edi, dword [ebp - 0xc]
add ax, si
movzx ecx, ax
jmp 0x525ff9
cmp dword [ebp - 0x3c], 0
je 0x525f36
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 8]
push esi
push edx
call fcn.004df940
add esp, 8
mov edi, eax
jmp 0x525f3b
movzx ecx, di
mov edi, dword [ebp - 0xc]
jmp 0x525ff9
movzx ecx, di
mov eax, dword [ebp - 0x7c]
movsx edx, cx
add edx, dword [ebp - 0x98]
cmp eax, 0xffffffff
je 0x526065
cmp edi, 0x20
jge 0x52601c
mov esi, 1
mov ecx, edi
shl esi, cl
test eax, esi
jne 0x526065
test byte [ebp - 0x88], 1
jne 0x526065
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x52603d
push 0
push edx
push 0
push 0x48
mov esi, ebx
call fcn.004c6320
jmp 0x526076
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x48
jmp 0x526079
mov eax, dword [ebp - 4]
push edx
mov edx, dword [ebp - 0x14]
push edx
push eax
push ebx
mov eax, edi
call fcn.0050b6f0
add esp, 0x10
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x2a]
add dword [ebp - 0x44], 0x14
inc edi
mov dword [ebp - 0xc], edi
cmp edi, edx
jl 0x525f70
xor edi, edi
cmp byte [ebp - 5], 0
jne 0x5260e9
cmp dword [ebp - 0x30], edi
jne 0x5260e9
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x5260bd
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
push 0
push eax
push ecx
push 0x4d
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x5260e9
mov ecx, dword [ebx + 0x68]
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [ebp - 0x50]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax], 0x4d
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push ecx
push 1
push 1
push edx
push eax
mov eax, dword [ebp - 0x54]
call fcn.004b96f0
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x80]
xor esi, esi
xor ecx, ecx
add esp, 0x18
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xc], esi
cmp cx, word [edx + 0x2a]
jge 0x526167
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x28]
cmp esi, ecx
jne 0x526240
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x526218
push 0
push edi
push 0
push 0x48
mov esi, ebx
call fcn.004c6320
add esp, 0x10
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x2a]
add dword [ebp - 0x44], 0x14
inc esi
inc edi
mov dword [ebp - 0xc], esi
cmp esi, edx
jl 0x526124
mov eax, dword [ebp - 4]
test byte [eax + 0x24], 0x60
je 0x526180
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.0050c920
add esp, 8
test byte [ebp - 0x68], 1
je 0x52649b
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 4]
push ebx
call fcn.004c9ca0
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x2c]
add esp, 8
test esi, esi
je 0x5261e4
cmp byte [esi + 8], 0x7f
jne 0x5261dd
cmp byte [esi + 9], 1
jne 0x5261dd
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp + 0x10]
push ecx
call fcn.004b95b0
add esp, 4
test eax, eax
je 0x5261dd
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
push edi
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
call fcn.0052a4d0
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x5261a4
xor edx, edx
cmp dword [ebp - 0x30], edx
je 0x5263c0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x526372
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
push eax
push ecx
push edx
push 0x1d
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x5263a0
mov ecx, dword [ebx + 0x68]
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x48
jmp 0x526153
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x44]
movzx eax, word [eax + ecx + 0x10]
test al, 0x60
je 0x52625d
test al, 0x20
je 0x526153
dec edi
jmp 0x526153
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + esi*4]
xor edx, edx
cmp eax, edx
jl 0x526301
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 + 4]
push edi
push eax
push edx
mov dword [ebp - 0x98], eax
call fcn.00522da0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x7c], esi
cmp esi, edi
je 0x526150
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
test edx, edx
je 0x526150
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 4]
and ecx, 0x200000
neg ecx
sbb cl, cl
add cl, 0x4e
movzx eax, cl
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x5262d3
push 0
push edi
push esi
push eax
mov esi, edx
jmp 0x526148
lea esi, [ecx + 1]
mov dword [edx + 0x6c], esi
mov edx, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
mov edx, dword [ebp - 0x7c]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov dword [ecx + 4], edx
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
jmp 0x526150
test dword [ebp - 0x68], 1
je 0x526352
cmp esi, 0x1f
jg 0x526352
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [ebp - 0x88], eax
jne 0x526352
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x52613f
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x48
jmp 0x526153
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
push edi
push edx
push eax
push ebx
mov eax, esi
call fcn.0050b6f0
add esp, 0x10
mov dword [ebp - 0x4c], 0
jmp 0x526153
mov esi, dword [ebx + 0x68]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
xor esi, esi
mov word [eax + 2], si
mov esi, dword [ebp - 0x14]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x34]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
mov word [eax], 0x1d
mov eax, ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
jne 0x52640e
mov ecx, dword [ebp - 0x9c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
jmp 0x52640e
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x5263e2
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
push edx
push eax
push ecx
push 0x20
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x52640e
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x20
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0x80]
xor eax, eax
xor esi, esi
mov dword [ebp - 0x40], edx
cmp ax, word [edi + 0x2a]
jge 0x526483
mov dword [ebp - 0x68], esi
lea ecx, [esi + 1]
jmp 0x526430
mov edx, dword [edi + 4]
mov eax, dword [ebp - 0x68]
movzx eax, word [eax + edx + 0x10]
test al, 0x60
je 0x526448
test al, 0x20
je 0x526472
sub dword [ebp - 0x40], ecx
jmp 0x526472
mov edx, dword [ebp - 0x1c]
cmp dword [edx + esi*4], 0
jge 0x526472
movsx eax, word [edi + 0x28]
cmp esi, eax
je 0x526472
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push edi
push ebx
mov eax, esi
call fcn.0050b6f0
add esp, 0x10
mov ecx, 1
movsx eax, word [edi + 0x2a]
add dword [ebp - 0x68], 0x14
add dword [ebp - 0x40], ecx
add esi, ecx
cmp esi, eax
jl 0x526430
test byte [edi + 0x24], 0x60
je 0x52649b
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp + 8]
push ecx
push edx
mov eax, edi
call fcn.0050c920
add esp, 8
cmp dword [ebp - 0x94], 0
jne 0x526700
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp - 0x14]
push 0
push eax
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x70]
push edx
mov edx, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push edi
push ecx
push edx
push eax
call fcn.00526e20
add esp, 0x34
cmp dword [ebp - 0x84], 0
jne 0x5264fb
cmp byte [ebp - 0x64], 0
je 0x5265b6
cmp dword [ebp - 0x30], 0
je 0x52656f
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x526520
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
push ecx
push edx
push edi
push 0x1d
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x52654f
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x1d
mov eax, ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
jne 0x5265b6
mov ecx, dword [ebp - 0x9c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
jmp 0x5265b6
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x52658e
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
push edx
push eax
push edi
push 0x20
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x5265b6
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x6c], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov dword [eax], 0x20
xor esi, esi
cmp dword [ebp - 0x3c], esi
je 0x5265da
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ecx
call fcn.00518880
add esp, 0x18
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push edx
push eax
push edi
push ecx
mov ecx, dword [ebp - 4]
call fcn.00518130
add esp, 0x14
cmp dword [ebp - 0x4c], esi
je 0x52663d
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x52661c
push 0
push 0
push edi
push 0x87
mov esi, ebx
call fcn.004c6320
add esp, 0x10
xor esi, esi
jmp 0x52663d
mov ecx, dword [ebx + 0x68]
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax], 0x87
cmp dword [ebp - 0x3c], 1
jg 0x526649
cmp byte [ebp - 0x64], 0
je 0x526687
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x526666
push 0
push 0
push edi
push 0x7a
mov esi, ebx
call fcn.004c6320
add esp, 0x10
xor esi, esi
jmp 0x526687
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov dword [ebx + 0x6c], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax], 0x7a
cmp dword [ebp - 0x3c], esi
je 0x5266a9
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
push edx
mov edx, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ecx
push esi
push edx
push eax
call fcn.00518880
add esp, 0x18
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x50]
xor ecx, ecx
cmp dword [ebp - 0x28], 2
push esi
setne cl
push esi
dec ecx
and ecx, 2
or ecx, 4
push ecx
mov ecx, dword [ebp - 0x90]
push edx
mov edx, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ecx
push edi
push edx
push eax
call fcn.004d4d00
add esp, 0x24
cmp dword [ebp - 0x3c], esi
je 0x526700
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.004fedb0
add esp, 0x14
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x526749
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x526722
push 0
push 1
push ecx
push 0x52
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x526749
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x52
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x2c]
test esi, esi
je 0x526793
cmp byte [esi + 8], 0x7f
jne 0x52678c
cmp byte [esi + 9], 2
jne 0x52678c
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [ebp + 0x10]
call fcn.004b95b0
add esp, 4
test eax, eax
je 0x52678c
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push edi
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push esi
push ecx
call fcn.0052a4d0
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x526753
mov eax, dword [ebp - 0x28]
cmp eax, 1
je 0x5268a3
cmp eax, 2
jne 0x5267e8
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x3c]
add edx, dword [eax + 0x38]
not edi
jns 0x5267ce
push edi
push ebx
mov edi, eax
call fcn.004c68c0
mov edx, dword [ebp - 0x24]
add esp, 8
push edx
call fcn.004cc220
add esp, 4
jmp 0x5268a3
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebx + 0x6c]
push edx
mov dword [eax + edi*4], ecx
call fcn.004cc220
add esp, 4
jmp 0x5268a3
xor ecx, ecx
cmp dword [ebp - 0x30], ecx
je 0x526867
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x3c]
add ecx, dword [eax + 0x38]
not edi
jns 0x52680e
push edi
push ebx
mov edi, eax
call fcn.004c68c0
add esp, 8
jmp 0x526817
mov edx, dword [eax + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [edx + edi*4], eax
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x52683a
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x48]
push 0
push ecx
push edx
push 5
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x5268a3
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x48]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [ebp - 0xa0]
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
xor ecx, ecx
mov word [eax], 5
jmp 0x52689d
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x526882
push 0
push edi
push 0
push 0xb
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x5268a3
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax], 0xb
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov edi, dword [ebx + 0xc]
mov ecx, dword [edi + 0x3c]
add ecx, dword [edi + 0x38]
mov eax, dword [ebp - 0x18]
not eax
jns 0x5268bf
push eax
push ebx
call fcn.004c68c0
add esp, 8
jmp 0x5268c8
mov edx, dword [edi + 0x40]
mov ecx, dword [ebx + 0x6c]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp + 8]
cmp byte [eax + 0x12], 0
jne 0x5268ec
cmp dword [eax + 0x78], 0
jne 0x5268ec
cmp dword [ebp + 0x24], 0
jne 0x5268ec
cmp dword [eax + 0x70], 0
je 0x5268ec
push eax
call fcn.004f4d90
add esp, 4
cmp dword [ebp - 0x78], 0
je 0x5269e9
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x526914
mov edx, dword [ebp - 0x78]
push 0
push 1
push edx
push 0x50
mov esi, ebx
call fcn.004c6320
add esp, 0x10
jmp 0x526941
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x78]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x50
push 1
mov eax, ebx
call fcn.004c0e50
mov eax, dword [ebx]
add esp, 4
cmp byte [eax + 0x51], 0
jne 0x5269e9
mov ebx, dword [ebx + 0x74]
mov ecx, 0x2400
mov esi, 0x202
test word [ebx + 8], cx
jne 0x526972
cmp dword [ebx + 0x18], 0
je 0x526979
mov eax, ebx
call fcn.004b3ab0
xor edx, edx
mov ecx, str.rows_updated
mov dword [ebx + 0x10], ecx
cmp edx, 0x4ae0d0
jne 0x5269d2
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x14], ecx
test eax, eax
je 0x5269c3
cmp dword [eax + 0x14c], ecx
jbe 0x5269c3
cmp dword [eax + 0x144], ecx
ja 0x5269af
mov eax, 0x80
mov dword [ebx + 0x18], eax
jmp 0x5269da
cmp dword [eax + 0x148], ecx
ja 0x5269c3
movzx eax, word [eax + 0x11e]
mov dword [ebx + 0x18], eax
jmp 0x5269da
push ecx
call dword [0x58e7cc]
add esp, 4
mov dword [ebx + 0x18], eax
jmp 0x5269da
mov dword [ebx + 0x24], edx
mov esi, 0xa02
mov dword [ebx + 0xc], 0xc
mov word [ebx + 8], si
mov byte [ebx + 0xa], 1
pop ebx
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x526a00
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 0xf0], ecx
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x6c]
test esi, esi
je 0x526ab9
test edi, edi
je 0x526a64
cmp dword [edi + 0x1f8], 0
je 0x526a29
mov eax, esi
mov ecx, edi
call fcn.004ae1b0
jmp 0x526ab9
cmp esi, dword [edi + 0x14c]
jae 0x526a64
cmp esi, dword [edi + 0x144]
jb 0x526a4c
mov edx, dword [edi + 0x140]
mov dword [esi], edx
mov dword [edi + 0x140], esi
jmp 0x526ab9
cmp esi, dword [edi + 0x148]
jb 0x526a64
mov eax, dword [edi + 0x138]
mov dword [esi], eax
mov dword [edi + 0x138], esi
jmp 0x526ab9
cmp dword [0x58e7a0], 0
je 0x526aaf
mov eax, dword [0x5963f8]
test eax, eax
je 0x526a80
push eax
call dword [0x58e7f0]
add esp, 4
push esi
call dword [0x58e7cc]
sub dword [0x596398], eax
dec dword [0x5963bc]
push esi
call dword [0x58e7c4]
mov eax, dword [0x5963f8]
add esp, 8
test eax, eax
je 0x526ab9
push eax
call dword [0x58e7f8]
jmp 0x526ab6
push esi
call dword [0x58e7c4]
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, edi
call fcn.004b80f0
mov eax, dword [ebp + 0x10]
add esp, 4
test eax, eax
je 0x526ad8
push eax
push edi
call fcn.004c8500
add esp, 8
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x526ae9
push eax
push edi
call fcn.004c8350
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret