Function at 0x52ba30
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 0x52d562
cmp byte [edi + 0x51], al
jne 0x52d562
push dword [ebp + 0xc]
push esi
call fcn.00529ec0
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x52d55f
mov ecx, dword [ebx + 0x48]
mov dword [ebp - 0x2c], 0xfff0bdc0
test ecx, ecx
je 0x52bafb
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 0x52bafb
jmp 0x52baf0
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x52baf0
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0xa0]
push eax
push dword [ebp + 0x10]
push 0x7f
push ebx
push esi
call fcn.0052b660
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xc]
push ebx
push esi
mov dword [ebp - 0x78], eax
call fcn.0053b050
add esp, 0x1c
test eax, eax
jne 0x52d55f
push dword [ebp - 0xa0]
push ebx
push esi
call fcn.0051af40
add esp, 0xc
test eax, eax
jne 0x52d55f
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 0x52bb65
mov dword [ebp - 0x28], 0
jmp 0x52bb74
push ebx
call fcn.005237b0
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 0x52bbac
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 0x52bb88
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 0x52bbc8
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.0050c3b0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x52d55f
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.0048e280
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 0x52bc43
mov esi, dword [ebp - 0x20]
nop
mov dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x2a]
cmp ecx, eax
jl 0x52bc30
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 0x52bcbc
cmp dword [esi + 0x74], eax
jne 0x52bca8
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x52bca8
mov byte [esi + 0x17], 1
push esi
call fcn.0052ea50
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x52d551
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 0x52be94
lea esi, [ecx + 4]
mov dword [ebp - 0x18], esi
jmp 0x52bce0
push dword [esi]
lea eax, [ebp - 0x10c]
push eax
call fcn.00524920
add esp, 8
test eax, eax
jne 0x52d551
mov edx, dword [ebp - 4]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x52bd7f
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 0x52bd55
test ecx, ecx
jne 0x52bd67
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x52bde8
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 0x52bd7f
movzx eax, byte [eax + 0x58c4c0]
movzx ecx, byte [ecx + 0x58c4c0]
sub ecx, eax
jne 0x52bd6a
inc edx
jmp 0x52bd20
mov edx, dword [ebp - 4]
inc edi
mov esi, dword [ebp - 0x18]
add ebx, 0x14
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x52bd10
mov ebx, dword [ebp - 0x54]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x52be2f
cmp dword [ebp - 0x28], 0
jne 0x52bfca
mov esi, dword [esi + 4]
push str._ROWID_
push esi
call fcn.0052a8d0
add esp, 8
test eax, eax
je 0x52bdd2
push str.ROWID
push esi
call fcn.0052a8d0
add esp, 8
test eax, eax
je 0x52bdd2
push 0x592c8c
push esi
call fcn.0052a8d0
add esp, 8
test eax, eax
jne 0x52bfca
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 0x52be43
cmp dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x40]
je 0x52be10
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 1
je 0x52be10
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 0x52bd7f
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x52bfaf
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x18]
mov dword [eax + edi*4], ebx
jmp 0x52bd7f
test edi, edi
jns 0x52be3a
mov edx, str.ROWID
jmp 0x52be43
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.00504090
add esp, 0x14
cmp eax, 1
je 0x52d551
cmp eax, 2
jne 0x52be7c
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 0x52bce0
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 0x52bfa1
movzx eax, word [edx + 0x2a]
xor ecx, ecx
xor ebx, ebx
xor esi, esi
cmp cx, ax
jge 0x52bf9e
xor edi, edi
jmp 0x52bed0
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + esi*4], 0
jge 0x52bf81
mov eax, dword [edx + 4]
test byte [eax + edi + 0x10], 0x60
je 0x52bf81
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], 0x4e0210
mov dword [ebp - 0xac], ecx
test eax, eax
je 0x52bf5f
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0054d870
mov edx, dword [ebp - 4]
add esp, 8
mov ecx, dword [ebp - 0x20]
cmp byte [ebp - 9], 0
mov ax, word [ebp - 0xb0]
jne 0x52bf70
and ax, word [ebp - 0x40]
test ax, ax
je 0x52bf81
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 0x52bed0
mov eax, ecx
test ebx, ebx
jne 0x52beb4
mov bh, byte [ebp - 0x60]
cmp dword [edx + 0x38], 0
je 0x52bfee
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x52bff2
push dword [ebp - 0x84]
push str.cannot_UPDATE_generated_column___s_
push dword [ebp + 8]
call fcn.0050e100
add esp, 0xc
jmp 0x52d551
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.0050e100
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x52d551
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.005153d0
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 0x52c1e9
mov ebx, dword [ebp - 0x58]
inc ebx
mov dword [ebp - 0x18], ebx
cmp byte [ebp - 0x60], 0
jne 0x52c1ae
cmp ecx, 1
jg 0x52c1ae
cmp esi, dword [ebp - 0x28]
je 0x52c1ae
mov eax, dword [esi + 0x24]
test eax, eax
je 0x52c0c9
xor ecx, ecx
mov dword [ebp - 0xc0], 0x4e0210
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.0054d870
mov ax, word [ebp - 0xb0]
add esp, 8
cmp byte [ebp - 9], 0
jne 0x52c0c0
mov ecx, 0xfffd
and ax, cx
test ax, ax
jne 0x52c1ae
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [ebp - 0x40], ecx
cmp ax, word [esi + 0x32]
jae 0x52c1c4
xor ebx, ebx
mov edi, edi
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x52c0fa
mov ecx, dword [ebp - 0x20]
cwde
mov eax, dword [ecx + eax*4]
not eax
shr eax, 0x1f
jmp 0x52c165
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], 0x4e0210
mov dword [ebp - 0xd4], ecx
test eax, eax
je 0x52c148
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0054d870
add esp, 8
cmp byte [ebp - 9], 0
mov cx, word [ebp - 0xd8]
jne 0x52c15d
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
setne al
test eax, eax
jne 0x52c181
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x14
cmp edi, eax
jl 0x52c0e0
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x18]
jmp 0x52c1c4
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 0x52c1c0
cmp byte [esi + 0x36], 5
jne 0x52c1c0
mov dword [ebp - 0x5c], 1
jmp 0x52c1c0
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 0x52c1ca
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 0x52c045
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 0x52c213
mov eax, dword [ebp - 0x9c]
inc eax
push eax
push 1
push dword [ebp - 0x58]
call fcn.0048e280
add esp, 0xc
cmp byte [esi + 0x12], 0
jne 0x52c223
mov eax, dword [ebp - 8]
or dword [eax + 0x98], 0x10
cmp dword [ebp - 0x38], 0
jne 0x52c233
cmp dword [ebp - 0x4c], 0
jne 0x52c233
xor bl, bl
jmp 0x52c235
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 0x52c265
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x52c265
push esi
call fcn.0051d5e0
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 0x52c2e7
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 0x52c2a8
cmp dword [ebp - 0x38], 0
jne 0x52c2a8
mov eax, dword [ebp - 0x4c]
mov ecx, edx
test eax, eax
je 0x52c2bd
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 0x52c2cb
cmp dword [ebp - 0x38], 0
jne 0x52c2cb
test eax, eax
je 0x52c2d6
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 0x52c2ea
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp + 0x14]
test ecx, ecx
je 0x52c322
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.0051cc50
add esp, 0x18
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00524920
add esp, 8
test eax, eax
jne 0x52d53b
cmp dword [esi + 0x38], eax
je 0x52c35e
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.00546a70
add esp, 0x20
jmp 0x52d53b
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 0x52c3e8
cmp dword [edi + 0x78], 0
jne 0x52c3e8
cmp byte [edi + 0x12], 0
jne 0x52c3e8
cmp dword [ebp + 0x24], 0
jne 0x52c3e8
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 0x52c3b4
push 0
push edx
push 0
push 0x45
push edi
call fcn.004efbc0
add esp, 0x14
jmp 0x52c3eb
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 0x52c3eb
mov edi, dword [ebp - 8]
test byte [esi + 0x24], 0x80
jne 0x52c4c3
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52c412
push dword [ebp - 0x14]
push dword [ebp - 0x30]
push 0
push 0x48
push edi
call fcn.004efbc0
add esp, 0x14
jmp 0x52c443
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 0x52c5ec
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.005118c0
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 0x52c750
mov esi, dword [ebp - 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52c6ac
push 0
push dword [ebp - 0x14]
push edx
push 0x7f
push esi
call fcn.004efbc0
mov edx, dword [ebp - 0x14]
add esp, 0x14
jmp 0x52c6dd
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 0x52c450
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 0x52c519
push edx
push dword [ebp - 0x48]
push 0
push 0x48
push edi
call fcn.004efbc0
add esp, 0x14
jmp 0x52c54a
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 0x52c571
push 0
push esi
push dword [ebp - 0x44]
push 0x64
push edi
call fcn.004efbc0
add esp, 0x14
mov dword [ebp - 0x98], eax
jmp 0x52c59f
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.0051b4a0
mov edx, eax
add esp, 8
test edx, edx
je 0x52c5ef
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x52c5d8
cmp dword [eax + 0x1f8], 0
jne 0x52c5ef
add dword [edx], 0xffffffff
jne 0x52c5ef
push edx
push dword [edx + 0xc]
call fcn.0050c2a0
add esp, 8
jmp 0x52c5ef
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 0x52c5ef
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x12], 0
mov eax, 0x1004
jne 0x52c618
cmp dword [ebp - 0x38], 0
jne 0x52c618
cmp dword [ebp - 0x4c], 0
jne 0x52c618
cmp byte [ebp - 0x60], 0
jne 0x52c618
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.0053d2b0
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x40], esi
test esi, esi
je 0x52d53b
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 0x52c48e
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 0x52c48e
test ebx, ebx
js 0x52c48e
cmp ebx, edx
je 0x52c48e
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 0x52c48e
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 0x52c872
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 0x52c71a
push edi
push edx
push dword [ebp - 0x30]
push 0x93
push esi
call fcn.004efbc0
add esp, 0x14
jmp 0x52c872
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 0x52c872
mov eax, dword [ebp - 0x7c]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x52c78a
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.0050eed0
mov ecx, dword [ebp - 4]
inc esi
mov edx, dword [ebp - 0x10]
add esp, 0x14
cmp esi, edi
jl 0x52c760
mov ebx, dword [ebp - 0x54]
cmp dword [ebp - 0x2c], 0
je 0x52c7dd
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x52c7cc
mov esi, dword [ebp - 8]
mov edx, dword [esi]
cmp byte [edx + 0x51], 0
jne 0x52c7cc
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.004ed080
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 0x52c86f
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x50]
call fcn.00519120
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.0052e110
mov edx, dword [esi + 0x6c]
add esp, 0x1c
cmp dword [esi + 0x70], edx
jg 0x52c825
push dword [ebp - 0x48]
push dword [ebp - 0x24]
push dword [ebp - 0x44]
push 0x82
push esi
call fcn.004efbc0
add esp, 0x14
mov edx, eax
jmp 0x52c858
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 0x52c86f
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 0x52cbfb
cmp edi, 2
je 0x52c88c
push dword [ebp - 0x40]
call fcn.005401d0
add esp, 4
mov ecx, dword [ebp - 0x78]
test ecx, ecx
jne 0x52c9c4
xor esi, esi
test edi, edi
je 0x52c8bf
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x58]
test eax, eax
js 0x52c8b3
sub eax, edx
mov byte [eax + ecx], 0
test ebx, ebx
js 0x52c8bf
mov eax, ebx
sub eax, edx
mov byte [eax + ecx], 0
cmp edi, 2
jne 0x52c92a
mov ecx, dword [ebp - 0x9c]
xor eax, eax
test ebx, ebx
setns al
sub ecx, eax
test ecx, ecx
jle 0x52c92a
mov edx, dword [ebp - 8]
mov esi, dword [edx + 0x6c]
cmp dword [edx + 0x70], esi
jg 0x52c8f7
push 0
push 0
push 0
push 0x11
push edx
call fcn.004efbc0
add esp, 0x14
mov esi, eax
jmp 0x52c92a
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.0051d3c0
mov eax, dword [ebp - 8]
add esp, 0x20
test esi, esi
je 0x52c95e
mov edx, dword [eax + 0x6c]
lea ecx, [edx - 1]
cmp esi, ecx
jne 0x52c995
mov dword [eax + 0x6c], ecx
mov ecx, dword [ebp - 0x78]
test edi, edi
je 0x52ca39
test ecx, ecx
jne 0x52c9c9
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 0x68], ecx
je 0x52c9c9
mov esi, dword [ebp - 0x3c]
cmp ebx, ecx
mov ebx, dword [ebp - 0x24]
je 0x52c9cf
push dword [ebp - 0x90]
push ebx
push esi
push ecx
push 0x1d
push eax
call fcn.0052e200
add esp, 0x18
jmp 0x52c9cf
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x52c9aa
mov eax, 0x5b6fa4
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
jmp 0x52c95e
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 0x52c95e
mov eax, dword [ebp - 8]
jmp 0x52c961
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
cmp edi, 1
je 0x52c9e0
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 0x52ca09
push 0
push esi
push edx
push 0x32
push edi
call fcn.004efbc0
add esp, 0x14
jmp 0x52cbfe
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 0x52cbfe
cmp dword [ebp - 0x28], 0
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x3c]
je 0x52cb61
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 0x52ca73
push 0
push esi
push dword [ebp - 0x44]
push 0x25
push edi
call fcn.004efbc0
mov edx, dword [ebp - 0x44]
add esp, 0x14
jmp 0x52caa1
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 0x52cac9
push 0
push esi
push edx
push 0x7e
push edi
call fcn.004efbc0
add esp, 0x14
mov dword [ebp - 0xa4], eax
jmp 0x52caf4
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 0x52cb10
push esi
push ebx
push dword [ebp - 0x10]
push 0x1d
push edi
call fcn.004efbc0
add esp, 0x14
mov edx, eax
jmp 0x52cb3d
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 0x52cbfe
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 0x52cbfe
mov ebx, dword [edi + 0x6c]
mov dword [ebp - 0x18], ebx
cmp dword [edi + 0x70], ebx
jg 0x52cb88
push dword [ebp - 0x14]
push esi
push dword [ebp - 0x30]
push 0x2a
push edi
call fcn.004efbc0
mov esi, dword [ebp - 0x14]
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x18], ebx
jmp 0x52cbb5
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 0x52cbcf
push esi
push ebx
push dword [ebp - 0x10]
push 0x20
push edi
call fcn.004efbc0
add esp, 0x14
jmp 0x52cbfe
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 0x52cbfe
mov edi, dword [ebp - 8]
cmp byte [ebp - 9], 0
mov ebx, dword [ebp + 8]
je 0x52ccd1
mov esi, dword [ebp - 0x34]
push esi
push dword [ebp - 0x80]
push ebx
call fcn.0050ff70
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x52cc56
mov esi, dword [ebx + 8]
test esi, esi
je 0x52cc53
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 0x52cc73
push 0
push dword [ebp - 0x34]
push edi
push edx
push esi
call fcn.004efbc0
add esp, 0x14
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 8]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52cca2
push 0
push 0
push esi
push 0xf
push edi
call fcn.004efbc0
add esp, 0x14
jmp 0x52ccd1
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 0x52cc56
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 0x52cd1f
cmp dword [ebp - 0x4c], 0
jne 0x52cd25
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52ce48
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.0052ae00
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 0x52cdeb
xor edi, edi
jmp 0x52cd38
cmp dword [ebp - 0x4c], 0
je 0x52cce8
push dword [ebp - 4]
push ebx
call fcn.005152f0
add esp, 8
mov ebx, eax
jmp 0x52ccea
mov eax, dword [ebp - 4]
push esi
push eax
call fcn.0052aad0
movsx edx, ax
add esp, 8
add edx, dword [ebp - 0x94]
cmp ebx, 0xffffffff
je 0x52cdc2
cmp esi, 0x20
jae 0x52cd62
mov eax, 1
mov ecx, esi
shl eax, cl
test ebx, eax
jne 0x52cdc2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + edi + 0x10], 1
jne 0x52cdc2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x52cd89
push 0
push edx
push 0
push 0x48
push eax
call fcn.004efbc0
jmp 0x52cdd2
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 0x52cdd5
push edx
push esi
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0050eed0
add esp, 0x14
mov eax, dword [ebp - 4]
inc esi
add edi, 0x14
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x52cd35
mov edi, dword [ebp - 8]
cmp byte [ebp - 9], 0
jne 0x52ce45
cmp dword [ebp - 0x28], 0
jne 0x52ce45
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52ce14
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x14]
push 0x4d
push edi
call fcn.004efbc0
add esp, 0x14
jmp 0x52ce45
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.0052ae00
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 0x52d00a
xor ecx, ecx
mov dword [ebp - 0x68], ecx
movsx eax, word [eax + 0x28]
cmp ebx, eax
jne 0x52ceaa
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52cf9a
push 0
push esi
push 0
push 0x48
push edi
call fcn.004efbc0
jmp 0x52cfe3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx + 0x10]
test al, 0x60
je 0x52cec8
test al, 0x20
lea eax, [esi - 1]
cmove eax, esi
mov esi, eax
jmp 0x52cfe9
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x52cf70
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.0050ff70
add esp, 0xc
mov dword [ebp - 0x7c], eax
cmp eax, esi
je 0x52cfe6
mov edi, dword [edi + 8]
test edi, edi
je 0x52cfe6
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 0x52cf38
push 0
push esi
push eax
push edx
push edi
call fcn.004efbc0
jmp 0x52cfe3
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 0x52cfe6
test dword [ebp - 0xa0], 1
je 0x52cfcb
cmp ebx, 0x1f
ja 0x52cfcb
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
jne 0x52cfcb
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x52ce98
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 0x52cfe9
push esi
push ebx
push dword [ebp - 0x10]
push dword [ebp - 4]
push edi
call fcn.0050eed0
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 0x52ce84
mov ecx, dword [ebp - 0x74]
test byte [eax + 0x24], 0x60
je 0x52d020
push eax
push ecx
push dword [ebp + 8]
call fcn.0050a980
mov eax, dword [ebp - 4]
add esp, 0xc
test byte [ebp - 0xa0], 1
je 0x52d1cf
push dword [ebp - 0x74]
mov ebx, dword [ebp - 8]
push eax
push ebx
call fcn.0052a980
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov edi, dword [ebp - 0x18]
mov esi, eax
test eax, eax
je 0x52d08c
mov ebx, dword [ebp - 4]
lea esp, [esp]
cmp byte [esi + 8], 0x7f
jne 0x52d082
cmp byte [esi + 9], 1
jne 0x52d082
push dword [ebp + 0x10]
push dword [esi + 0x10]
call fcn.004e0150
add esp, 8
test eax, eax
je 0x52d082
push edi
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push ebx
push esi
push dword [ebp + 8]
call fcn.00509840
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x52d050
mov ebx, dword [ebp - 8]
cmp dword [ebp - 0x28], 0
mov edx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x70]
je 0x52d138
cmp eax, edx
jg 0x52d0b6
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x10]
push 0x1d
push ebx
call fcn.004efbc0
add esp, 0x14
mov edx, eax
jmp 0x52d0e3
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 0x52d100
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 0x52d1b9
lea esp, [esp]
mov eax, dword [ecx + 4]
movzx eax, word [eax + ebx + 0x10]
test al, 0x60
je 0x52d17f
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x52d1a2
cmp eax, edx
jg 0x52d150
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
push 0x20
push ebx
call fcn.004efbc0
add esp, 0x14
jmp 0x52d100
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 0x52d103
mov eax, dword [ebp - 0x20]
cmp dword [eax + esi*4], 0
jge 0x52d1a2
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x52d1a2
push edi
push esi
push edx
push ecx
push dword [ebp - 8]
call fcn.0050eed0
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 0x52d120
mov eax, dword [ebp - 0x74]
test byte [ecx + 0x24], 0x60
mov esi, dword [ebp + 8]
je 0x52d1d5
push ecx
push eax
push esi
call fcn.0050a980
add esp, 0xc
jmp 0x52d1d2
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x78], 0
mov ebx, dword [ebp - 0x18]
jne 0x52d3e4
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.005155a0
add esp, 0x34
cmp dword [ebp - 0x5c], 0
jne 0x52d218
cmp byte [ebp - 0x60], 0
je 0x52d27f
cmp dword [ebp - 0x28], 0
mov esi, dword [ebp - 8]
je 0x52d239
push dword [ebp - 0x90]
push dword [ebp - 0x24]
push ebx
push edi
push 0x1d
push esi
call fcn.0052e200
add esp, 0x18
jmp 0x52d282
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52d253
push dword [ebp - 0x14]
push ebx
push edi
push 0x20
push esi
call fcn.004efbc0
add esp, 0x14
jmp 0x52d282
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 0x52d285
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x52d2a6
push dword [ebp - 0x84]
push dword [ebp - 0x20]
push 0
push edx
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00514550
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.00517b10
add esp, 0x18
cmp dword [ebp - 0x8c], 0
je 0x52d2e5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52d30d
push 0
push 0
push dword [ebp - 0x10]
push 0x87
push esi
call fcn.004efbc0
add esp, 0x14
mov edx, dword [ebp - 0x10]
cmp edi, 1
jg 0x52d2f3
cmp byte [ebp - 0x60], 0
je 0x52d370
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52d341
push 0
push 0
push edx
push 0x7a
push esi
call fcn.004efbc0
add esp, 0x14
jmp 0x52d370
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 0x52d2e8
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 0x52d390
push dword [ebp - 0x84]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00514550
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.0050a770
add esp, 0x24
test edi, edi
je 0x52d3e7
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.005144c0
add esp, 0x18
jmp 0x52d3e7
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xa8]
mov edi, dword [ebp - 8]
test eax, eax
je 0x52d402
push 1
push eax
push 0x52
push edi
call fcn.0052e060
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.005097e0
add esp, 0x24
cmp esi, 1
je 0x52d4b3
cmp esi, 2
jne 0x52d46a
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52d454
push ebx
push edi
push ecx
call fcn.004fd7d0
add esp, 0xc
push dword [ebp - 0x40]
call fcn.005401d0
add esp, 4
jmp 0x52d4b3
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
push dword [ebp - 0x40]
mov dword [ecx + ebx*4], eax
call fcn.005401d0
add esp, 4
jmp 0x52d4b3
cmp dword [ebp - 0x28], 0
je 0x52d4a9
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52d48a
push ebx
push edi
push ecx
call fcn.004fd7d0
add esp, 0xc
jmp 0x52d493
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.0052e060
add esp, 0x10
jmp 0x52d4b3
push ebx
push edi
call fcn.00537510
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 0x52d4d0
push edx
push edi
push ecx
call fcn.004fd7d0
add esp, 0xc
jmp 0x52d4d9
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 0x52d4fd
cmp dword [eax + 0x78], 0
jne 0x52d4fd
cmp dword [ebp + 0x24], 0
jne 0x52d4fd
cmp dword [eax + 0x70], 0
je 0x52d4fd
push eax
call fcn.004dbd20
add esp, 4
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x52d53b
push 1
push eax
push 0x50
push edi
call fcn.0052e060
push 1
push edi
call fcn.0053a5b0
mov eax, dword [edi]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x52d53b
push 0
push 1
push 0xffffffffffffffff
push str.rows_updated
push dword [edi + 0x74]
call fcn.00538aa0
add esp, 0x14
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x52d551
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 0xf0], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x50]
call fcn.0050c2a0
add esp, 8
mov ebx, dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x50]
call fcn.00529870
mov eax, dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x52d583
push eax
push dword [ebp - 0x50]
call fcn.004e9640
add esp, 8
test ebx, ebx
je 0x52d593
push ebx
push dword [ebp - 0x50]
call fcn.005115e0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret