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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
xor esi, esi
lea edi, [esp + 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x40], esi
jne 0x524f58
cmp byte [eax + 0x1e], 0
jne 0x524f58
mov ecx, dword [ebp + 0xc]
mov eax, ebx
call fcn.00517500
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x524f58
mov ecx, dword [ebx]
mov edi, eax
mov esi, dword [edi + 0x44]
call fcn.0051ea49
mov dword [esp + 0x50], eax
lea eax, [esp + 0x58]
push eax
push dword [ebp + 0x10]
mov ecx, edi
push 0x6b
mov eax, ebx
call fcn.00523e4f
mov dword [esp + 0x50], eax
xor eax, eax
add esp, 0xc
cmp dword [edi + 0x1c], eax
push edi
setne al
push ebx
mov dword [esp + 0x64], eax
call fcn.005153e6
pop ecx
pop ecx
test eax, eax
jne 0x524f58
push dword [esp + 0x58]
mov edx, edi
mov eax, ebx
call fcn.00517545
pop ecx
test eax, eax
jne 0x524f58
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x38]
shl eax, 2
push eax
call fcn.004f311c
pop ecx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x524f58
xor eax, eax
cmp dword [edi + 8], eax
jle 0x524565
mov ecx, dword [esp + 0x2c]
or dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [edi + 8]
jl 0x524557
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], eax
inc dword [ebx + 0x44]
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
jmp 0x524584
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x52457d
push 9
pop ecx
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], esi
jle 0x5246d5
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + eax]
lea esi, [esp + 0x6c]
call fcn.0050e974
test eax, eax
jne 0x524f58
mov edi, dword [esp + 0x10]
and dword [esp + 0x20], eax
cmp dword [edi + 8], eax
jle 0x52463c
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
lea esi, [ecx + eax]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 4]
mov ecx, dword [eax]
call fcn.004f4aa1
test eax, eax
je 0x52461a
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x28], 0x18
cmp eax, dword [edi + 8]
jl 0x5245f4
jmp 0x52463c
mov eax, dword [esp + 0x20]
cmp eax, dword [edi + 4]
jne 0x524631
mov ecx, dword [esi]
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x20]
cmp eax, dword [edi + 8]
jl 0x524677
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
add eax, ecx
mov esi, dword [eax + 4]
mov dword [esp + 0x30], eax
call fcn.0050fb62
test eax, eax
je 0x5246fa
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 8]
mov esi, dword [esp + 0x20]
shl eax, 4
push dword [eax + ecx]
mov ecx, dword [edi + 0xc]
mov eax, esi
imul eax, eax, 0x18
push dword [eax + ecx]
mov eax, ebx
push dword [edi]
push 0x17
call fcn.005139c6
add esp, 0x10
cmp eax, 1
je 0x524f58
cmp eax, 2
jne 0x5246bb
mov eax, dword [esp + 0x2c]
or dword [eax + esi*4], 0xffffffff
inc dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x18], 0x14
cmp ecx, dword [eax]
jl 0x5245b5
xor esi, esi
mov eax, dword [ebx]
test dword [eax + 0xc], 0x4000000
je 0x524722
push dword [esp + 0x34]
push dword [esp + 0x30]
push dword [esp + 0x18]
call fcn.0051a051
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x524726
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
imul eax, eax, 0x14
mov ecx, dword [ecx + 0xc]
push dword [eax + ecx + 4]
mov edi, ebx
push str.no_such_column:__s
call fcn.004f4a08
pop ecx
pop ecx
mov byte [ebx + 0x12], 1
jmp 0x524f58
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
xor ecx, ecx
cmp eax, esi
je 0x52475b
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x524733
test ecx, ecx
jle 0x52475b
mov esi, dword [esp + 0x38]
mov eax, ecx
shl eax, 2
push eax
call fcn.004f311c
pop ecx
mov dword [esp + 0x3c], eax
test eax, eax
je 0x524f58
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
xor ecx, ecx
cmp eax, ecx
je 0x5247ba
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], edx
cmp dword [esp + 0x34], ecx
jne 0x5247a0
cmp dword [eax + 4], ecx
mov dword [esp + 0x14], ecx
jle 0x5247a6
mov edx, dword [eax + 8]
mov esi, dword [edx]
mov edi, dword [esp + 0x2c]
cmp dword [edi + esi*4], 0
jge 0x5247a0
inc dword [esp + 0x14]
mov esi, dword [esp + 0x14]
add edx, 4
cmp esi, dword [eax + 4]
jl 0x524782
jmp 0x5247a6
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x28]
add dword [esp + 0x28], 4
mov dword [edx], ecx
mov eax, dword [eax + 0x20]
xor ecx, ecx
cmp eax, ecx
jne 0x524770
mov edi, ebx
call fcn.00520245
xor esi, esi
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x524f58
cmp byte [ebx + 0x13], 0
jne 0x5247d9
mov byte [eax + 0x61], 1
mov ecx, dword [esp + 0x50]
push 1
mov eax, ebx
call fcn.00516cd8
mov eax, dword [esp + 0x14]
test byte [eax + 0x22], 0x10
pop ecx
je 0x524817
push dword [ebp + 0x14]
mov ecx, ebx
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00524faa
add esp, 0x14
mov dword [ebp + 0x14], esi
mov dword [ebp + 0xc], esi
jmp 0x524f58
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x44], esi
jne 0x524831
cmp dword [esp + 0x40], esi
je 0x524840
lea edx, [ecx + 1]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 8]
add edx, ecx
mov dword [ebx + 0x48], edx
cmp dword [esp + 0x34], esi
jne 0x524852
cmp dword [esp + 0x44], esi
jne 0x524852
cmp dword [esp + 0x40], esi
je 0x52485c
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x48]
lea edx, [ecx + 1]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
lea ecx, [ecx + edx + 1]
mov dword [ebx + 0x48], ecx
cmp dword [esp + 0x5c], esi
je 0x52489b
push dword [esp + 0x1c]
lea ecx, [ebx + 0x208]
mov edx, dword [ecx]
push dword [ebp + 0x14]
mov dword [esp + 0x6c], edx
mov edx, dword [eax]
push eax
push ebx
mov dword [esp + 0x78], ebx
mov dword [ecx], edx
call fcn.005175aa
add esp, 0x10
mov edi, dword [ebp + 0x14]
lea esi, [esp + 0x6c]
call fcn.0050e974
test eax, eax
jne 0x524f58
mov eax, dword [esp + 0xc]
xor esi, esi
push esi
push dword [esp + 0x28]
push esi
push 0xa
call fcn.005045fc
push 4
push esi
push edi
push dword [ebp + 0xc]
push ebx
call fcn.005294d4
mov edi, eax
add esp, 0x24
cmp edi, esi
je 0x524f58
movzx eax, byte [edi + 6]
push dword [esp + 0x24]
mov dword [esp + 0x1c], eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0x3d
call fcn.0050467a
add esp, 0xc
cmp dword [esp + 0x18], esi
jne 0x52491d
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push dword [esp + 0x24]
mov dword [esp + 0x4c], eax
push eax
mov eax, dword [esp + 0x14]
push 0x69
call fcn.0050467a
add esp, 0xc
call fcn.00529d92
mov eax, dword [esp + 0x38]
test dword [eax + 0xc], 0x1000
je 0x524952
cmp dword [ebx + 0x1ac], esi
jne 0x524952
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push esi
push eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
push esi
push 7
call fcn.005045fc
add esp, 0x10
cmp dword [esp + 0x5c], esi
jne 0x5249fc
cmp dword [esp + 0x18], esi
jne 0x524979
mov esi, dword [esp + 0x10]
push 0x27
push dword [esp + 0x54]
push dword [esp + 0x24]
push ebx
call fcn.0051a66e
add esp, 0x10
cmp dword [ebp + 0x18], 5
mov esi, dword [esp + 0x10]
je 0x52499c
and dword [esp + 0x4c], 0
mov eax, dword [esi + 0x10]
jmp 0x524996
cmp byte [eax + 0x18], 5
je 0x52499c
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x52498d
jmp 0x5249a4
mov dword [esp + 0x4c], 1
and dword [esp + 0x14], 0
mov edi, dword [esi + 0x10]
jmp 0x5249f6
cmp dword [esp + 0x4c], 0
jne 0x5249c3
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
cmp dword [eax + ecx*4], 0
jle 0x5249ef
push edi
push ebx
call fcn.00516f60
mov ecx, dword [esp + 0x1c]
push 0xfffffffffffffff0
push eax
push dword [esp + 0x60]
mov eax, dword [esp + 0x30]
push dword [edi + 0x14]
lea eax, [eax + ecx + 1]
push eax
push 0x27
push dword [esp + 0x2c]
call fcn.00504691
add esp, 0x24
mov edi, dword [edi + 0x20]
inc dword [esp + 0x14]
test edi, edi
jne 0x5249ae
jmp 0x524a00
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x18], 0
mov edi, dword [esp + 0xc]
push dword [esp + 0x24]
mov eax, edi
je 0x524a3b
push 0x4a
call fcn.00504665
push 1
push edi
mov dword [esp + 0x58], eax
call fcn.0050464f
mov edx, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
add esp, 0x10
mov ecx, edi
call fcn.0050489b
jmp 0x524a4f
push 0
push dword [esp + 0x50]
push 0x6a
call fcn.005045fc
add esp, 0x10
mov dword [esp + 0x18], eax
push dword [esp + 0x24]
mov eax, edi
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0x34
call fcn.005045fc
add esp, 0x10
cmp dword [esp + 0x34], 0
je 0x524a8b
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, ebx
call fcn.005111d3
mov eax, dword [esp + 0xc]
push edi
push 0x15
call fcn.00504665
pop ecx
pop ecx
xor eax, eax
cmp dword [esp + 0x40], eax
jne 0x524a9f
cmp dword [esp + 0x44], eax
je 0x524b51
jmp 0x524aaf
push ebx
mov ebx, esi
call fcn.00519fa5
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
pop ecx
push dword [ebp + 0x18]
xor edi, edi
push esi
push 3
push edi
push dword [ebp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
push ebx
call fcn.0052439b
or dword [esp + 0x48], eax
add esp, 0x18
cmp dword [esi + 8], edi
jle 0x524b34
mov eax, dword [esp + 0x2c]
cmp dword [eax + edi*4], 0
jl 0x524b0e
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x524b0e
xor edx, edx
inc edx
mov ecx, edi
shl edx, cl
test eax, edx
jne 0x524b0e
mov eax, dword [esp + 0x60]
push 0
add eax, edi
push eax
mov eax, dword [esp + 0x14]
push 0
push 0xa
call fcn.005045fc
add esp, 0x10
jmp 0x524b2e
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xc]
add eax, edi
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov esi, edi
call fcn.005105c0
mov esi, dword [esp + 0x18]
pop ecx
pop ecx
inc edi
cmp edi, dword [esi + 8]
jl 0x524ad5
cmp dword [esp + 0x34], 0
jne 0x524b51
push dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push dword [esp + 0x28]
push 0xe
call fcn.0050467a
add esp, 0xc
push dword [ebp + 0x18]
mov eax, dword [esp + 0x48]
push esi
push 1
push 1
push dword [ebp + 0x10]
push ebx
call fcn.0052439b
xor edi, edi
add esp, 0x18
cmp dword [esi + 8], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], edi
jle 0x524c29
cmp edi, dword [esi + 4]
jne 0x524b9c
mov eax, dword [esp + 0x28]
push 0
add eax, edi
push eax
mov eax, dword [esp + 0x14]
push 0
push 0xa
call fcn.005045fc
add esp, 0x10
jmp 0x524c1b
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi*4]
test eax, eax
jl 0x524bc7
mov ecx, dword [esp + 0x28]
imul eax, eax, 0x14
mov edx, dword [esp + 0x14]
lea edi, [ecx + edx]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + ecx]
mov ecx, ebx
call fcn.005111d3
jmp 0x524c17
test dword [esp + 0x58], 1
je 0x524be3
cmp edi, 0x1f
jg 0x524be3
xor eax, eax
inc eax
mov ecx, edi
shl eax, cl
test dword [esp + 0x48], eax
je 0x524c1b
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
lea ebx, [eax + edi]
mov eax, dword [esp + 0xc]
push ebx
push edi
push dword [esp + 0x24]
push 0x1c
call fcn.005045fc
push ebx
mov ebx, dword [esp + 0x20]
mov eax, edi
mov edi, esi
call fcn.005243ff
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 8]
add esp, 0x14
mov edi, dword [esp + 0x14]
inc edi
cmp edi, dword [esi + 8]
mov dword [esp + 0x14], edi
jl 0x524b7c
test byte [esp + 0x58], 1
je 0x524d0a
push dword [esi + 8]
mov eax, dword [esp + 0x10]
push dword [esp + 0x2c]
push 0x1d
call fcn.0050467a
add esp, 0xc
push dword [esp + 0xc]
mov edi, esi
call fcn.0051a733
mov edi, dword [esp + 0x48]
pop ecx
jmp 0x524c90
cmp byte [edi + 8], 0x6b
jne 0x524c8d
cmp byte [edi + 9], 1
jne 0x524c8d
push dword [edi + 0x10]
mov eax, dword [ebp + 0x10]
call fcn.00523e11
pop ecx
test eax, eax
je 0x524c8d
push dword [esp + 0x18]
push dword [ebp + 0x18]
push dword [esp + 0x2c]
push esi
push edi
push ebx
call fcn.005242c2
add esp, 0x18
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x524c5b
push dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0x34
call fcn.005045fc
xor eax, eax
add esp, 0x10
cmp dword [esi + 8], eax
mov dword [esp + 0x14], eax
jle 0x524d0a
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + eax*4], 0
jge 0x524d00
cmp eax, dword [esi + 4]
je 0x524d00
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
lea ebx, [eax + edi]
mov eax, dword [esp + 0xc]
push ebx
push edi
push dword [esp + 0x24]
push 0x1c
call fcn.005045fc
push ebx
mov ebx, dword [esp + 0x20]
mov eax, edi
mov edi, esi
call fcn.005243ff
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x28]
add esp, 0x14
inc eax
cmp eax, dword [esi + 8]
mov dword [esp + 0x14], eax
jl 0x524cb9
cmp dword [esp + 0x5c], 0
jne 0x524e13
mov eax, dword [esp + 0x34]
xor esi, esi
push esi
push dword [esp + 0x1c]
neg eax
push dword [ebp + 0x18]
sbb eax, eax
and eax, dword [esp + 0x30]
push 1
push eax
push dword [esp + 0x50]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x30]
push ebx
call fcn.0051b774
add esp, 0x28
cmp dword [esp + 0x40], esi
je 0x524d5f
push esi
push dword [esp + 0x28]
push dword [esp + 0x18]
push ebx
call fcn.00519cc0
add esp, 0x10
push dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push esi
push dword [esp + 0x24]
push 0x34
call fcn.005045fc
push dword [esp + 0x4c]
mov edi, eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x28]
call fcn.00517c80
xor esi, esi
add esp, 0x18
cmp dword [esp + 0x40], esi
jne 0x524d97
cmp dword [esp + 0x34], esi
je 0x524dab
mov eax, dword [esp + 0xc]
push esi
push esi
push dword [esp + 0x24]
push 0x39
call fcn.005045fc
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
mov eax, edi
call fcn.0050489b
cmp dword [esp + 0x40], esi
je 0x524dd3
push dword [esp + 0x20]
push esi
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00519cc0
add esp, 0x10
mov ebx, dword [esp + 0x10]
push esi
push esi
push 1
push dword [esp + 0x48]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [ebp + 8]
call fcn.0051bd40
add esp, 0x1c
cmp dword [esp + 0x40], 0
je 0x524e10
push dword [esp + 0x24]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push ebx
call fcn.0051a58c
add esp, 0xc
mov ebx, edi
jmp 0x524e13
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
test dword [eax + 0xc], 0x1000
je 0x524e3f
cmp dword [ebx + 0x1ac], 0
jne 0x524e3f
mov eax, dword [esp + 0xc]
push 0
push 1
push dword [esp + 0x5c]
push 0x14
call fcn.005045fc
add esp, 0x10
mov esi, dword [esp + 0x44]
jmp 0x524e7d
cmp byte [esi + 8], 0x6b
jne 0x524e7a
cmp byte [esi + 9], 2
jne 0x524e7a
push dword [esi + 0x10]
mov eax, dword [ebp + 0x10]
call fcn.00523e11
pop ecx
test eax, eax
je 0x524e7a
push dword [esp + 0x18]
push dword [ebp + 0x18]
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push esi
push ebx
call fcn.005242c2
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x524e45
mov esi, dword [esp + 0xc]
xor edi, edi
push edi
push dword [esp + 0x1c]
mov eax, esi
push edi
push 1
call fcn.005045fc
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x28]
add esp, 0x10
mov ecx, esi
call fcn.0050489b
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x10]
jmp 0x524ee0
cmp dword [esp + 0x4c], 0
jne 0x524ec1
mov eax, dword [esp + 0x3c]
cmp dword [eax + edi*4], 0
jle 0x524edc
mov eax, dword [esp + 0x1c]
push 0
lea eax, [eax + edi + 1]
push 0
push eax
mov eax, dword [esp + 0x18]
push 0x2b
call fcn.005045fc
add esp, 0x10
mov esi, dword [esi + 0x20]
inc edi
test esi, esi
jne 0x524eb0
mov eax, dword [esp + 0xc]
push esi
push esi
push dword [esp + 0x24]
push 0x2b
call fcn.005045fc
add esp, 0x10
cmp byte [ebx + 0x13], 0
jne 0x524f0d
cmp dword [ebx + 0x1ac], esi
jne 0x524f0d
push ebx
call fcn.0051a9b8
pop ecx
mov eax, dword [esp + 0x38]
test dword [eax + 0xc], 0x1000
je 0x524f58
cmp dword [ebx + 0x1ac], 0
jne 0x524f58
cmp byte [ebx + 0x13], 0
jne 0x524f58
mov esi, dword [esp + 0xc]
xor ebx, ebx
push ebx
xor edi, edi
inc edi
push edi
push dword [esp + 0x5c]
mov eax, esi
push 0x10
call fcn.005045fc
call fcn.0050542a
push ebx
push str.rows_updated
push ebx
push ebx
mov eax, esi
call fcn.00505487
add esp, 0x20
mov eax, dword [esp + 0x68]
test eax, eax
je 0x524f6a
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x208], ecx
push dword [esp + 0x3c]
mov esi, dword [esp + 0x3c]
push esi
call fcn.004f2f5d
push dword [esp + 0x34]
push esi
call fcn.004f2f5d
mov ebx, dword [ebp + 0xc]
push esi
call fcn.00516968
mov edi, dword [ebp + 0x10]
add esp, 0x14
push esi
call fcn.0050f9b1
pop ecx
push dword [ebp + 0x14]
push esi
call fcn.0050f1ac
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret