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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
mov ebx, ecx
mov eax, edx
xor ecx, ecx
mov dword [esp + 0x48], eax
push esi
push edi
mov edx, ecx
mov edi, dword [ebx]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x34], edi
cmp dword [ebx + 0x40], ecx
jne 0x4a653a
cmp byte [edi + 0x1e], cl
jne 0x4a653a
mov edx, eax
mov ecx, ebx
call fcn.004986d1
mov esi, eax
mov dword [esp + 0x4c], esi
test esi, esi
je 0x4a653a
mov edx, dword [esi + 0x44]
mov ecx, dword [ebx]
call fcn.004a02c4
mov dword [esp + 0x38], eax
mov edx, esi
lea eax, [esp + 0x60]
mov ecx, ebx
push eax
push dword [ebp + 8]
push 0x6b
call fcn.004a5c0c
mov dword [esp + 0x30], eax
add esp, 0xc
xor eax, eax
mov edx, esi
cmp dword [esi + 0x1c], eax
mov ecx, ebx
setne al
mov dword [esp + 0x68], eax
call fcn.00496404
test eax, eax
jne 0x4a653a
push dword [esp + 0x60]
mov edx, esi
mov ecx, ebx
call fcn.00498712
pop ecx
test eax, eax
jne 0x4a653a
mov edx, dword [esi + 0xc]
mov ecx, edi
shl edx, 2
call fcn.004766b0
mov edx, eax
mov dword [esp + 0x30], edx
test edx, edx
je 0x4a653a
xor eax, eax
cmp dword [esi + 0xc], eax
jle 0x4a6359
or dword [edx + eax*4], 0xffffffff
inc eax
cmp eax, dword [esi + 0xc]
jl 0x4a634f
mov ecx, dword [esp + 0x50]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x10], eax
mov dword [ecx + 0x20], eax
inc dword [ebx + 0x44]
mov ecx, dword [ebx + 0x44]
mov eax, dword [esi + 0x14]
jmp 0x4a6379
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4a6372
push 9
pop ecx
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
xor edi, edi
and dword [esp + 0x14], edi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x28], edi
cmp dword [ecx], edi
jle 0x4a64cf
xor eax, eax
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 0xc]
lea ecx, [esp + 0x7c]
mov edx, dword [eax + edx]
call fcn.0048f8b2
test eax, eax
jne 0x4a653a
xor edi, edi
cmp edi, dword [esi + 0xc]
jge 0x4a6439
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + ecx + 4]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
mov edx, ecx
mov ecx, dword [eax]
call fcn.00477fe9
test eax, eax
je 0x4a640b
mov eax, dword [esp + 0x54]
inc edi
mov ecx, dword [esp + 0x58]
add eax, 0x18
mov dword [esp + 0x54], eax
cmp edi, dword [esi + 0xc]
jl 0x4a63e7
jmp 0x4a6434
cmp edi, dword [esi + 8]
jne 0x4a6429
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 1
mov ecx, dword [edx + 0xc]
mov eax, dword [eax + ecx]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov dword [ecx + edi*4], eax
cmp edi, dword [esi + 0xc]
jl 0x4a646d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + ecx + 4]
call fcn.00490aa9
test eax, eax
je 0x4a64e9
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 1
mov ecx, dword [edx + 0xc]
mov eax, dword [eax + ecx]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add ecx, ecx
mov eax, dword [eax + 8]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x10]
imul ecx, edi, 0x18
push dword [ecx + eax]
mov ecx, ebx
push dword [esi + 4]
push 0x17
pop edx
call fcn.00494a4a
add esp, 0xc
cmp eax, 1
je 0x4a653a
mov edx, dword [esp + 0x30]
cmp eax, 2
jne 0x4a64ac
or dword [edx + edi*4], 0xffffffff
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
inc edi
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
cmp edi, dword [ecx]
jl 0x4a63b0
mov edi, dword [esp + 0x28]
mov eax, dword [ebx]
test dword [eax + 0xc], 0x4000000
je 0x4a650c
push edi
mov ecx, esi
call fcn.0049b3d1
pop ecx
mov dword [esp + 0x44], eax
jmp 0x4a6511
imul ecx, dword [esp + 0x14], 0x14
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
push dword [ecx + eax + 4]
push str.no_such_column:__s
push ebx
call fcn.00477f47
mov esi, dword [esp + 0x40]
add esp, 0xc
jmp 0x4a6541
and dword [esp + 0x44], 0
mov eax, dword [esi + 0x14]
xor edx, edx
test eax, eax
je 0x4a6591
mov eax, dword [eax + 0x20]
inc edx
test eax, eax
jne 0x4a651a
test edx, edx
jle 0x4a6595
mov ecx, dword [esp + 0x34]
shl edx, 2
call fcn.004766b0
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4a6599
mov esi, dword [esp + 0x34]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4a6556
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x1fc], ecx
push dword [esp + 0x40]
push esi
call fcn.00476513
push dword [esp + 0x38]
push esi
call fcn.00476513
mov edx, dword [esp + 0x60]
add esp, 0x10
mov ecx, esi
call fcn.00497ab4
mov edx, edi
mov ecx, esi
call fcn.004908ee
mov edx, ebx
mov ecx, esi
call fcn.004900ee
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edx
jmp 0x4a6599
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4a65fb
mov dword [esp + 0x14], eax
test edi, edi
je 0x4a65b0
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
jmp 0x4a65e9
xor eax, eax
xor edi, edi
mov dword [esp + 0x58], eax
cmp dword [ecx + 4], eax
jle 0x4a65e5
mov edx, dword [ecx + 8]
mov esi, dword [esp + 0x30]
mov eax, dword [edx]
cmp dword [esi + eax*4], 0
mov esi, dword [esp + 0x4c]
jge 0x4a65df
inc edi
add edx, 4
cmp edi, dword [ecx + 4]
jl 0x4a65c0
mov eax, dword [esp + 0x58]
jmp 0x4a65e5
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
add dword [esp + 0x14], 4
mov dword [edx], eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4a65a4
mov ecx, ebx
call fcn.004a1ca9
mov edi, eax
mov dword [esp + 0x58], edi
test edi, edi
je 0x4a653a
cmp byte [ebx + 0x13], 0
jne 0x4a661a
mov byte [edi + 0x61], 1
push dword [esp + 0x38]
xor edx, edx
mov ecx, ebx
inc edx
call fcn.00497e69
test byte [esi + 0x22], 0x10
pop ecx
je 0x4a665c
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, ebx
push dword [esp + 0x34]
mov edx, dword [esp + 0x58]
push dword [esp + 0x44]
push edi
push esi
call fcn.004a6e09
mov esi, dword [esp + 0x48]
xor ebx, ebx
add esp, 0x14
and dword [esp + 0x50], ebx
jmp 0x4a6544
inc dword [ebx + 0x48]
mov edx, dword [ebx + 0x48]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
test eax, eax
jne 0x4a667a
test ecx, ecx
je 0x4a668d
lea eax, [edx + 1]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0xc]
add eax, edx
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
jne 0x4a669c
test eax, eax
jne 0x4a669c
test ecx, ecx
je 0x4a66a6
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x48]
lea eax, [ecx + 1]
inc ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
add eax, ecx
cmp dword [esp + 0x68], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x48], eax
je 0x4a66ef
mov eax, dword [ebx + 0x1fc]
mov edx, ebx
push dword [esp + 0x10]
mov dword [esp + 0x74], edx
mov edx, esi
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 4]
push ecx
mov ecx, ebx
mov dword [ebx + 0x1fc], eax
call fcn.0049877d
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov edx, ecx
lea ecx, [esp + 0x7c]
call fcn.0048f8b2
test eax, eax
jne 0x4a653a
push eax
push dword [esp + 0x24]
mov ecx, edi
push eax
push 0xa
pop edx
call fcn.00485377
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov ecx, ebx
push 4
push 0
push dword [ebp + 0xc]
call fcn.004ab043
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x4a653a
movzx eax, byte [eax + 6]
mov ecx, edi
push 0
push dword [esp + 0x24]
mov dword [esp + 0x5c], eax
push dword [esp + 0x18]
push 0x3c
pop edx
call fcn.00485377
add esp, 0xc
cmp dword [esp + 0x54], 0
jne 0x4a677a
inc dword [ebx + 0x48]
mov ecx, edi
mov eax, dword [ebx + 0x48]
push 0
push dword [esp + 0x24]
mov dword [esp + 0x7c], eax
push eax
push 0x68
pop edx
call fcn.00485377
add esp, 0xc
mov ecx, dword [esp + 0x18]
call fcn.004ab81a
mov eax, dword [esp + 0x34]
test dword [eax + 0xc], 0x1000
je 0x4a67b4
xor ecx, ecx
cmp dword [ebx + 0x1ac], ecx
jne 0x4a67b4
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push ecx
push eax
push ecx
push 7
pop edx
mov ecx, edi
mov dword [esp + 0x78], eax
call fcn.00485377
add esp, 0xc
cmp dword [esp + 0x68], 0
jne 0x4a6866
cmp dword [esp + 0x54], 0
jne 0x4a67db
mov edx, dword [esp + 0x10]
mov ecx, ebx
push 0x27
push esi
push dword [esp + 0x40]
call fcn.0049ba86
add esp, 0xc
xor edx, edx
cmp dword [ebp + 0x10], 5
je 0x4a67fd
mov eax, dword [esi + 0x14]
mov dword [esp + 0x5c], edx
jmp 0x4a67f5
cmp byte [eax + 0x18], 5
je 0x4a67fb
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4a67ec
jmp 0x4a6802
xor edx, edx
inc edx
mov dword [esp + 0x5c], edx
mov eax, dword [esi + 0x14]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4a6866
mov esi, eax
test edx, edx
jne 0x4a6822
mov eax, dword [esp + 0x40]
cmp dword [eax + ecx*4], edx
jle 0x4a6856
mov edx, esi
mov ecx, ebx
call fcn.004980f6
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffff0
push eax
push dword [esp + 0x40]
mov eax, dword [esp + 0x24]
inc ecx
push dword [esi + 0x14]
add eax, ecx
mov ecx, edi
push eax
push 0x27
pop edx
call fcn.004853c9
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov edx, dword [esp + 0x5c]
mov esi, dword [esi + 0x20]
inc ecx
mov dword [esp + 0x18], ecx
test esi, esi
jne 0x4a6815
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x54], 0
mov ecx, edi
je 0x4a68b1
push 0
push 0
push dword [esp + 0x28]
push 0x4a
pop edx
call fcn.00485377
add esp, 0xc
mov esi, eax
xor eax, eax
xor edx, edx
inc edx
mov ecx, edi
push eax
push eax
push eax
call fcn.00485377
add esp, 0xc
mov dword [esp + 0x18], eax
mov edx, esi
mov ecx, edi
push dword [edi + 0xc]
call fcn.004855fd
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
pop ecx
jmp 0x4a68ca
push dword [esp + 0x20]
push 0
push dword [esp + 0x7c]
push 0x69
pop edx
call fcn.00485377
add esp, 0xc
mov dword [esp + 0x18], eax
push dword [esp + 0x20]
mov ecx, edi
push eax
push dword [esp + 0x18]
push 0x33
pop edx
call fcn.00485377
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x4a690c
push dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.00492279
pop ecx
push 0
push 0
push dword [esp + 0x24]
mov ecx, edi
push 0x15
pop edx
call fcn.00485377
add esp, 0xc
cmp dword [esp + 0x44], 0
jne 0x4a6923
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4a69f0
xor eax, eax
jmp 0x4a692c
mov edx, esi
mov ecx, ebx
call fcn.0049b319
push dword [ebp + 0x10]
mov edx, dword [esp + 0x28]
mov ecx, ebx
push esi
push 3
push 0
push dword [ebp + 8]
mov dword [esp + 0x50], eax
call fcn.004a617c
mov edx, dword [esp + 0x50]
add esp, 0x14
and dword [esp + 0x2c], 0
or edx, eax
cmp dword [esi + 0xc], 0
mov dword [esp + 0x3c], edx
jle 0x4a69ce
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp dword [eax + ebx*4], 0
jl 0x4a6996
cmp edx, 0xffffffff
je 0x4a6996
xor eax, eax
mov ecx, ebx
inc eax
shl eax, cl
test edx, eax
jne 0x4a6996
mov eax, dword [esp + 0x48]
mov ecx, edi
push 0
add eax, ebx
push eax
push 0
push 0xa
pop edx
call fcn.00485377
add esp, 0xc
jmp 0x4a69c0
mov esi, dword [esp + 0x48]
mov ecx, edi
add esi, ebx
push esi
push ebx
push dword [esp + 0x18]
push 0x1c
pop edx
call fcn.00485377
add esp, 0xc
mov ecx, edi
push esi
mov esi, dword [esp + 0x50]
mov edx, esi
push ebx
call fcn.004a61e3
pop ecx
pop ecx
mov edx, dword [esp + 0x3c]
inc ebx
cmp ebx, dword [esi + 0xc]
jl 0x4a6962
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x28], 0
jne 0x4a69ec
push 0
push dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x28]
push 0xe
pop edx
call fcn.00485377
add esp, 0xc
mov edx, dword [esp + 0x24]
push dword [ebp + 0x10]
mov ecx, ebx
push esi
push 1
push 1
push dword [ebp + 8]
call fcn.004a617c
mov edx, eax
add esp, 0x14
xor eax, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], eax
cmp dword [esi + 0xc], eax
jle 0x4a6abd
cmp eax, dword [esi + 8]
jne 0x4a6a37
add eax, dword [esp + 0x14]
mov ecx, edi
push 0
push eax
push 0
push 0xa
pop edx
call fcn.00485377
add esp, 0xc
jmp 0x4a6aa7
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
js 0x4a6a5c
add eax, dword [esp + 0x14]
push eax
imul eax, ecx, 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov ecx, ebx
mov edx, dword [eax + edx]
call fcn.00492279
jmp 0x4a6aa6
test dword [esp + 0x60], 1
je 0x4a6a7a
cmp eax, 0x1f
jg 0x4a6a7a
mov ecx, dword [esp + 0x38]
xor eax, eax
inc eax
shl eax, cl
test edx, eax
je 0x4a6aab
mov eax, ecx
mov esi, dword [esp + 0x14]
mov ecx, edi
add esi, eax
push esi
push eax
push dword [esp + 0x18]
push 0x1c
pop edx
call fcn.00485377
add esp, 0xc
mov ecx, edi
push esi
push dword [esp + 0x3c]
mov esi, dword [esp + 0x54]
mov edx, esi
call fcn.004a61e3
pop ecx
pop ecx
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esi + 0xc]
jl 0x4a6a1a
test byte [esp + 0x60], 1
je 0x4a6b9e
push 0
push dword [esi + 0xc]
mov ecx, edi
push dword [esp + 0x1c]
push 0x1d
pop edx
call fcn.00485377
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0049bb50
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a6b2f
mov edi, eax
cmp byte [edi + 8], 0x6b
jne 0x4a6b24
cmp byte [edi + 9], 1
jne 0x4a6b24
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
call fcn.004a5bc8
test eax, eax
je 0x4a6b24
push dword [esp + 0x18]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0x10]
push dword [esp + 0x28]
push esi
call fcn.004a60a1
add esp, 0x10
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x4a6af1
mov edi, dword [esp + 0x58]
push dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x1c]
push dword [esp + 0x18]
push 0x33
pop edx
call fcn.00485377
and dword [esp + 0x38], 0
add esp, 0xc
cmp dword [esi + 0xc], 0
jle 0x4a6b9e
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp dword [eax + ebx*4], 0
jge 0x4a6b94
cmp ebx, dword [esi + 8]
je 0x4a6b94
mov esi, dword [esp + 0x14]
mov ecx, edi
add esi, ebx
push esi
push ebx
push dword [esp + 0x18]
push 0x1c
pop edx
call fcn.00485377
add esp, 0xc
mov ecx, edi
push esi
mov esi, dword [esp + 0x50]
mov edx, esi
push ebx
call fcn.004a61e3
mov eax, dword [esp + 0x38]
pop ecx
pop ecx
inc ebx
cmp ebx, dword [esi + 0xc]
jl 0x4a6b5b
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x68], 0
jne 0x4a6c9f
push 0
push dword [esp + 0x1c]
xor eax, eax
mov edx, esi
push dword [ebp + 0x10]
cmp dword [esp + 0x34], eax
mov ecx, ebx
push 1
cmovne eax, dword [esp + 0x30]
push eax
push dword [esp + 0x54]
push dword [esp + 0x34]
push dword [esp + 0x2c]
call fcn.0049cc74
add esp, 0x20
cmp dword [esp + 0x44], 0
je 0x4a6bf0
push 0
push dword [esp + 0x24]
mov edx, esi
mov ecx, ebx
call fcn.0049b050
pop ecx
pop ecx
push dword [esp + 0x20]
mov ecx, edi
push 0
push dword [esp + 0x18]
push 0x33
pop edx
call fcn.00485377
add esp, 0xc
mov dword [esp + 0x2c], eax
mov edx, esi
mov ecx, ebx
push dword [esp + 0x40]
push dword [esp + 0x14]
call fcn.00498ec7
cmp dword [esp + 0x4c], 0
pop ecx
pop ecx
jne 0x4a6c2c
cmp dword [esp + 0x28], 0
je 0x4a6c41
push 0
push 0
push dword [esp + 0x18]
mov ecx, edi
push 0x38
pop edx
call fcn.00485377
add esp, 0xc
push dword [edi + 0xc]
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.004855fd
cmp dword [esp + 0x48], 0
pop ecx
je 0x4a6c68
push dword [esp + 0x1c]
mov edx, esi
mov ecx, ebx
push 0
call fcn.0049b050
pop ecx
pop ecx
push 0
push 0
push 1
push dword [esp + 0x4c]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x2c]
push dword [esp + 0x24]
call fcn.0049d2c9
add esp, 0x18
cmp dword [esp + 0x44], 0
je 0x4a6c9f
push dword [esp + 0x20]
mov edx, esi
mov ecx, ebx
push dword [ebp + 8]
call fcn.0049b9bc
pop ecx
pop ecx
mov eax, dword [esp + 0x34]
test dword [eax + 0xc], 0x1000
je 0x4a6cca
cmp dword [ebx + 0x1ac], 0
jne 0x4a6cca
push 0
push 1
push dword [esp + 0x74]
mov ecx, edi
push 0x14
pop edx
call fcn.00485377
add esp, 0xc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a6d1b
mov edi, dword [esp + 0x18]
cmp byte [eax + 8], 0x6b
jne 0x4a6d0c
cmp byte [eax + 9], 2
jne 0x4a6d0c
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.004a5bc8
test eax, eax
je 0x4a6d08
mov edx, dword [esp + 0x24]
mov ecx, ebx
push edi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push esi
call fcn.004a60a1
add esp, 0x10
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4a6cd6
mov edi, dword [esp + 0x58]
push 0
push dword [esp + 0x1c]
xor edx, edx
mov ecx, edi
push 0
inc edx
call fcn.00485377
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, edi
push dword [edi + 0xc]
call fcn.004855fd
mov esi, dword [esi + 0x14]
pop ecx
xor ecx, ecx
test esi, esi
je 0x4a6d7f
mov ebx, ecx
cmp dword [esp + 0x5c], 0
jne 0x4a6d5a
mov eax, dword [esp + 0x40]
cmp dword [eax + ebx*4], ecx
jle 0x4a6d73
mov eax, dword [esp + 0x10]
push ecx
push ecx
inc eax
mov ecx, edi
add eax, ebx
push eax
push 0x2a
pop edx
call fcn.00485377
add esp, 0xc
xor ecx, ecx
mov esi, dword [esi + 0x20]
inc ebx
test esi, esi
jne 0x4a6d4a
mov ebx, dword [esp + 0x64]
push ecx
push ecx
push dword [esp + 0x18]
mov ecx, edi
push 0x2a
pop edx
call fcn.00485377
add esp, 0xc
cmp byte [ebx + 0x13], 0
jne 0x4a6da8
cmp dword [ebx + 0x1ac], 0
jne 0x4a6da8
mov ecx, ebx
call fcn.0049be03
mov esi, dword [esp + 0x34]
test dword [esi + 0xc], 0x1000
je 0x4a653e
cmp dword [ebx + 0x1ac], 0
jne 0x4a653e
cmp byte [ebx + 0x13], 0
jne 0x4a653e
push 0
push 1
push dword [esp + 0x74]
mov ecx, edi
push 0x10
pop edx
call fcn.00485377
add esp, 0xc
xor edx, edx
inc edx
mov ecx, edi
call fcn.0048620d
push 0
push str.rows_updated
push 0
xor edx, edx
mov ecx, edi
call fcn.0048627a
add esp, 0xc
jmp 0x4a653e