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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
xor eax, eax
mov dword [ebp - 0xa4], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x44], 0
mov edi, dword [esi]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x50], edi
cmp dword [esi + 0x24], eax
jne 0x52d5b2
cmp byte [edi + 0x51], al
jne 0x52d5b2
push dword [ebp + 0xc]
push esi
call fcn.00529f10
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x52d5af
mov ecx, dword [ebx + 0x48]
mov dword [ebp - 0x2c], 0xfff0bdc0
test ecx, ecx
je 0x52bb4b
mov eax, dword [esi]
xor edi, edi
mov dword [ebp - 0x2c], edi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x52bb4b
jmp 0x52bb40
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x52bb40
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0xa0]
push eax
push dword [ebp + 0x10]
push 0x7f
push ebx
push esi
call fcn.0052b6b0
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xc]
push ebx
push esi
mov dword [ebp - 0x78], eax
call fcn.0053b0b0
add esp, 0x1c
test eax, eax
jne 0x52d5af
push dword [ebp - 0xa0]
push ebx
push esi
call fcn.0051af90
add esp, 0xc
test eax, eax
jne 0x52d5af
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x88], edx
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
test byte [ebx + 0x24], 0x80
mov dword [ebp - 0x6c], eax
jne 0x52bbb5
mov dword [ebp - 0x28], 0
jmp 0x52bbc4
push ebx
call fcn.00523810
mov dword [ebp - 0x28], eax
add esp, 4
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0x9c], edi
test ecx, ecx
je 0x52bbfc
mov ebx, dword [ebp - 0x10]
mov edx, eax
cmp dword [ebp - 0x28], ecx
mov eax, edx
cmovne eax, ebx
inc edx
mov dword [esi + 0x28], edx
inc edi
mov ecx, dword [ecx + 0x14]
mov ebx, eax
test ecx, ecx
jne 0x52bbd8
mov dword [ebp - 0x10], ebx
mov edx, eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x9c], edi
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x52bc18
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x6c], ecx
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [eax + 0x34], edx
movsx eax, word [ebx + 0x2a]
add eax, edi
lea eax, [eax*4 + 6]
add eax, edi
push eax
push dword [ebp - 0x50]
call fcn.0050c410
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x52d5af
movsx eax, word [ebx + 0x2a]
lea eax, [ecx + eax*4]
lea ecx, [eax + 4]
mov dword [ebp - 0x64], eax
lea eax, [edi + 1]
push eax
lea ecx, [ecx + edi*4]
push 1
push ecx
mov dword [ebp - 0x58], ecx
call fcn.0048e2e0
mov eax, dword [ebp - 0x58]
add esp, 0xc
xor ecx, ecx
mov byte [eax + edi + 1], 0
xor eax, eax
cmp ax, word [ebx + 0x2a]
jge 0x52bc93
mov esi, dword [ebp - 0x20]
nop
mov dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x2a]
cmp ecx, eax
jl 0x52bc80
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x108], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0xf4], 0x200
mov dword [ebp - 8], eax
test eax, eax
jne 0x52bd0c
cmp dword [esi + 0x74], eax
jne 0x52bcf8
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x52bcf8
mov byte [esi + 0x17], 1
push esi
call fcn.0052eaa0
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x52d5a1
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
xor al, al
mov byte [ebp - 0x19], 0
mov byte [ebp - 9], al
mov dword [ebp - 0x54], ebx
cmp dword [ecx], ebx
jle 0x52bee4
lea esi, [ecx + 4]
mov dword [ebp - 0x18], esi
jmp 0x52bd30
push dword [esi]
lea eax, [ebp - 0x10c]
push eax
call fcn.00524970
add esp, 8
test eax, eax
jne 0x52d5a1
mov edx, dword [ebp - 4]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x52bdcf
mov eax, dword [edx + 4]
mov ebx, eax
mov dword [ebp - 0x40], eax
mov edi, edi
mov edx, dword [ebx]
mov esi, dword [esi + 4]
mov dword [ebp - 0x84], edx
sub esi, edx
lea ecx, [ecx]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x52bda5
test ecx, ecx
jne 0x52bdb7
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x52be38
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x54]
mov byte [ebp - 9], 1
mov eax, dword [esi]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + edi*4], ebx
jmp 0x52bdcf
movzx eax, byte [eax + 0x58c630]
movzx ecx, byte [ecx + 0x58c630]
sub ecx, eax
jne 0x52bdba
inc edx
jmp 0x52bd70
mov edx, dword [ebp - 4]
inc edi
mov esi, dword [ebp - 0x18]
add ebx, 0x14
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x52bd60
mov ebx, dword [ebp - 0x54]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x52be7f
cmp dword [ebp - 0x28], 0
jne 0x52c01a
mov esi, dword [esi + 4]
push str._ROWID_
push esi
call fcn.0052a920
add esp, 8
test eax, eax
je 0x52be22
push str.ROWID
push esi
call fcn.0052a920
add esp, 8
test eax, eax
je 0x52be22
push 0x592dfc
push esi
call fcn.0052a920
add esp, 8
test eax, eax
jne 0x52c01a
mov esi, dword [ebp - 0x18]
or edi, 0xffffffff
mov byte [ebp - 9], 1
mov edx, str.ROWID
mov eax, dword [esi]
mov dword [ebp - 0x80], eax
jmp 0x52be93
cmp dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x40]
je 0x52be60
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 1
je 0x52be60
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x18]
mov byte [ebp - 0x19], 1
mov dword [eax + edi*4], ebx
jmp 0x52bdcf
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x52bfff
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x18]
mov dword [eax + edi*4], ebx
jmp 0x52bdcf
test edi, edi
jns 0x52be8a
mov edx, str.ROWID
jmp 0x52be93
mov eax, dword [edx + 4]
lea ecx, [edi + edi*4]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x2c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov eax, dword [ebp - 4]
push edx
push dword [eax]
push 0x17
push dword [ebp + 8]
call fcn.005040f0
add esp, 0x14
cmp eax, 1
je 0x52d5a1
cmp eax, 2
jne 0x52becc
mov eax, dword [ebp - 0x20]
mov dword [eax + edi*4], 0xffffffff
mov ecx, dword [ebp + 0x10]
inc ebx
add esi, 0x14
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x18], esi
cmp ebx, dword [ecx]
jl 0x52bd30
mov al, byte [ebp - 9]
mov edx, dword [ebp - 4]
mov bh, byte [ebp - 0x19]
add bh, al
mov dword [ebp - 0x40], 0xfffd
mov byte [ebp - 0x60], bh
test byte [edx + 0x24], 0x60
je 0x52bff1
movzx eax, word [edx + 0x2a]
xor ecx, ecx
xor ebx, ebx
xor esi, esi
cmp cx, ax
jge 0x52bfee
xor edi, edi
jmp 0x52bf20
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + esi*4], 0
jge 0x52bfd1
mov eax, dword [edx + 4]
test byte [eax + edi + 0x10], 0x60
je 0x52bfd1
mov eax, dword [eax + edi + 4]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xc0], 0x4e0260
mov dword [ebp - 0xac], ecx
test eax, eax
je 0x52bfaf
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0054d8e0
mov edx, dword [ebp - 4]
add esp, 8
mov ecx, dword [ebp - 0x20]
cmp byte [ebp - 9], 0
mov ax, word [ebp - 0xb0]
jne 0x52bfc0
and ax, word [ebp - 0x40]
test ax, ax
je 0x52bfd1
mov dword [ecx + esi*4], 0x1869f
mov ebx, 1
movzx eax, word [edx + 0x2a]
inc esi
mov ecx, eax
add edi, 0x14
cwde
cmp esi, eax
jl 0x52bf20
mov eax, ecx
test ebx, ebx
jne 0x52bf04
mov bh, byte [ebp - 0x60]
cmp dword [edx + 0x38], 0
je 0x52c03e
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x52c042
push dword [ebp - 0x84]
push str.cannot_UPDATE_generated_column___s_
push dword [ebp + 8]
call fcn.0050e160
add esp, 0xc
jmp 0x52d5a1
mov ecx, dword [ebp + 0x10]
lea eax, [ebx + ebx*4]
mov ebx, dword [ebp + 8]
push dword [ecx + eax*4 + 8]
push str.no_such_column:__s
push ebx
call fcn.0050e160
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x52d5a1
xor eax, eax
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x40], eax
movzx eax, bh
push eax
push dword [ebp - 0x20]
mov dword [esi + 0x44], ecx
push edx
push dword [ebp + 8]
mov dword [ebp - 0x84], eax
call fcn.00515430
mov ecx, eax
add esp, 0x10
cmp dword [ebp + 0x18], 5
mov edx, 1
mov eax, dword [ebp - 0x5c]
cmove eax, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x5c], eax
xor edi, edi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x70], edi
mov esi, dword [eax + 8]
test esi, esi
je 0x52c239
mov ebx, dword [ebp - 0x58]
inc ebx
mov dword [ebp - 0x18], ebx
cmp byte [ebp - 0x60], 0
jne 0x52c1fe
cmp ecx, 1
jg 0x52c1fe
cmp esi, dword [ebp - 0x28]
je 0x52c1fe
mov eax, dword [esi + 0x24]
test eax, eax
je 0x52c119
xor ecx, ecx
mov dword [ebp - 0xc0], 0x4e0260
push eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0x20]
push eax
mov dword [ebp - 0xac], ecx
call fcn.0054d8e0
mov ax, word [ebp - 0xb0]
add esp, 8
cmp byte [ebp - 9], 0
jne 0x52c110
mov ecx, 0xfffd
and ax, cx
test ax, ax
jne 0x52c1fe
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [ebp - 0x40], ecx
cmp ax, word [esi + 0x32]
jae 0x52c214
xor ebx, ebx
mov edi, edi
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x52c14a
mov ecx, dword [ebp - 0x20]
cwde
mov eax, dword [ecx + eax*4]
not eax
shr eax, 0x1f
jmp 0x52c1b5
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], ecx
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xe8], 0x4e0260
mov dword [ebp - 0xd4], ecx
test eax, eax
je 0x52c198
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0054d8e0
add esp, 8
cmp byte [ebp - 9], 0
mov cx, word [ebp - 0xd8]
jne 0x52c1ad
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
setne al
test eax, eax
jne 0x52c1d1
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x14
cmp edi, eax
jl 0x52c130
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x18]
jmp 0x52c214
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x70]
inc dword [edx + 0x2c]
movzx eax, word [esi + 0x34]
mov ecx, dword [edx + 0x2c]
add eax, ecx
cmp dword [ebp + 0x18], 0xb
mov dword [edx + 0x2c], eax
jne 0x52c210
cmp byte [esi + 0x36], 5
jne 0x52c210
mov dword [ebp - 0x5c], 1
jmp 0x52c210
mov edx, dword [ebp + 8]
inc dword [edx + 0x2c]
movzx eax, word [esi + 0x34]
mov ecx, dword [edx + 0x2c]
add eax, ecx
mov dword [edx + 0x2c], eax
test ecx, ecx
jne 0x52c21a
mov edi, dword [ebp - 0x70]
mov byte [ebx], 0
mov eax, dword [ebp - 0x64]
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [eax + edi*4], ecx
inc edi
mov esi, dword [esi + 0x14]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x70], edi
test esi, esi
jne 0x52c095
mov bh, byte [ebp - 0x60]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x64]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + edi*4], eax
cmp dword [ebp - 0x5c], 0
je 0x52c263
mov eax, dword [ebp - 0x9c]
inc eax
push eax
push 1
push dword [ebp - 0x58]
call fcn.0048e2e0
add esp, 0xc
cmp byte [esi + 0x12], 0
jne 0x52c273
mov eax, dword [ebp - 8]
or dword [eax + 0x98], 0x10
cmp dword [ebp - 0x38], 0
jne 0x52c283
cmp dword [ebp - 0x4c], 0
jne 0x52c283
xor bl, bl
jmp 0x52c285
mov bl, 1
mov eax, dword [esi + 0x74]
test eax, eax
mov ecx, dword [ebp - 0x2c]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x52c2b5
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x52c2b5
push esi
call fcn.0051d630
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov eax, dword [esi + 0x50]
or byte [esi + 0x14], bl
bts eax, ecx
mov dword [esi + 0x50], eax
mov esi, dword [ebp - 4]
cmp dword [esi + 0x38], 0
jne 0x52c337
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + edi*4]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov edx, dword [edi + 0x2c]
inc edx
cmp byte [ebp - 0x19], 0
mov dword [ebp - 0x34], edx
mov dword [edi + 0x2c], edx
mov dword [ebp - 0x14], edx
jne 0x52c2f8
cmp dword [ebp - 0x38], 0
jne 0x52c2f8
mov eax, dword [ebp - 0x4c]
mov ecx, edx
test eax, eax
je 0x52c30d
movsx ecx, word [esi + 0x2a]
lea eax, [edx + 1]
add ecx, edx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x2c], ecx
test bh, bh
jne 0x52c31b
cmp dword [ebp - 0x38], 0
jne 0x52c31b
test eax, eax
je 0x52c326
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
mov ecx, eax
mov dword [edi + 0x2c], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x74], eax
movsx eax, word [esi + 0x2a]
add eax, ecx
mov dword [edi + 0x2c], eax
jmp 0x52c33a
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp + 0x14]
test ecx, ecx
je 0x52c372
push dword [ebp - 0x10]
mov eax, dword [edi + 0xf0]
push dword [ebp + 0x20]
mov dword [ebp - 0xcc], eax
push dword [ebp + 0x1c]
mov eax, dword [esi]
push ebx
push esi
push edi
mov dword [ebp - 0xc8], edi
mov dword [edi + 0xf0], eax
call fcn.0051cca0
add esp, 0x18
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00524970
add esp, 8
test eax, eax
jne 0x52d58b
cmp dword [esi + 0x38], eax
je 0x52c3ae
push dword [ebp + 0x18]
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x80]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push edi
call fcn.00546ae0
add esp, 0x20
jmp 0x52d58b
mov eax, dword [ebp - 0x50]
dec dword [edi + 0x38]
mov ebx, dword [edi + 0x38]
mov dword [ebp - 0x3c], ebx
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
mov dword [ebp - 0x18], ebx
or eax, ecx
je 0x52c438
cmp dword [edi + 0x78], 0
jne 0x52c438
cmp byte [edi + 0x12], 0
jne 0x52c438
cmp dword [ebp + 0x24], 0
jne 0x52c438
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
mov edi, dword [ebp - 8]
mov dword [ebp - 0xa8], edx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52c404
push 0
push edx
push 0
push 0x45
push edi
call fcn.004efc20
add esp, 0x14
jmp 0x52c43b
mov ebx, dword [ebp - 0x3c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52c43b
mov edi, dword [ebp - 8]
test byte [esi + 0x24], 0x80
jne 0x52c513
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52c462
push dword [ebp - 0x14]
push dword [ebp - 0x30]
push 0
push 0x48
push edi
call fcn.004efc20
add esp, 0x14
jmp 0x52c493
mov edx, dword [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x24], 0
je 0x52c63c
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edi, 1
push 0x10
push ebx
push eax
push ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], edi
call fcn.00511920
mov ebx, dword [ebp - 0xcc]
add esp, 0x10
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 4]
test byte [ecx + 0x24], 0x80
jne 0x52c7a0
mov esi, dword [ebp - 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52c6fc
push 0
push dword [ebp - 0x14]
push edx
push 0x7f
push esi
call fcn.004efc20
mov edx, dword [ebp - 0x14]
add esp, 0x14
jmp 0x52c72d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
movzx esi, word [eax + 0x32]
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x7c], esi
movsx esi, si
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [ebp - 0x48], edx
cmp dword [ebp + 0x24], 0
mov dword [ebp - 0x24], eax
mov dword [ecx + 0x2c], eax
jne 0x52c4a0
mov ebx, ecx
dec edx
add edx, esi
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x44], eax
inc eax
mov dword [ebx + 0x28], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52c569
push edx
push dword [ebp - 0x48]
push 0
push 0x48
push edi
call fcn.004efc20
add esp, 0x14
jmp 0x52c59a
mov ebx, dword [ebp - 0x48]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov dword [ebp - 0x98], ecx
cmp dword [edi + 0x70], ecx
jg 0x52c5c1
push 0
push esi
push dword [ebp - 0x44]
push 0x64
push edi
call fcn.004efc20
add esp, 0x14
mov dword [ebp - 0x98], eax
jmp 0x52c5ef
mov edx, dword [ebp - 0x44]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp - 0x28]
mov esi, dword [ebx + 8]
push ebx
call fcn.0051b4f0
mov edx, eax
add esp, 8
test edx, edx
je 0x52c63f
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x52c628
cmp dword [eax + 0x1f8], 0
jne 0x52c63f
add dword [edx], 0xffffffff
jne 0x52c63f
push edx
push dword [edx + 0xc]
call fcn.0050c300
add esp, 8
jmp 0x52c63f
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
jmp 0x52c63f
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x12], 0
mov eax, 0x1004
jne 0x52c668
cmp dword [ebp - 0x38], 0
jne 0x52c668
cmp dword [ebp - 0x4c], 0
jne 0x52c668
cmp byte [ebp - 0x60], 0
jne 0x52c668
cmp dword [ebp - 0x5c], 0
mov ecx, 0x100c
cmove eax, ecx
push dword [ebp - 0x6c]
push eax
mov eax, dword [ebp + 0x14]
push 0
push 0
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0053d310
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x40], esi
test esi, esi
je 0x52d58b
movzx edi, byte [esi + 0x2e]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x14]
and ecx, 1
mov ebx, dword [esi + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x8c], ecx
cmp edi, 1
je 0x52c4de
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
cmp edi, 2
jne 0x52c4de
test ebx, ebx
js 0x52c4de
cmp ebx, edx
je 0x52c4de
mov ecx, dword [ebp - 0x58]
mov eax, ebx
sub eax, dword [ebp - 0x88]
xor esi, esi
cmp byte [eax + ecx], 0
cmovne edi, esi
mov dword [ebp - 0x2c], edi
jmp 0x52c4de
mov edi, dword [ebp - 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
jne 0x52c8c2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x64]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [ebx + ecx*4], eax
mov ecx, dword [esi + 0x6c]
mov ebx, dword [ebp - 0x54]
cmp dword [esi + 0x70], ecx
jg 0x52c76a
push edi
push edx
push dword [ebp - 0x30]
push 0x93
push esi
call fcn.004efc20
add esp, 0x14
jmp 0x52c8c2
mov edx, dword [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52c8c2
mov eax, dword [ebp - 0x7c]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x52c7da
mov ebx, dword [ebp - 8]
nop
mov eax, dword [ebp - 0x48]
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push edx
push ecx
push ebx
call fcn.0050ef30
mov ecx, dword [ebp - 4]
inc esi
mov edx, dword [ebp - 0x10]
add esp, 0x14
cmp esi, edi
jl 0x52c7b0
mov ebx, dword [ebp - 0x54]
cmp dword [ebp - 0x2c], 0
je 0x52c82d
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x52c81c
mov esi, dword [ebp - 8]
mov edx, dword [esi]
cmp byte [edx + 0x51], 0
jne 0x52c81c
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push edx
call fcn.004ed0e0
add esp, 0xc
mov word [esi], 0xad
mov dword [esi + 0x10], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x24], eax
jmp 0x52c8bf
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x50]
call fcn.00519170
mov esi, dword [ebp - 8]
add esp, 8
push eax
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x48]
push 0x5b
push esi
call fcn.0052e160
mov edx, dword [esi + 0x6c]
add esp, 0x1c
cmp dword [esi + 0x70], edx
jg 0x52c875
push dword [ebp - 0x48]
push dword [ebp - 0x24]
push dword [ebp - 0x44]
push 0x82
push esi
call fcn.004efc20
add esp, 0x14
mov edx, eax
jmp 0x52c8a8
mov ebx, dword [ebp - 0x44]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp - 0x24]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [ebp - 0x48]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [ebp - 0x54]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x52c8bf
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edi, dword [ebp - 0x2c]
cmp dword [ebp + 0x24], 0
jne 0x52cc4b
cmp edi, 2
je 0x52c8dc
push dword [ebp - 0x40]
call fcn.00540230
add esp, 4
mov ecx, dword [ebp - 0x78]
test ecx, ecx
jne 0x52ca14
xor esi, esi
test edi, edi
je 0x52c90f
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x58]
test eax, eax
js 0x52c903
sub eax, edx
mov byte [eax + ecx], 0
test ebx, ebx
js 0x52c90f
mov eax, ebx
sub eax, edx
mov byte [eax + ecx], 0
cmp edi, 2
jne 0x52c97a
mov ecx, dword [ebp - 0x9c]
xor eax, eax
test ebx, ebx
setns al
sub ecx, eax
test ecx, ecx
jle 0x52c97a
mov edx, dword [ebp - 8]
mov esi, dword [edx + 0x6c]
cmp dword [edx + 0x70], esi
jg 0x52c947
push 0
push 0
push 0
push 0x11
push edx
call fcn.004efc20
add esp, 0x14
mov esi, eax
jmp 0x52c97a
lea eax, [esi + 1]
mov dword [edx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 4]
push 0
push 0
push dword [ebp - 0x58]
push dword [ebp - 0x88]
push 0
push 0x61
push eax
push dword [ebp + 8]
call fcn.0051d410
mov eax, dword [ebp - 8]
add esp, 0x20
test esi, esi
je 0x52c9ae
mov edx, dword [eax + 0x6c]
lea ecx, [edx - 1]
cmp esi, ecx
jne 0x52c9e5
mov dword [eax + 0x6c], ecx
mov ecx, dword [ebp - 0x78]
test edi, edi
je 0x52ca89
test ecx, ecx
jne 0x52ca19
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 0x68], ecx
je 0x52ca19
mov esi, dword [ebp - 0x3c]
cmp ebx, ecx
mov ebx, dword [ebp - 0x24]
je 0x52ca1f
push dword [ebp - 0x90]
push ebx
push esi
push ecx
push 0x1d
push eax
call fcn.0052e250
add esp, 0x18
jmp 0x52ca1f
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x52c9fa
mov eax, 0x5b6fa4
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
jmp 0x52c9ae
mov eax, dword [ebp - 8]
test esi, esi
cmovns ecx, esi
mov eax, dword [eax + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov eax, dword [ebp - 8]
jmp 0x52c9ae
mov eax, dword [ebp - 8]
jmp 0x52c9b1
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
cmp edi, 1
je 0x52ca30
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 8]
cmp dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x14]
cmovne edx, ebx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52ca59
push 0
push esi
push edx
push 0x32
push edi
call fcn.004efc20
add esp, 0x14
jmp 0x52cc4e
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52cc4e
cmp dword [ebp - 0x28], 0
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x3c]
je 0x52cbb1
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [eax + 0x38]
mov dword [ebp - 0x18], ebx
cmp dword [edi + 0x70], ecx
jg 0x52cac3
push 0
push esi
push dword [ebp - 0x44]
push 0x25
push edi
call fcn.004efc20
mov edx, dword [ebp - 0x44]
add esp, 0x14
jmp 0x52caf1
mov edx, dword [ebp - 0x44]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0xa4], ecx
cmp dword [edi + 0x70], ecx
jg 0x52cb19
push 0
push esi
push edx
push 0x7e
push edi
call fcn.004efc20
add esp, 0x14
mov dword [ebp - 0xa4], eax
jmp 0x52cb44
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x52cb60
push esi
push ebx
push dword [ebp - 0x10]
push 0x1d
push edi
call fcn.004efc20
add esp, 0x14
mov edx, eax
jmp 0x52cb8d
mov esi, dword [ebp - 0x10]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [ebp - 0x24]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x52cc4e
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52cc4e
mov ebx, dword [edi + 0x6c]
mov dword [ebp - 0x18], ebx
cmp dword [edi + 0x70], ebx
jg 0x52cbd8
push dword [ebp - 0x14]
push esi
push dword [ebp - 0x30]
push 0x2a
push edi
call fcn.004efc20
mov esi, dword [ebp - 0x14]
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x18], ebx
jmp 0x52cc05
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0x2a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52cc1f
push esi
push ebx
push dword [ebp - 0x10]
push 0x20
push edi
call fcn.004efc20
add esp, 0x14
jmp 0x52cc4e
mov edx, dword [ebp - 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52cc4e
mov edi, dword [ebp - 8]
cmp byte [ebp - 9], 0
mov ebx, dword [ebp + 8]
je 0x52cd21
mov esi, dword [ebp - 0x34]
push esi
push dword [ebp - 0x80]
push ebx
call fcn.0050ffd0
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x52cca6
mov esi, dword [ebx + 8]
test esi, esi
je 0x52cca3
mov eax, dword [ebp - 0x80]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
cmp dword [esi + 0x70], ecx
jg 0x52ccc3
push 0
push dword [ebp - 0x34]
push edi
push edx
push esi
call fcn.004efc20
add esp, 0x14
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 8]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52ccf2
push 0
push 0
push esi
push 0xf
push edi
call fcn.004efc20
add esp, 0x14
jmp 0x52cd21
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [ebp - 0x34]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x52cca6
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp - 0x19], 0
jne 0x52cd6f
cmp dword [ebp - 0x4c], 0
jne 0x52cd75
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52ce98
xor ebx, ebx
push dword [ebp + 0x18]
push dword [ebp - 4]
push 3
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x38]
push dword [ebp + 8]
call fcn.0052ae50
or ebx, eax
xor ecx, ecx
mov eax, dword [ebp - 4]
add esp, 0x1c
xor esi, esi
mov dword [ebp - 0x7c], ebx
cmp cx, word [eax + 0x2a]
jge 0x52ce3b
xor edi, edi
jmp 0x52cd88
cmp dword [ebp - 0x4c], 0
je 0x52cd38
push dword [ebp - 4]
push ebx
call fcn.00515350
add esp, 8
mov ebx, eax
jmp 0x52cd3a
mov eax, dword [ebp - 4]
push esi
push eax
call fcn.0052ab20
movsx edx, ax
add esp, 8
add edx, dword [ebp - 0x94]
cmp ebx, 0xffffffff
je 0x52ce12
cmp esi, 0x20
jae 0x52cdb2
mov eax, 1
mov ecx, esi
shl eax, cl
test ebx, eax
jne 0x52ce12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + edi + 0x10], 1
jne 0x52ce12
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x52cdd9
push 0
push edx
push 0
push 0x48
push eax
call fcn.004efc20
jmp 0x52ce22
mov ebx, dword [ebp - 8]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
mov eax, ebx
mov ebx, dword [ebp - 0x7c]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52ce25
push edx
push esi
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0050ef30
add esp, 0x14
mov eax, dword [ebp - 4]
inc esi
add edi, 0x14
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x52cd85
mov edi, dword [ebp - 8]
cmp byte [ebp - 9], 0
jne 0x52ce95
cmp dword [ebp - 0x28], 0
jne 0x52ce95
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52ce64
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x14]
push 0x4d
push edi
call fcn.004efc20
add esp, 0x14
jmp 0x52ce95
mov edx, dword [ebp - 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x38]
push dword [ebp + 0x18]
push dword [ebp - 4]
push 1
push 1
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.0052ae50
mov ecx, dword [ebp - 0x74]
mov edx, eax
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x1c
mov dword [ebp - 0x30], edx
xor ebx, ebx
mov esi, ecx
cmp di, word [eax + 0x2a]
mov edi, dword [ebp - 8]
jge 0x52d05a
xor ecx, ecx
mov dword [ebp - 0x68], ecx
movsx eax, word [eax + 0x28]
cmp ebx, eax
jne 0x52cefa
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52cfea
push 0
push esi
push 0
push 0x48
push edi
call fcn.004efc20
jmp 0x52d033
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx + 0x10]
test al, 0x60
je 0x52cf18
test al, 0x20
lea eax, [esi - 1]
cmove eax, esi
mov esi, eax
jmp 0x52d039
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x52cfc0
mov ecx, dword [ebp + 0x10]
lea eax, [eax + eax*4]
mov edi, dword [ebp + 8]
push esi
mov eax, dword [ecx + eax*4 + 4]
push eax
push edi
mov dword [ebp - 0x94], eax
call fcn.0050ffd0
add esp, 0xc
mov dword [ebp - 0x7c], eax
cmp eax, esi
je 0x52d036
mov edi, dword [edi + 8]
test edi, edi
je 0x52d036
mov edx, dword [ebp - 0x94]
mov ecx, dword [edi + 0x6c]
mov edx, dword [edx + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
cmp dword [edi + 0x70], ecx
jg 0x52cf88
push 0
push esi
push eax
push edx
push edi
call fcn.004efc20
jmp 0x52d033
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [ebp - 0x7c]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
jmp 0x52d036
test dword [ebp - 0xa0], 1
je 0x52d01b
cmp ebx, 0x1f
ja 0x52d01b
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
jne 0x52d01b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x52cee8
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52d039
push esi
push ebx
push dword [ebp - 0x10]
push dword [ebp - 4]
push edi
call fcn.0050ef30
mov dword [ebp - 0x8c], 0
add esp, 0x14
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
inc ebx
add dword [ebp - 0x68], 0x14
inc esi
mov ecx, dword [ebp - 0x68]
mov edi, dword [ebp - 8]
movsx eax, word [eax + 0x2a]
cmp ebx, eax
mov eax, dword [ebp - 4]
jl 0x52ced4
mov ecx, dword [ebp - 0x74]
test byte [eax + 0x24], 0x60
je 0x52d070
push eax
push ecx
push dword [ebp + 8]
call fcn.0050a9e0
mov eax, dword [ebp - 4]
add esp, 0xc
test byte [ebp - 0xa0], 1
je 0x52d21f
push dword [ebp - 0x74]
mov ebx, dword [ebp - 8]
push eax
push ebx
call fcn.0052a9d0
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov edi, dword [ebp - 0x18]
mov esi, eax
test eax, eax
je 0x52d0dc
mov ebx, dword [ebp - 4]
lea esp, [esp]
cmp byte [esi + 8], 0x7f
jne 0x52d0d2
cmp byte [esi + 9], 1
jne 0x52d0d2
push dword [ebp + 0x10]
push dword [esi + 0x10]
call fcn.004e01a0
add esp, 8
test eax, eax
je 0x52d0d2
push edi
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push ebx
push esi
push dword [ebp + 8]
call fcn.005098a0
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x52d0a0
mov ebx, dword [ebp - 8]
cmp dword [ebp - 0x28], 0
mov edx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x70]
je 0x52d188
cmp eax, edx
jg 0x52d106
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x10]
push 0x1d
push ebx
call fcn.004efc20
add esp, 0x14
mov edx, eax
jmp 0x52d133
mov esi, dword [ebp - 0x10]
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp - 0x24]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
jne 0x52d150
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [ebp - 0x90]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ebx, ebx
mov eax, dword [ebp - 0x74]
xor esi, esi
mov edi, eax
cmp bx, word [ecx + 0x2a]
jge 0x52d209
lea esp, [esp]
mov eax, dword [ecx + 4]
movzx eax, word [eax + ebx + 0x10]
test al, 0x60
je 0x52d1cf
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x52d1f2
cmp eax, edx
jg 0x52d1a0
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
push 0x20
push ebx
call fcn.004efc20
add esp, 0x14
jmp 0x52d150
mov esi, dword [ebp - 0x14]
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52d153
mov eax, dword [ebp - 0x20]
cmp dword [eax + esi*4], 0
jge 0x52d1f2
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x52d1f2
push edi
push esi
push edx
push ecx
push dword [ebp - 8]
call fcn.0050ef30
mov ecx, dword [ebp - 4]
add esp, 0x14
movsx eax, word [ecx + 0x2a]
inc esi
mov edx, dword [ebp - 0x10]
add ebx, 0x14
inc edi
cmp esi, eax
jl 0x52d170
mov eax, dword [ebp - 0x74]
test byte [ecx + 0x24], 0x60
mov esi, dword [ebp + 8]
je 0x52d225
push ecx
push eax
push esi
call fcn.0050a9e0
add esp, 0xc
jmp 0x52d222
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x78], 0
mov ebx, dword [ebp - 0x18]
jne 0x52d434
push 0
push dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x5c]
push eax
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x60]
push dword [ebp - 0x14]
push dword [ebp - 0x34]
push dword [ebp - 0x6c]
push edi
push dword [ebp - 0x64]
push ecx
push esi
call fcn.00515600
add esp, 0x34
cmp dword [ebp - 0x5c], 0
jne 0x52d268
cmp byte [ebp - 0x60], 0
je 0x52d2cf
cmp dword [ebp - 0x28], 0
mov esi, dword [ebp - 8]
je 0x52d289
push dword [ebp - 0x90]
push dword [ebp - 0x24]
push ebx
push edi
push 0x1d
push esi
call fcn.0052e250
add esp, 0x18
jmp 0x52d2d2
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52d2a3
push dword [ebp - 0x14]
push ebx
push edi
push 0x20
push esi
call fcn.004efc20
add esp, 0x14
jmp 0x52d2d2
mov edx, dword [ebp - 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52d2d5
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x52d2f6
push dword [ebp - 0x84]
push dword [ebp - 0x20]
push 0
push edx
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.005145b0
add esp, 0x18
push 0xffffffffffffffff
push dword [ebp - 0x64]
push dword [ebp - 0x6c]
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00517b70
add esp, 0x18
cmp dword [ebp - 0x8c], 0
je 0x52d335
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52d35d
push 0
push 0
push dword [ebp - 0x10]
push 0x87
push esi
call fcn.004efc20
add esp, 0x14
mov edx, dword [ebp - 0x10]
cmp edi, 1
jg 0x52d343
cmp byte [ebp - 0x60], 0
je 0x52d3c0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52d391
push 0
push 0
push edx
push 0x7a
push esi
call fcn.004efc20
add esp, 0x14
jmp 0x52d3c0
mov edx, dword [ebp - 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52d338
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
je 0x52d3e0
push dword [ebp - 0x84]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.005145b0
add esp, 0x18
mov esi, dword [ebp - 0x2c]
xor eax, eax
push 0
cmp esi, 2
push 0
sete al
lea eax, [eax*2 + 4]
push eax
push dword [ebp - 0x64]
push dword [ebp - 0x34]
push dword [ebp - 0x6c]
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0050a7d0
add esp, 0x24
test edi, edi
je 0x52d437
push dword [ebp - 0x84]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00514520
add esp, 0x18
jmp 0x52d437
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xa8]
mov edi, dword [ebp - 8]
test eax, eax
je 0x52d452
push 1
push eax
push 0x52
push edi
call fcn.0052e0b0
add esp, 0x10
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push dword [ebp - 4]
push 2
push dword [ebp + 0x10]
push 0x7f
push dword [ebp - 0x38]
push dword [ebp + 8]
call fcn.00509840
add esp, 0x24
cmp esi, 1
je 0x52d503
cmp esi, 2
jne 0x52d4ba
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52d4a4
push ebx
push edi
push ecx
call fcn.004fd830
add esp, 0xc
push dword [ebp - 0x40]
call fcn.00540230
add esp, 4
jmp 0x52d503
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
push dword [ebp - 0x40]
mov dword [ecx + ebx*4], eax
call fcn.00540230
add esp, 4
jmp 0x52d503
cmp dword [ebp - 0x28], 0
je 0x52d4f9
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52d4da
push ebx
push edi
push ecx
call fcn.004fd830
add esp, 0xc
jmp 0x52d4e3
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0xa4]
push dword [ebp - 0x44]
push 5
push edi
call fcn.0052e0b0
add esp, 0x10
jmp 0x52d503
push ebx
push edi
call fcn.00537560
add esp, 8
mov ecx, dword [edi + 0xc]
mov edx, dword [ebp - 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52d520
push edx
push edi
push ecx
call fcn.004fd830
add esp, 0xc
jmp 0x52d529
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x12], 0
jne 0x52d54d
cmp dword [eax + 0x78], 0
jne 0x52d54d
cmp dword [ebp + 0x24], 0
jne 0x52d54d
cmp dword [eax + 0x70], 0
je 0x52d54d
push eax
call fcn.004dbd60
add esp, 4
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x52d58b
push 1
push eax
push 0x50
push edi
call fcn.0052e0b0
push 1
push edi
call fcn.0053a610
mov eax, dword [edi]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x52d58b
push 0
push 1
push 0xffffffffffffffff
push str.rows_updated
push dword [edi + 0x74]
call fcn.00538af0
add esp, 0x14
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x52d5a1
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 0xf0], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x50]
call fcn.0050c300
add esp, 8
mov ebx, dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x50]
call fcn.005298c0
mov eax, dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x52d5d3
push eax
push dword [ebp - 0x50]
call fcn.004e96a0
add esp, 8
test ebx, ebx
je 0x52d5e3
push ebx
push dword [ebp - 0x50]
call fcn.00511640
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret