Function at 0x49d1d2
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 + 0x50], eax
push esi
push edi
mov edi, dword [ebx]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x44], edi
cmp dword [ebx + 0x44], ecx
jne 0x49d47c
cmp byte [edi + 0x36], cl
jne 0x49d47c
mov ecx, ebx
call fcn.0048e6ad
mov esi, eax
mov dword [esp + 0x60], esi
test esi, esi
je 0x49d47c
mov edx, dword [esi + 0x44]
mov ecx, dword [ebx]
call fcn.00496a6a
mov dword [esp + 0x1c], eax
mov edx, esi
lea eax, [esp + 0x6c]
mov ecx, ebx
push eax
push dword [ebp + 8]
push 0x6b
call fcn.0049cb97
mov dword [esp + 0x34], eax
add esp, 0xc
xor eax, eax
mov edx, esi
cmp dword [esi + 0x1c], eax
mov ecx, ebx
setne al
mov dword [esp + 0x74], eax
call fcn.0048c0c3
test eax, eax
jne 0x49d47c
push dword [esp + 0x6c]
mov edx, esi
mov ecx, ebx
call fcn.0048e6f0
pop ecx
test eax, eax
jne 0x49d47c
mov edx, dword [esi + 8]
mov ecx, edi
shl edx, 2
call fcn.00464ef8
mov ecx, eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x49d47c
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49d2c3
or dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [esi + 8]
jl 0x49d2b9
mov edx, dword [esp + 0x58]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x10], eax
mov dword [edx + 0x28], eax
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov eax, dword [esi + 0x10]
jmp 0x49d2e3
inc ecx
mov dword [ebx + 0x48], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x49d2dc
and dword [esp + 0x34], eax
lea edi, [esp + 0x80]
push 8
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x84], edx
xor edx, edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x38], edx
cmp dword [ecx], eax
jle 0x49d437
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x80]
mov edx, dword [eax + edx]
call fcn.00484c43
test eax, eax
jne 0x49d47c
xor edi, edi
cmp edi, dword [esi + 8]
jge 0x49d3a6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ecx + 4]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov edx, ecx
mov ecx, dword [eax]
call fcn.00466a6c
test eax, eax
je 0x49d378
mov eax, dword [esp + 0x4c]
inc edi
mov ecx, dword [esp + 0x48]
add eax, 0x18
mov dword [esp + 0x4c], eax
cmp edi, dword [esi + 8]
jl 0x49d354
jmp 0x49d3a1
cmp edi, dword [esi + 4]
jne 0x49d396
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], 1
mov ecx, dword [edx + 8]
mov eax, dword [eax + ecx]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov dword [ecx + edi*4], eax
cmp edi, dword [esi + 8]
jl 0x49d3da
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ecx + 4]
call fcn.00485fc5
test eax, eax
je 0x49d45b
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], 1
mov ecx, dword [edx + 8]
mov eax, dword [eax + ecx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov eax, dword [esi + 0xc]
imul ecx, edi, 0x18
push dword [ecx + eax]
mov ecx, ebx
push dword [esi]
push 0x17
pop edx
call fcn.0048a657
add esp, 0xc
cmp eax, 1
je 0x49d47c
cmp eax, 2
jne 0x49d414
mov eax, dword [esp + 0x2c]
or dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
inc edi
mov eax, dword [esp + 0x20]
add eax, 0x14
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], eax
cmp edi, dword [ecx]
jl 0x49d31a
mov edx, dword [esp + 0x38]
mov eax, dword [ebx]
test dword [eax + 0x18], 0x4000000
je 0x49d4cd
push edx
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.00491535
pop ecx
mov edi, eax
mov dword [esp + 0x30], eax
jmp 0x49d4d3
imul ecx, dword [esp + 0x34], 0x14
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push dword [ecx + eax + 4]
push str.no_such_column:__s
push ebx
call fcn.004669cf
add esp, 0xc
mov byte [ebx + 0x11], 1
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x78]
call fcn.0048a6e9
mov ebx, dword [esp + 0x44]
mov ecx, ebx
mov edx, dword [esp + 0x3c]
call fcn.00464d37
mov edx, dword [esp + 0x2c]
mov ecx, ebx
call fcn.00464d37
mov edx, dword [esp + 0x58]
mov ecx, ebx
call fcn.0048d944
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00485dd4
mov edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.004855b2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [esp + 0x30], edi
mov eax, dword [esi + 0x10]
xor edx, edx
test eax, eax
je 0x49d508
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x49d4dc
test edx, edx
jle 0x49d504
mov ecx, dword [esp + 0x44]
shl edx, 2
call fcn.00464ef8
mov edx, eax
mov dword [esp + 0x3c], edx
test edx, edx
je 0x49d47c
jmp 0x49d508
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x49d570
mov esi, dword [esp + 0x38]
mov dword [esp + 0x40], edx
test edi, edi
jne 0x49d5de
test esi, esi
jne 0x49d5de
xor eax, eax
mov dword [esp + 0x48], eax
cmp dword [ecx + 0x24], eax
jle 0x49d556
mov edx, dword [ecx + 4]
mov ebx, dword [esp + 0x2c]
mov eax, dword [edx]
cmp dword [ebx + eax*4], 0
mov ebx, dword [esp + 0x5c]
jge 0x49d5d3
inc edi
add edx, 4
cmp edi, dword [ecx + 0x24]
jl 0x49d535
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
add dword [esp + 0x40], 4
mov dword [edx], eax
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x49d517
mov esi, dword [esp + 0x60]
mov ecx, ebx
call fcn.0049856d
mov edi, eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x49d47c
cmp byte [ebx + 0x12], 0
jne 0x49d58f
mov byte [edi + 0x5e], 1
push dword [esp + 0x1c]
xor edx, edx
mov ecx, ebx
inc edx
call fcn.0048ddd2
test byte [esi + 0x22], 0x10
pop ecx
je 0x49d5e9
push dword [ebp + 0x10]
mov edx, dword [esp + 0x5c]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [esp + 0x34]
push dword [esp + 0x24]
push dword [ebp + 8]
push esi
call fcn.0049dda9
and dword [esp + 0x58], 0
add esp, 0x18
and dword [esp + 0x58], 0
jmp 0x49d483
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
jmp 0x49d556
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
jmp 0x49d55a
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov dword [ebx + 0x4c], edx
mov dword [esp + 0x24], edx
test eax, eax
jne 0x49d611
test ecx, ecx
je 0x49d624
lea eax, [edx + 1]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 8]
add eax, edx
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x38], 0
jne 0x49d633
test eax, eax
jne 0x49d633
test ecx, ecx
je 0x49d63d
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x20], eax
mov ecx, dword [ebx + 0x4c]
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 8]
add eax, ecx
cmp dword [esp + 0x74], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x4c], eax
mov dword [esp + 0x40], ecx
je 0x49d689
mov eax, dword [ebx + 0x204]
mov edx, esi
push dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [esi]
push ecx
mov ecx, ebx
mov dword [esp + 0x84], ebx
mov dword [ebx + 0x204], eax
call fcn.0048e759
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov edx, ecx
lea ecx, [esp + 0x80]
call fcn.00484c43
test eax, eax
jne 0x49d483
push dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x50]
push eax
push 0xa
pop edx
call fcn.00478cdd
mov edx, dword [esp + 0x64]
add esp, 0xc
xor eax, eax
mov ecx, ebx
push eax
push 4
push eax
push eax
push dword [ebp + 0xc]
call fcn.004a3259
add esp, 0x14
mov dword [esp + 0x50], eax
test eax, eax
je 0x49d483
movzx eax, byte [eax + 6]
mov ecx, edi
push 0
push dword [esp + 0x28]
mov dword [esp + 0x70], eax
push dword [esp + 0x18]
push 0x41
pop edx
call fcn.00478cdd
add esp, 0xc
cmp dword [esp + 0x68], 0
jne 0x49d716
push 0
push dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x54]
push 0x70
pop edx
call fcn.00478cdd
add esp, 0xc
mov ecx, dword [esp + 0x50]
call fcn.004a3b36
mov eax, dword [esp + 0x44]
test dword [eax + 0x18], 0x1000
je 0x49d750
xor ecx, ecx
cmp dword [ebx + 0x1b4], ecx
jne 0x49d750
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
push ecx
push eax
push ecx
push 7
pop edx
mov ecx, edi
mov dword [esp + 0x70], eax
call fcn.00478cdd
add esp, 0xc
cmp dword [esp + 0x74], 0
jne 0x49d802
cmp dword [esp + 0x68], 0
jne 0x49d777
mov edx, dword [esp + 0x10]
mov ecx, ebx
push 0x28
push esi
push dword [esp + 0x24]
call fcn.00491bad
add esp, 0xc
xor edx, edx
cmp dword [ebp + 0x10], 5
je 0x49d799
mov eax, dword [esi + 0x10]
mov dword [esp + 0x54], edx
jmp 0x49d791
cmp byte [eax + 0x2c], 5
je 0x49d797
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x49d788
jmp 0x49d79e
xor edx, edx
inc edx
mov dword [esp + 0x54], edx
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x49d802
mov esi, eax
test edx, edx
jne 0x49d7be
mov eax, dword [esp + 0x3c]
cmp dword [eax + ecx*4], edx
jle 0x49d7f2
mov edx, esi
mov ecx, ebx
call fcn.0048e08a
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffff0
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
inc ecx
push dword [esi + 0x28]
add eax, ecx
mov ecx, edi
push eax
push 0x28
pop edx
call fcn.00478d63
mov ecx, dword [esp + 0x64]
add esp, 0x14
mov edx, dword [esp + 0x54]
mov esi, dword [esi + 0x14]
inc ecx
mov dword [esp + 0x50], ecx
test esi, esi
jne 0x49d7b1
mov esi, dword [esp + 0x60]
cmp dword [esp + 0x68], 0
mov ecx, edi
je 0x49d8ae
push 0
push 0
push dword [esp + 0x2c]
push 0x4a
pop edx
call fcn.00478cdd
add esp, 0xc
mov dword [esp + 0x14], eax
xor eax, eax
xor edx, edx
inc edx
mov ecx, edi
push eax
push eax
push eax
call fcn.00478cdd
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
js 0x49d851
push dword [edi + 0x1c]
mov edx, eax
mov ecx, edi
call fcn.00479025
pop ecx
mov eax, dword [esp + 0x1c]
push dword [esp + 0x24]
mov ecx, edi
push eax
push dword [esp + 0x18]
push 0x36
pop edx
call fcn.00478cdd
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x49d897
push dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00487931
pop ecx
push 0
push 0
push dword [esp + 0x28]
mov ecx, edi
push 0x15
pop edx
call fcn.00478cdd
add esp, 0xc
cmp dword [esp + 0x30], 0
jne 0x49d8c9
mov edx, dword [esp + 0x28]
test edx, edx
je 0x49d986
xor eax, eax
jmp 0x49d8d2
push dword [esp + 0x24]
push 0
push dword [esp + 0x54]
push 0x71
pop edx
call fcn.00478cdd
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x49d855
mov edx, esi
mov ecx, ebx
call fcn.0049147d
push dword [ebp + 0x10]
mov edx, dword [esp + 0x2c]
mov ecx, ebx
push esi
push 3
push 0
push dword [ebp + 8]
mov dword [esp + 0x2c], eax
call fcn.0049d0ee
mov edx, dword [esp + 0x2c]
add esp, 0x14
and dword [esp + 0x14], 0
or edx, eax
cmp dword [esi + 8], 0
mov dword [esp + 0x18], edx
jle 0x49d964
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [eax + ebx*4], 0
jl 0x49d93e
cmp edx, 0xffffffff
je 0x49d93e
cmp ebx, 0x20
jge 0x49d927
xor eax, eax
mov ecx, ebx
inc eax
shl eax, cl
test edx, eax
jne 0x49d93e
mov eax, dword [esp + 0x70]
mov ecx, edi
push 0
add eax, ebx
push eax
push 0
push 0xa
pop edx
call fcn.00478cdd
jmp 0x49d953
mov eax, dword [esp + 0x70]
mov edx, esi
add eax, ebx
mov ecx, edi
push eax
push ebx
push dword [esp + 0x18]
call fcn.00486bec
mov edx, dword [esp + 0x24]
add esp, 0xc
inc ebx
cmp ebx, dword [esi + 8]
jl 0x49d908
mov ebx, dword [esp + 0x5c]
cmp dword [esp + 0x38], 0
jne 0x49d982
push 0
push dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x2c]
push 0xe
pop edx
call fcn.00478cdd
add esp, 0xc
mov edx, dword [esp + 0x28]
push dword [ebp + 0x10]
mov ecx, ebx
push esi
push 1
push 1
push dword [ebp + 8]
call fcn.0049d0ee
mov ecx, dword [esi + 8]
add esp, 0x14
dec ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
add ecx, eax
push ecx
push eax
push 0
push 0xa
pop edx
mov ecx, edi
call fcn.00478cdd
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x18], ecx
cmp dword [esi + 8], ecx
jle 0x49da4e
cmp ecx, dword [esi + 4]
je 0x49da40
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + ecx*4]
test edx, edx
js 0x49d9f5
mov eax, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [ebp + 8]
push eax
imul eax, edx, 0x14
mov edx, dword [ecx + 8]
mov ecx, ebx
mov edx, dword [eax + edx]
call fcn.00487931
jmp 0x49da3b
test dword [esp + 0x6c], 1
je 0x49da0f
cmp ecx, 0x1f
jg 0x49da0f
xor eax, eax
inc eax
shl eax, cl
test dword [esp + 0x14], eax
je 0x49da40
mov esi, dword [esp + 0x34]
add esi, ecx
push esi
push ecx
push dword [esp + 0x18]
mov ecx, edi
push 0x1d
pop edx
call fcn.00478cdd
add esp, 0xc
mov ecx, edi
push esi
push dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
mov edx, esi
call fcn.0049d155
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esi + 8]
jl 0x49d9c9
test byte [esp + 0x6c], 1
je 0x49db2f
push 0
push dword [esi + 8]
mov ecx, edi
push dword [esp + 0x3c]
push 0x1e
pop edx
call fcn.00478cdd
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.00491c70
mov eax, dword [esp + 0x28]
test eax, eax
je 0x49dac0
mov edi, eax
cmp byte [edi + 8], 0x6b
jne 0x49dab5
cmp byte [edi + 9], 1
jne 0x49dab5
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
call fcn.0049cb53
test eax, eax
je 0x49dab5
push dword [esp + 0x1c]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push esi
call fcn.0049d014
add esp, 0x10
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x49da82
mov edi, dword [esp + 0x48]
push dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x20]
push dword [esp + 0x18]
push 0x36
pop edx
call fcn.00478cdd
and dword [esp + 0x20], 0
add esp, 0xc
cmp dword [esi + 8], 0
jle 0x49db2f
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [eax + ebx*4], 0
jge 0x49db25
cmp ebx, dword [esi + 4]
je 0x49db25
mov esi, dword [esp + 0x34]
mov ecx, edi
add esi, ebx
push esi
push ebx
push dword [esp + 0x18]
push 0x1d
pop edx
call fcn.00478cdd
add esp, 0xc
mov ecx, edi
push esi
mov esi, dword [esp + 0x64]
mov edx, esi
push ebx
call fcn.0049d155
mov eax, dword [esp + 0x34]
pop ecx
pop ecx
inc ebx
cmp ebx, dword [esi + 8]
jl 0x49daec
mov ebx, dword [esp + 0x5c]
cmp dword [esp + 0x74], 0
jne 0x49dc36
push 0
push dword [esp + 0x20]
xor eax, eax
mov edx, esi
push dword [ebp + 0x10]
cmp dword [esp + 0x44], eax
mov ecx, ebx
push 1
cmovne eax, dword [esp + 0x34]
push eax
push dword [esp + 0x50]
push dword [esp + 0x38]
push dword [esp + 0x2c]
call fcn.00492d99
add esp, 0x20
cmp dword [esp + 0x30], 0
je 0x49db81
push 0
push dword [esp + 0x28]
mov edx, esi
mov ecx, ebx
call fcn.00491145
pop ecx
pop ecx
push dword [esp + 0x24]
mov ecx, edi
push 0
push dword [esp + 0x18]
push 0x36
pop edx
call fcn.00478cdd
add esp, 0xc
mov dword [esp + 0x14], eax
mov edx, esi
mov ecx, ebx
push dword [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0048ee7d
cmp dword [esp + 0x38], 0
pop ecx
pop ecx
jne 0x49dbbd
cmp dword [esp + 0x38], 0
je 0x49dbd2
push 0
push 0
push dword [esp + 0x18]
mov ecx, edi
push 0x3b
pop edx
call fcn.00478cdd
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
js 0x49dbe7
push dword [edi + 0x1c]
mov edx, eax
mov ecx, edi
call fcn.00479025
pop ecx
cmp dword [esp + 0x30], 0
je 0x49dbff
push dword [esp + 0x20]
mov edx, esi
mov ecx, ebx
push 0
call fcn.00491145
pop ecx
pop ecx
push 0
push 0
push 1
push dword [esp + 0x48]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x30]
push dword [esp + 0x24]
call fcn.00493489
add esp, 0x18
cmp dword [esp + 0x30], 0
je 0x49dc36
push dword [esp + 0x24]
mov edx, esi
mov ecx, ebx
push dword [ebp + 8]
call fcn.00491ac8
pop ecx
pop ecx
mov eax, dword [esp + 0x44]
test dword [eax + 0x18], 0x1000
je 0x49dc61
cmp dword [ebx + 0x1b4], 0
jne 0x49dc61
push 0
push 1
push dword [esp + 0x6c]
mov ecx, edi
push 0x14
pop edx
call fcn.00478cdd
add esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
je 0x49dcb2
mov edi, dword [esp + 0x1c]
cmp byte [eax + 8], 0x6b
jne 0x49dca3
cmp byte [eax + 9], 2
jne 0x49dca3
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.0049cb53
test eax, eax
je 0x49dc9f
mov edx, dword [esp + 0x28]
mov ecx, ebx
push edi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push esi
call fcn.0049d014
add esp, 0x10
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x49dc6d
mov edi, dword [esp + 0x48]
push 0
push dword [esp + 0x20]
xor edx, edx
mov ecx, edi
push 0
inc edx
call fcn.00478cdd
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
js 0x49dcdc
push dword [edi + 0x1c]
mov edx, eax
mov ecx, edi
call fcn.00479025
pop ecx
and dword [esp + 0x14], 0
mov esi, dword [esi + 0x10]
test esi, esi
je 0x49dd22
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x54], 0
jne 0x49dcfd
mov eax, dword [esp + 0x3c]
cmp dword [eax + ebx*4], 0
jle 0x49dd16
mov eax, dword [esp + 0x10]
mov ecx, edi
push 0
inc eax
push 0
add eax, ebx
push eax
push 0x2d
pop edx
call fcn.00478cdd
add esp, 0xc
mov esi, dword [esi + 0x14]
inc ebx
test esi, esi
jne 0x49dcec
mov ebx, dword [esp + 0x5c]
xor esi, esi
mov ecx, edi
push esi
push esi
push dword [esp + 0x18]
push 0x2d
pop edx
call fcn.00478cdd
add esp, 0xc
cmp byte [ebx + 0x12], 0
jne 0x49dd4c
cmp dword [ebx + 0x1b4], esi
jne 0x49dd4c
mov ecx, ebx
call fcn.00491f3b
mov eax, dword [esp + 0x44]
test dword [eax + 0x18], 0x1000
je 0x49d483
cmp dword [ebx + 0x1b4], esi
jne 0x49d483
cmp byte [ebx + 0x12], 0
jne 0x49d483
push esi
push 1
push dword [esp + 0x6c]
mov ecx, edi
push 0x10
pop edx
call fcn.00478cdd
add esp, 0xc
xor edx, edx
inc edx
mov ecx, edi
call fcn.00479e5a
push esi
push str.rows_updated
push esi
xor edx, edx
mov ecx, edi
call fcn.00479ec1
add esp, 0xc
jmp 0x49d483