Function at 0x52b650
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 0x52d182
cmp byte [edi + 0x51], al
jne 0x52d182
push dword [ebp + 0xc]
push esi
call fcn.00529ae0
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x52d17f
mov ecx, dword [ebx + 0x48]
mov dword [ebp - 0x2c], 0xfff0bdc0
test ecx, ecx
je 0x52b71b
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 0x52b71b
jmp 0x52b710
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x52b710
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0xa0]
push eax
push dword [ebp + 0x10]
push 0x7f
push ebx
push esi
call fcn.0052b280
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xc]
push ebx
push esi
mov dword [ebp - 0x78], eax
call fcn.0053aca0
add esp, 0x1c
test eax, eax
jne 0x52d17f
push dword [ebp - 0xa0]
push ebx
push esi
call fcn.0051ab70
add esp, 0xc
test eax, eax
jne 0x52d17f
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 0x52b785
mov dword [ebp - 0x28], 0
jmp 0x52b794
push ebx
call fcn.005233e0
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 0x52b7cc
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 0x52b7a8
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 0x52b7e8
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.0050bfe0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x52d17f
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.0048deb0
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 0x52b863
mov esi, dword [ebp - 0x20]
nop
mov dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x2a]
cmp ecx, eax
jl 0x52b850
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 0x52b8dc
cmp dword [esi + 0x74], eax
jne 0x52b8c8
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x52b8c8
mov byte [esi + 0x17], 1
push esi
call fcn.0052e670
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x52d171
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 0x52bab4
lea esi, [ecx + 4]
mov dword [ebp - 0x18], esi
jmp 0x52b900
push dword [esi]
lea eax, [ebp - 0x10c]
push eax
call fcn.00524540
add esp, 8
test eax, eax
jne 0x52d171
mov edx, dword [ebp - 4]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x52b99f
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 0x52b975
test ecx, ecx
jne 0x52b987
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x52ba08
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 0x52b99f
movzx eax, byte [eax + 0x58c540]
movzx ecx, byte [ecx + 0x58c540]
sub ecx, eax
jne 0x52b98a
inc edx
jmp 0x52b940
mov edx, dword [ebp - 4]
inc edi
mov esi, dword [ebp - 0x18]
add ebx, 0x14
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x52b930
mov ebx, dword [ebp - 0x54]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x52ba4f
cmp dword [ebp - 0x28], 0
jne 0x52bbea
mov esi, dword [esi + 4]
push str._ROWID_
push esi
call fcn.0052a4f0
add esp, 8
test eax, eax
je 0x52b9f2
push str.ROWID
push esi
call fcn.0052a4f0
add esp, 8
test eax, eax
je 0x52b9f2
push 0x592d0c
push esi
call fcn.0052a4f0
add esp, 8
test eax, eax
jne 0x52bbea
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 0x52ba63
cmp dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x40]
je 0x52ba30
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 1
je 0x52ba30
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 0x52b99f
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x52bbcf
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x18]
mov dword [eax + edi*4], ebx
jmp 0x52b99f
test edi, edi
jns 0x52ba5a
mov edx, str.ROWID
jmp 0x52ba63
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.00503cc0
add esp, 0x14
cmp eax, 1
je 0x52d171
cmp eax, 2
jne 0x52ba9c
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 0x52b900
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 0x52bbc1
movzx eax, word [edx + 0x2a]
xor ecx, ecx
xor ebx, ebx
xor esi, esi
cmp cx, ax
jge 0x52bbbe
xor edi, edi
jmp 0x52baf0
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + esi*4], 0
jge 0x52bba1
mov eax, dword [edx + 4]
test byte [eax + edi + 0x10], 0x60
je 0x52bba1
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], 0x4dfe40
mov dword [ebp - 0xac], ecx
test eax, eax
je 0x52bb7f
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0054d4b0
mov edx, dword [ebp - 4]
add esp, 8
mov ecx, dword [ebp - 0x20]
cmp byte [ebp - 9], 0
mov ax, word [ebp - 0xb0]
jne 0x52bb90
and ax, word [ebp - 0x40]
test ax, ax
je 0x52bba1
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 0x52baf0
mov eax, ecx
test ebx, ebx
jne 0x52bad4
mov bh, byte [ebp - 0x60]
cmp dword [edx + 0x38], 0
je 0x52bc0e
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x52bc12
push dword [ebp - 0x84]
push str.cannot_UPDATE_generated_column___s_
push dword [ebp + 8]
call fcn.0050dd30
add esp, 0xc
jmp 0x52d171
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.0050dd30
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x52d171
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.00515000
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 0x52be09
mov ebx, dword [ebp - 0x58]
inc ebx
mov dword [ebp - 0x18], ebx
cmp byte [ebp - 0x60], 0
jne 0x52bdce
cmp ecx, 1
jg 0x52bdce
cmp esi, dword [ebp - 0x28]
je 0x52bdce
mov eax, dword [esi + 0x24]
test eax, eax
je 0x52bce9
xor ecx, ecx
mov dword [ebp - 0xc0], 0x4dfe40
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.0054d4b0
mov ax, word [ebp - 0xb0]
add esp, 8
cmp byte [ebp - 9], 0
jne 0x52bce0
mov ecx, 0xfffd
and ax, cx
test ax, ax
jne 0x52bdce
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [ebp - 0x40], ecx
cmp ax, word [esi + 0x32]
jae 0x52bde4
xor ebx, ebx
mov edi, edi
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x52bd1a
mov ecx, dword [ebp - 0x20]
cwde
mov eax, dword [ecx + eax*4]
not eax
shr eax, 0x1f
jmp 0x52bd85
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], 0x4dfe40
mov dword [ebp - 0xd4], ecx
test eax, eax
je 0x52bd68
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0054d4b0
add esp, 8
cmp byte [ebp - 9], 0
mov cx, word [ebp - 0xd8]
jne 0x52bd7d
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
setne al
test eax, eax
jne 0x52bda1
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x14
cmp edi, eax
jl 0x52bd00
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x18]
jmp 0x52bde4
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 0x52bde0
cmp byte [esi + 0x36], 5
jne 0x52bde0
mov dword [ebp - 0x5c], 1
jmp 0x52bde0
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 0x52bdea
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 0x52bc65
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 0x52be33
mov eax, dword [ebp - 0x9c]
inc eax
push eax
push 1
push dword [ebp - 0x58]
call fcn.0048deb0
add esp, 0xc
cmp byte [esi + 0x12], 0
jne 0x52be43
mov eax, dword [ebp - 8]
or dword [eax + 0x98], 0x10
cmp dword [ebp - 0x38], 0
jne 0x52be53
cmp dword [ebp - 0x4c], 0
jne 0x52be53
xor bl, bl
jmp 0x52be55
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 0x52be85
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x52be85
push esi
call fcn.0051d210
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 0x52bf07
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 0x52bec8
cmp dword [ebp - 0x38], 0
jne 0x52bec8
mov eax, dword [ebp - 0x4c]
mov ecx, edx
test eax, eax
je 0x52bedd
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 0x52beeb
cmp dword [ebp - 0x38], 0
jne 0x52beeb
test eax, eax
je 0x52bef6
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 0x52bf0a
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp + 0x14]
test ecx, ecx
je 0x52bf42
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.0051c880
add esp, 0x18
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00524540
add esp, 8
test eax, eax
jne 0x52d15b
cmp dword [esi + 0x38], eax
je 0x52bf7e
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.005466b0
add esp, 0x20
jmp 0x52d15b
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 0x52c008
cmp dword [edi + 0x78], 0
jne 0x52c008
cmp byte [edi + 0x12], 0
jne 0x52c008
cmp dword [ebp + 0x24], 0
jne 0x52c008
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 0x52bfd4
push 0
push edx
push 0
push 0x45
push edi
call fcn.004ef800
add esp, 0x14
jmp 0x52c00b
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 0x52c00b
mov edi, dword [ebp - 8]
test byte [esi + 0x24], 0x80
jne 0x52c0e3
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52c032
push dword [ebp - 0x14]
push dword [ebp - 0x30]
push 0
push 0x48
push edi
call fcn.004ef800
add esp, 0x14
jmp 0x52c063
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 0x52c20c
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.005114f0
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 0x52c370
mov esi, dword [ebp - 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52c2cc
push 0
push dword [ebp - 0x14]
push edx
push 0x7f
push esi
call fcn.004ef800
mov edx, dword [ebp - 0x14]
add esp, 0x14
jmp 0x52c2fd
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 0x52c070
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 0x52c139
push edx
push dword [ebp - 0x48]
push 0
push 0x48
push edi
call fcn.004ef800
add esp, 0x14
jmp 0x52c16a
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 0x52c191
push 0
push esi
push dword [ebp - 0x44]
push 0x64
push edi
call fcn.004ef800
add esp, 0x14
mov dword [ebp - 0x98], eax
jmp 0x52c1bf
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.0051b0d0
mov edx, eax
add esp, 8
test edx, edx
je 0x52c20f
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x52c1f8
cmp dword [eax + 0x1f8], 0
jne 0x52c20f
add dword [edx], 0xffffffff
jne 0x52c20f
push edx
push dword [edx + 0xc]
call fcn.0050bed0
add esp, 8
jmp 0x52c20f
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 0x52c20f
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x12], 0
mov eax, 0x1004
jne 0x52c238
cmp dword [ebp - 0x38], 0
jne 0x52c238
cmp dword [ebp - 0x4c], 0
jne 0x52c238
cmp byte [ebp - 0x60], 0
jne 0x52c238
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.0053cf00
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x40], esi
test esi, esi
je 0x52d15b
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 0x52c0ae
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 0x52c0ae
test ebx, ebx
js 0x52c0ae
cmp ebx, edx
je 0x52c0ae
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 0x52c0ae
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 0x52c492
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 0x52c33a
push edi
push edx
push dword [ebp - 0x30]
push 0x93
push esi
call fcn.004ef800
add esp, 0x14
jmp 0x52c492
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 0x52c492
mov eax, dword [ebp - 0x7c]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x52c3aa
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.0050eb00
mov ecx, dword [ebp - 4]
inc esi
mov edx, dword [ebp - 0x10]
add esp, 0x14
cmp esi, edi
jl 0x52c380
mov ebx, dword [ebp - 0x54]
cmp dword [ebp - 0x2c], 0
je 0x52c3fd
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x52c3ec
mov esi, dword [ebp - 8]
mov edx, dword [esi]
cmp byte [edx + 0x51], 0
jne 0x52c3ec
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.004eccc0
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 0x52c48f
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x50]
call fcn.00518d40
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.0052dd30
mov edx, dword [esi + 0x6c]
add esp, 0x1c
cmp dword [esi + 0x70], edx
jg 0x52c445
push dword [ebp - 0x48]
push dword [ebp - 0x24]
push dword [ebp - 0x44]
push 0x82
push esi
call fcn.004ef800
add esp, 0x14
mov edx, eax
jmp 0x52c478
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 0x52c48f
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 0x52c81b
cmp edi, 2
je 0x52c4ac
push dword [ebp - 0x40]
call fcn.0053fe20
add esp, 4
mov ecx, dword [ebp - 0x78]
test ecx, ecx
jne 0x52c5e4
xor esi, esi
test edi, edi
je 0x52c4df
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x58]
test eax, eax
js 0x52c4d3
sub eax, edx
mov byte [eax + ecx], 0
test ebx, ebx
js 0x52c4df
mov eax, ebx
sub eax, edx
mov byte [eax + ecx], 0
cmp edi, 2
jne 0x52c54a
mov ecx, dword [ebp - 0x9c]
xor eax, eax
test ebx, ebx
setns al
sub ecx, eax
test ecx, ecx
jle 0x52c54a
mov edx, dword [ebp - 8]
mov esi, dword [edx + 0x6c]
cmp dword [edx + 0x70], esi
jg 0x52c517
push 0
push 0
push 0
push 0x11
push edx
call fcn.004ef800
add esp, 0x14
mov esi, eax
jmp 0x52c54a
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.0051cff0
mov eax, dword [ebp - 8]
add esp, 0x20
test esi, esi
je 0x52c57e
mov edx, dword [eax + 0x6c]
lea ecx, [edx - 1]
cmp esi, ecx
jne 0x52c5b5
mov dword [eax + 0x6c], ecx
mov ecx, dword [ebp - 0x78]
test edi, edi
je 0x52c659
test ecx, ecx
jne 0x52c5e9
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 0x68], ecx
je 0x52c5e9
mov esi, dword [ebp - 0x3c]
cmp ebx, ecx
mov ebx, dword [ebp - 0x24]
je 0x52c5ef
push dword [ebp - 0x90]
push ebx
push esi
push ecx
push 0x1d
push eax
call fcn.0052de20
add esp, 0x18
jmp 0x52c5ef
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x52c5ca
mov eax, 0x5b6fa4
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
jmp 0x52c57e
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 0x52c57e
mov eax, dword [ebp - 8]
jmp 0x52c581
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
cmp edi, 1
je 0x52c600
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 0x52c629
push 0
push esi
push edx
push 0x32
push edi
call fcn.004ef800
add esp, 0x14
jmp 0x52c81e
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 0x52c81e
cmp dword [ebp - 0x28], 0
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x3c]
je 0x52c781
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 0x52c693
push 0
push esi
push dword [ebp - 0x44]
push 0x25
push edi
call fcn.004ef800
mov edx, dword [ebp - 0x44]
add esp, 0x14
jmp 0x52c6c1
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 0x52c6e9
push 0
push esi
push edx
push 0x7e
push edi
call fcn.004ef800
add esp, 0x14
mov dword [ebp - 0xa4], eax
jmp 0x52c714
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 0x52c730
push esi
push ebx
push dword [ebp - 0x10]
push 0x1d
push edi
call fcn.004ef800
add esp, 0x14
mov edx, eax
jmp 0x52c75d
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 0x52c81e
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 0x52c81e
mov ebx, dword [edi + 0x6c]
mov dword [ebp - 0x18], ebx
cmp dword [edi + 0x70], ebx
jg 0x52c7a8
push dword [ebp - 0x14]
push esi
push dword [ebp - 0x30]
push 0x2a
push edi
call fcn.004ef800
mov esi, dword [ebp - 0x14]
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x18], ebx
jmp 0x52c7d5
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 0x52c7ef
push esi
push ebx
push dword [ebp - 0x10]
push 0x20
push edi
call fcn.004ef800
add esp, 0x14
jmp 0x52c81e
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 0x52c81e
mov edi, dword [ebp - 8]
cmp byte [ebp - 9], 0
mov ebx, dword [ebp + 8]
je 0x52c8f1
mov esi, dword [ebp - 0x34]
push esi
push dword [ebp - 0x80]
push ebx
call fcn.0050fba0
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x52c876
mov esi, dword [ebx + 8]
test esi, esi
je 0x52c873
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 0x52c893
push 0
push dword [ebp - 0x34]
push edi
push edx
push esi
call fcn.004ef800
add esp, 0x14
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 8]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52c8c2
push 0
push 0
push esi
push 0xf
push edi
call fcn.004ef800
add esp, 0x14
jmp 0x52c8f1
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 0x52c876
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 0x52c93f
cmp dword [ebp - 0x4c], 0
jne 0x52c945
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52ca68
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.0052aa20
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 0x52ca0b
xor edi, edi
jmp 0x52c958
cmp dword [ebp - 0x4c], 0
je 0x52c908
push dword [ebp - 4]
push ebx
call fcn.00514f20
add esp, 8
mov ebx, eax
jmp 0x52c90a
mov eax, dword [ebp - 4]
push esi
push eax
call fcn.0052a6f0
movsx edx, ax
add esp, 8
add edx, dword [ebp - 0x94]
cmp ebx, 0xffffffff
je 0x52c9e2
cmp esi, 0x20
jae 0x52c982
mov eax, 1
mov ecx, esi
shl eax, cl
test ebx, eax
jne 0x52c9e2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + edi + 0x10], 1
jne 0x52c9e2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x52c9a9
push 0
push edx
push 0
push 0x48
push eax
call fcn.004ef800
jmp 0x52c9f2
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 0x52c9f5
push edx
push esi
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0050eb00
add esp, 0x14
mov eax, dword [ebp - 4]
inc esi
add edi, 0x14
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x52c955
mov edi, dword [ebp - 8]
cmp byte [ebp - 9], 0
jne 0x52ca65
cmp dword [ebp - 0x28], 0
jne 0x52ca65
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52ca34
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x14]
push 0x4d
push edi
call fcn.004ef800
add esp, 0x14
jmp 0x52ca65
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.0052aa20
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 0x52cc2a
xor ecx, ecx
mov dword [ebp - 0x68], ecx
movsx eax, word [eax + 0x28]
cmp ebx, eax
jne 0x52caca
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x52cbba
push 0
push esi
push 0
push 0x48
push edi
call fcn.004ef800
jmp 0x52cc03
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx + 0x10]
test al, 0x60
je 0x52cae8
test al, 0x20
lea eax, [esi - 1]
cmove eax, esi
mov esi, eax
jmp 0x52cc09
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x52cb90
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.0050fba0
add esp, 0xc
mov dword [ebp - 0x7c], eax
cmp eax, esi
je 0x52cc06
mov edi, dword [edi + 8]
test edi, edi
je 0x52cc06
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 0x52cb58
push 0
push esi
push eax
push edx
push edi
call fcn.004ef800
jmp 0x52cc03
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 0x52cc06
test dword [ebp - 0xa0], 1
je 0x52cbeb
cmp ebx, 0x1f
ja 0x52cbeb
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
jne 0x52cbeb
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x52cab8
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 0x52cc09
push esi
push ebx
push dword [ebp - 0x10]
push dword [ebp - 4]
push edi
call fcn.0050eb00
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 0x52caa4
mov ecx, dword [ebp - 0x74]
test byte [eax + 0x24], 0x60
je 0x52cc40
push eax
push ecx
push dword [ebp + 8]
call fcn.0050a5b0
mov eax, dword [ebp - 4]
add esp, 0xc
test byte [ebp - 0xa0], 1
je 0x52cdef
push dword [ebp - 0x74]
mov ebx, dword [ebp - 8]
push eax
push ebx
call fcn.0052a5a0
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov edi, dword [ebp - 0x18]
mov esi, eax
test eax, eax
je 0x52ccac
mov ebx, dword [ebp - 4]
lea esp, [esp]
cmp byte [esi + 8], 0x7f
jne 0x52cca2
cmp byte [esi + 9], 1
jne 0x52cca2
push dword [ebp + 0x10]
push dword [esi + 0x10]
call fcn.004dfd80
add esp, 8
test eax, eax
je 0x52cca2
push edi
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push ebx
push esi
push dword [ebp + 8]
call fcn.00509470
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x52cc70
mov ebx, dword [ebp - 8]
cmp dword [ebp - 0x28], 0
mov edx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x70]
je 0x52cd58
cmp eax, edx
jg 0x52ccd6
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x10]
push 0x1d
push ebx
call fcn.004ef800
add esp, 0x14
mov edx, eax
jmp 0x52cd03
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 0x52cd20
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 0x52cdd9
lea esp, [esp]
mov eax, dword [ecx + 4]
movzx eax, word [eax + ebx + 0x10]
test al, 0x60
je 0x52cd9f
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x52cdc2
cmp eax, edx
jg 0x52cd70
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
push 0x20
push ebx
call fcn.004ef800
add esp, 0x14
jmp 0x52cd20
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 0x52cd23
mov eax, dword [ebp - 0x20]
cmp dword [eax + esi*4], 0
jge 0x52cdc2
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x52cdc2
push edi
push esi
push edx
push ecx
push dword [ebp - 8]
call fcn.0050eb00
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 0x52cd40
mov eax, dword [ebp - 0x74]
test byte [ecx + 0x24], 0x60
mov esi, dword [ebp + 8]
je 0x52cdf5
push ecx
push eax
push esi
call fcn.0050a5b0
add esp, 0xc
jmp 0x52cdf2
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x78], 0
mov ebx, dword [ebp - 0x18]
jne 0x52d004
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.005151d0
add esp, 0x34
cmp dword [ebp - 0x5c], 0
jne 0x52ce38
cmp byte [ebp - 0x60], 0
je 0x52ce9f
cmp dword [ebp - 0x28], 0
mov esi, dword [ebp - 8]
je 0x52ce59
push dword [ebp - 0x90]
push dword [ebp - 0x24]
push ebx
push edi
push 0x1d
push esi
call fcn.0052de20
add esp, 0x18
jmp 0x52cea2
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52ce73
push dword [ebp - 0x14]
push ebx
push edi
push 0x20
push esi
call fcn.004ef800
add esp, 0x14
jmp 0x52cea2
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 0x52cea5
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x52cec6
push dword [ebp - 0x84]
push dword [ebp - 0x20]
push 0
push edx
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00514180
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.00517740
add esp, 0x18
cmp dword [ebp - 0x8c], 0
je 0x52cf05
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52cf2d
push 0
push 0
push dword [ebp - 0x10]
push 0x87
push esi
call fcn.004ef800
add esp, 0x14
mov edx, dword [ebp - 0x10]
cmp edi, 1
jg 0x52cf13
cmp byte [ebp - 0x60], 0
je 0x52cf90
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x52cf61
push 0
push 0
push edx
push 0x7a
push esi
call fcn.004ef800
add esp, 0x14
jmp 0x52cf90
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 0x52cf08
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 0x52cfb0
push dword [ebp - 0x84]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00514180
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.0050a3a0
add esp, 0x24
test edi, edi
je 0x52d007
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.005140f0
add esp, 0x18
jmp 0x52d007
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xa8]
mov edi, dword [ebp - 8]
test eax, eax
je 0x52d022
push 1
push eax
push 0x52
push edi
call fcn.0052dc80
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.00509410
add esp, 0x24
cmp esi, 1
je 0x52d0d3
cmp esi, 2
jne 0x52d08a
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52d074
push ebx
push edi
push ecx
call fcn.004fd400
add esp, 0xc
push dword [ebp - 0x40]
call fcn.0053fe20
add esp, 4
jmp 0x52d0d3
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
push dword [ebp - 0x40]
mov dword [ecx + ebx*4], eax
call fcn.0053fe20
add esp, 4
jmp 0x52d0d3
cmp dword [ebp - 0x28], 0
je 0x52d0c9
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52d0aa
push ebx
push edi
push ecx
call fcn.004fd400
add esp, 0xc
jmp 0x52d0b3
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.0052dc80
add esp, 0x10
jmp 0x52d0d3
push ebx
push edi
call fcn.00537160
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 0x52d0f0
push edx
push edi
push ecx
call fcn.004fd400
add esp, 0xc
jmp 0x52d0f9
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 0x52d11d
cmp dword [eax + 0x78], 0
jne 0x52d11d
cmp dword [ebp + 0x24], 0
jne 0x52d11d
cmp dword [eax + 0x70], 0
je 0x52d11d
push eax
call fcn.004db950
add esp, 4
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x52d15b
push 1
push eax
push 0x50
push edi
call fcn.0052dc80
push 1
push edi
call fcn.0053a200
mov eax, dword [edi]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x52d15b
push 0
push 1
push 0xffffffffffffffff
push str.rows_updated
push dword [edi + 0x74]
call fcn.005386f0
add esp, 0x14
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x52d171
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 0xf0], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x50]
call fcn.0050bed0
add esp, 8
mov ebx, dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x50]
call fcn.00529490
mov eax, dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x52d1a3
push eax
push dword [ebp - 0x50]
call fcn.004e9280
add esp, 8
test ebx, ebx
je 0x52d1b3
push ebx
push dword [ebp - 0x50]
call fcn.00511210
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret