Function at 0x4cb643
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 0x4cc12c
cmp byte [eax + 0x1e], 0
jne 0x4cc12c
mov ecx, dword [ebp + 0xc]
mov eax, ebx
call fcn.004be6e4
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x4cc12c
mov ecx, dword [ebx]
mov edi, eax
mov esi, dword [edi + 0x44]
call fcn.004c5c17
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.004cb021
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.004bc5be
pop ecx
pop ecx
test eax, eax
jne 0x4cc12c
push dword [esp + 0x58]
mov edx, edi
mov eax, ebx
call fcn.004be729
pop ecx
test eax, eax
jne 0x4cc12c
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x38]
shl eax, 2
push eax
call fcn.0049a20a
pop ecx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4cc12c
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4cb739
mov ecx, dword [esp + 0x2c]
or dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [edi + 8]
jl 0x4cb72b
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 0x4cb758
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4cb751
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 0x4cb8a9
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.004b5ae6
test eax, eax
jne 0x4cc12c
mov edi, dword [esp + 0x10]
and dword [esp + 0x20], eax
cmp dword [edi + 8], eax
jle 0x4cb810
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.0049bb7b
test eax, eax
je 0x4cb7ee
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x28], 0x18
cmp eax, dword [edi + 8]
jl 0x4cb7c8
jmp 0x4cb810
mov eax, dword [esp + 0x20]
cmp eax, dword [edi + 4]
jne 0x4cb805
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 0x4cb84b
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.004b6cdd
test eax, eax
je 0x4cb8ce
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.004bab84
add esp, 0x10
cmp eax, 1
je 0x4cc12c
cmp eax, 2
jne 0x4cb88f
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 0x4cb789
xor esi, esi
mov eax, dword [ebx]
test dword [eax + 0xc], 0x4000000
je 0x4cb8f6
push dword [esp + 0x34]
push dword [esp + 0x30]
push dword [esp + 0x18]
call fcn.004c1238
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x4cb8fa
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.0049bae3
pop ecx
pop ecx
mov byte [ebx + 0x12], 1
jmp 0x4cc12c
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
xor ecx, ecx
cmp eax, esi
je 0x4cb92f
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x4cb907
test ecx, ecx
jle 0x4cb92f
mov esi, dword [esp + 0x38]
mov eax, ecx
shl eax, 2
push eax
call fcn.0049a20a
pop ecx
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4cc12c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
xor ecx, ecx
cmp eax, ecx
je 0x4cb98e
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], edx
cmp dword [esp + 0x34], ecx
jne 0x4cb974
cmp dword [eax + 4], ecx
mov dword [esp + 0x14], ecx
jle 0x4cb97a
mov edx, dword [eax + 8]
mov esi, dword [edx]
mov edi, dword [esp + 0x2c]
cmp dword [edi + esi*4], 0
jge 0x4cb974
inc dword [esp + 0x14]
mov esi, dword [esp + 0x14]
add edx, 4
cmp esi, dword [eax + 4]
jl 0x4cb956
jmp 0x4cb97a
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 0x4cb944
mov edi, ebx
call fcn.004c7415
xor esi, esi
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x4cc12c
cmp byte [ebx + 0x13], 0
jne 0x4cb9ad
mov byte [eax + 0x61], 1
mov ecx, dword [esp + 0x50]
push 1
mov eax, ebx
call fcn.004bdebc
mov eax, dword [esp + 0x14]
test byte [eax + 0x22], 0x10
pop ecx
je 0x4cb9eb
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.004cc17e
add esp, 0x14
mov dword [ebp + 0x14], esi
mov dword [ebp + 0xc], esi
jmp 0x4cc12c
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 0x4cba05
cmp dword [esp + 0x40], esi
je 0x4cba14
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 0x4cba26
cmp dword [esp + 0x44], esi
jne 0x4cba26
cmp dword [esp + 0x40], esi
je 0x4cba30
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 0x4cba6f
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.004be78e
add esp, 0x10
mov edi, dword [ebp + 0x14]
lea esi, [esp + 0x6c]
call fcn.004b5ae6
test eax, eax
jne 0x4cc12c
mov eax, dword [esp + 0xc]
xor esi, esi
push esi
push dword [esp + 0x28]
push esi
push 0xa
call fcn.004ab769
push 4
push esi
push edi
push dword [ebp + 0xc]
push ebx
call fcn.004d06a4
mov edi, eax
add esp, 0x24
cmp edi, esi
je 0x4cc12c
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.004ab7e7
add esp, 0xc
cmp dword [esp + 0x18], esi
jne 0x4cbaf1
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.004ab7e7
add esp, 0xc
call fcn.004d0f62
mov eax, dword [esp + 0x38]
test dword [eax + 0xc], 0x1000
je 0x4cbb26
cmp dword [ebx + 0x1ac], esi
jne 0x4cbb26
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.004ab769
add esp, 0x10
cmp dword [esp + 0x5c], esi
jne 0x4cbbd0
cmp dword [esp + 0x18], esi
jne 0x4cbb4d
mov esi, dword [esp + 0x10]
push 0x27
push dword [esp + 0x54]
push dword [esp + 0x24]
push ebx
call fcn.004c1855
add esp, 0x10
cmp dword [ebp + 0x18], 5
mov esi, dword [esp + 0x10]
je 0x4cbb70
and dword [esp + 0x4c], 0
mov eax, dword [esi + 0x10]
jmp 0x4cbb6a
cmp byte [eax + 0x18], 5
je 0x4cbb70
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4cbb61
jmp 0x4cbb78
mov dword [esp + 0x4c], 1
and dword [esp + 0x14], 0
mov edi, dword [esi + 0x10]
jmp 0x4cbbca
cmp dword [esp + 0x4c], 0
jne 0x4cbb97
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
cmp dword [eax + ecx*4], 0
jle 0x4cbbc3
push edi
push ebx
call fcn.004be144
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.004ab7fe
add esp, 0x24
mov edi, dword [edi + 0x20]
inc dword [esp + 0x14]
test edi, edi
jne 0x4cbb82
jmp 0x4cbbd4
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x18], 0
mov edi, dword [esp + 0xc]
push dword [esp + 0x24]
mov eax, edi
je 0x4cbc0f
push 0x4a
call fcn.004ab7d2
push 1
push edi
mov dword [esp + 0x58], eax
call fcn.004ab7bc
mov edx, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
add esp, 0x10
mov ecx, edi
call fcn.004aba08
jmp 0x4cbc23
push 0
push dword [esp + 0x50]
push 0x6a
call fcn.004ab769
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.004ab769
add esp, 0x10
cmp dword [esp + 0x34], 0
je 0x4cbc5f
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, ebx
call fcn.004b834e
mov eax, dword [esp + 0xc]
push edi
push 0x15
call fcn.004ab7d2
pop ecx
pop ecx
xor eax, eax
cmp dword [esp + 0x40], eax
jne 0x4cbc73
cmp dword [esp + 0x44], eax
je 0x4cbd25
jmp 0x4cbc83
push ebx
mov ebx, esi
call fcn.004c118b
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.004cb56f
or dword [esp + 0x48], eax
add esp, 0x18
cmp dword [esi + 8], edi
jle 0x4cbd08
mov eax, dword [esp + 0x2c]
cmp dword [eax + edi*4], 0
jl 0x4cbce2
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x4cbce2
xor edx, edx
inc edx
mov ecx, edi
shl edx, cl
test eax, edx
jne 0x4cbce2
mov eax, dword [esp + 0x60]
push 0
add eax, edi
push eax
mov eax, dword [esp + 0x14]
push 0
push 0xa
call fcn.004ab769
add esp, 0x10
jmp 0x4cbd02
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.004b773b
mov esi, dword [esp + 0x18]
pop ecx
pop ecx
inc edi
cmp edi, dword [esi + 8]
jl 0x4cbca9
cmp dword [esp + 0x34], 0
jne 0x4cbd25
push dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push dword [esp + 0x28]
push 0xe
call fcn.004ab7e7
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.004cb56f
xor edi, edi
add esp, 0x18
cmp dword [esi + 8], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], edi
jle 0x4cbdfd
cmp edi, dword [esi + 4]
jne 0x4cbd70
mov eax, dword [esp + 0x28]
push 0
add eax, edi
push eax
mov eax, dword [esp + 0x14]
push 0
push 0xa
call fcn.004ab769
add esp, 0x10
jmp 0x4cbdef
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi*4]
test eax, eax
jl 0x4cbd9b
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.004b834e
jmp 0x4cbdeb
test dword [esp + 0x58], 1
je 0x4cbdb7
cmp edi, 0x1f
jg 0x4cbdb7
xor eax, eax
inc eax
mov ecx, edi
shl eax, cl
test dword [esp + 0x48], eax
je 0x4cbdef
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.004ab769
push ebx
mov ebx, dword [esp + 0x20]
mov eax, edi
mov edi, esi
call fcn.004cb5d3
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 0x4cbd50
test byte [esp + 0x58], 1
je 0x4cbede
push dword [esi + 8]
mov eax, dword [esp + 0x10]
push dword [esp + 0x2c]
push 0x1d
call fcn.004ab7e7
add esp, 0xc
push dword [esp + 0xc]
mov edi, esi
call fcn.004c191a
mov edi, dword [esp + 0x48]
pop ecx
jmp 0x4cbe64
cmp byte [edi + 8], 0x6b
jne 0x4cbe61
cmp byte [edi + 9], 1
jne 0x4cbe61
push dword [edi + 0x10]
mov eax, dword [ebp + 0x10]
call fcn.004cafe3
pop ecx
test eax, eax
je 0x4cbe61
push dword [esp + 0x18]
push dword [ebp + 0x18]
push dword [esp + 0x2c]
push esi
push edi
push ebx
call fcn.004cb496
add esp, 0x18
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x4cbe2f
push dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0x34
call fcn.004ab769
xor eax, eax
add esp, 0x10
cmp dword [esi + 8], eax
mov dword [esp + 0x14], eax
jle 0x4cbede
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + eax*4], 0
jge 0x4cbed4
cmp eax, dword [esi + 4]
je 0x4cbed4
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.004ab769
push ebx
mov ebx, dword [esp + 0x20]
mov eax, edi
mov edi, esi
call fcn.004cb5d3
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 0x4cbe8d
cmp dword [esp + 0x5c], 0
jne 0x4cbfe7
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.004c295b
add esp, 0x28
cmp dword [esp + 0x40], esi
je 0x4cbf33
push esi
push dword [esp + 0x28]
push dword [esp + 0x18]
push ebx
call fcn.004c0ea6
add esp, 0x10
push dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push esi
push dword [esp + 0x24]
push 0x34
call fcn.004ab769
push dword [esp + 0x4c]
mov edi, eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x28]
call fcn.004bee64
xor esi, esi
add esp, 0x18
cmp dword [esp + 0x40], esi
jne 0x4cbf6b
cmp dword [esp + 0x34], esi
je 0x4cbf7f
mov eax, dword [esp + 0xc]
push esi
push esi
push dword [esp + 0x24]
push 0x39
call fcn.004ab769
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
mov eax, edi
call fcn.004aba08
cmp dword [esp + 0x40], esi
je 0x4cbfa7
push dword [esp + 0x20]
push esi
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.004c0ea6
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.004c2f24
add esp, 0x1c
cmp dword [esp + 0x40], 0
je 0x4cbfe4
push dword [esp + 0x24]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push ebx
call fcn.004c1773
add esp, 0xc
mov ebx, edi
jmp 0x4cbfe7
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
test dword [eax + 0xc], 0x1000
je 0x4cc013
cmp dword [ebx + 0x1ac], 0
jne 0x4cc013
mov eax, dword [esp + 0xc]
push 0
push 1
push dword [esp + 0x5c]
push 0x14
call fcn.004ab769
add esp, 0x10
mov esi, dword [esp + 0x44]
jmp 0x4cc051
cmp byte [esi + 8], 0x6b
jne 0x4cc04e
cmp byte [esi + 9], 2
jne 0x4cc04e
push dword [esi + 0x10]
mov eax, dword [ebp + 0x10]
call fcn.004cafe3
pop ecx
test eax, eax
je 0x4cc04e
push dword [esp + 0x18]
push dword [ebp + 0x18]
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push esi
push ebx
call fcn.004cb496
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4cc019
mov esi, dword [esp + 0xc]
xor edi, edi
push edi
push dword [esp + 0x1c]
mov eax, esi
push edi
push 1
call fcn.004ab769
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x28]
add esp, 0x10
mov ecx, esi
call fcn.004aba08
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x10]
jmp 0x4cc0b4
cmp dword [esp + 0x4c], 0
jne 0x4cc095
mov eax, dword [esp + 0x3c]
cmp dword [eax + edi*4], 0
jle 0x4cc0b0
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.004ab769
add esp, 0x10
mov esi, dword [esi + 0x20]
inc edi
test esi, esi
jne 0x4cc084
mov eax, dword [esp + 0xc]
push esi
push esi
push dword [esp + 0x24]
push 0x2b
call fcn.004ab769
add esp, 0x10
cmp byte [ebx + 0x13], 0
jne 0x4cc0e1
cmp dword [ebx + 0x1ac], esi
jne 0x4cc0e1
push ebx
call fcn.004c1b9f
pop ecx
mov eax, dword [esp + 0x38]
test dword [eax + 0xc], 0x1000
je 0x4cc12c
cmp dword [ebx + 0x1ac], 0
jne 0x4cc12c
cmp byte [ebx + 0x13], 0
jne 0x4cc12c
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.004ab769
call fcn.004ac597
push ebx
push str.rows_updated
push ebx
push ebx
mov eax, esi
call fcn.004ac5f4
add esp, 0x20
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4cc13e
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x208], ecx
push dword [esp + 0x3c]
mov esi, dword [esp + 0x3c]
push esi
call fcn.0049a043
push dword [esp + 0x34]
push esi
call fcn.0049a043
mov ebx, dword [ebp + 0xc]
push esi
call fcn.004bdb46
mov edi, dword [ebp + 0x10]
add esp, 0x14
push esi
call fcn.004b6b2c
pop ecx
push dword [ebp + 0x14]
push esi
call fcn.004b6325
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret