Function at 0x49f17a
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 0x49f424
cmp byte [edi + 0x36], cl
jne 0x49f424
mov ecx, ebx
call fcn.00490655
mov esi, eax
mov dword [esp + 0x60], esi
test esi, esi
je 0x49f424
mov edx, dword [esi + 0x44]
mov ecx, dword [ebx]
call fcn.00498a12
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.0049eb3f
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.0048e06b
test eax, eax
jne 0x49f424
push dword [esp + 0x6c]
mov edx, esi
mov ecx, ebx
call fcn.00490698
pop ecx
test eax, eax
jne 0x49f424
mov edx, dword [esi + 8]
mov ecx, edi
shl edx, 2
call fcn.00466e99
mov ecx, eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x49f424
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49f26b
or dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [esi + 8]
jl 0x49f261
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 0x49f28b
inc ecx
mov dword [ebx + 0x48], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x49f284
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 0x49f3df
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x80]
mov edx, dword [eax + edx]
call fcn.00486beb
test eax, eax
jne 0x49f424
xor edi, edi
cmp edi, dword [esi + 8]
jge 0x49f34e
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.00468a0d
test eax, eax
je 0x49f320
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 0x49f2fc
jmp 0x49f349
cmp edi, dword [esi + 4]
jne 0x49f33e
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 0x49f382
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ecx + 4]
call fcn.00487f6d
test eax, eax
je 0x49f403
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.0048c5ff
add esp, 0xc
cmp eax, 1
je 0x49f424
cmp eax, 2
jne 0x49f3bc
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 0x49f2c2
mov edx, dword [esp + 0x38]
mov eax, dword [ebx]
test dword [eax + 0x18], 0x4000000
je 0x49f475
push edx
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.004934dd
pop ecx
mov edi, eax
mov dword [esp + 0x30], eax
jmp 0x49f47b
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.00468970
add esp, 0xc
mov byte [ebx + 0x11], 1
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x78]
call fcn.0048c691
mov ebx, dword [esp + 0x44]
mov ecx, ebx
mov edx, dword [esp + 0x3c]
call fcn.00466cd8
mov edx, dword [esp + 0x2c]
mov ecx, ebx
call fcn.00466cd8
mov edx, dword [esp + 0x58]
mov ecx, ebx
call fcn.0048f8ec
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00487d7c
mov edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.0048755a
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 0x49f4b0
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x49f484
test edx, edx
jle 0x49f4ac
mov ecx, dword [esp + 0x44]
shl edx, 2
call fcn.00466e99
mov edx, eax
mov dword [esp + 0x3c], edx
test edx, edx
je 0x49f424
jmp 0x49f4b0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x49f518
mov esi, dword [esp + 0x38]
mov dword [esp + 0x40], edx
test edi, edi
jne 0x49f586
test esi, esi
jne 0x49f586
xor eax, eax
mov dword [esp + 0x48], eax
cmp dword [ecx + 0x24], eax
jle 0x49f4fe
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 0x49f57b
inc edi
add edx, 4
cmp edi, dword [ecx + 0x24]
jl 0x49f4dd
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 0x49f4bf
mov esi, dword [esp + 0x60]
mov ecx, ebx
call fcn.0049a515
mov edi, eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x49f424
cmp byte [ebx + 0x12], 0
jne 0x49f537
mov byte [edi + 0x5e], 1
push dword [esp + 0x1c]
xor edx, edx
mov ecx, ebx
inc edx
call fcn.0048fd7a
test byte [esi + 0x22], 0x10
pop ecx
je 0x49f591
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.0049fd51
and dword [esp + 0x58], 0
add esp, 0x18
and dword [esp + 0x58], 0
jmp 0x49f42b
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
jmp 0x49f4fe
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
jmp 0x49f502
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 0x49f5b9
test ecx, ecx
je 0x49f5cc
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 0x49f5db
test eax, eax
jne 0x49f5db
test ecx, ecx
je 0x49f5e5
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 0x49f631
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.00490701
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov edx, ecx
lea ecx, [esp + 0x80]
call fcn.00486beb
test eax, eax
jne 0x49f42b
push dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x50]
push eax
push 0xa
pop edx
call fcn.0047ac80
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.004a5201
add esp, 0x14
mov dword [esp + 0x50], eax
test eax, eax
je 0x49f42b
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.0047ac80
add esp, 0xc
cmp dword [esp + 0x68], 0
jne 0x49f6be
push 0
push dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x54]
push 0x70
pop edx
call fcn.0047ac80
add esp, 0xc
mov ecx, dword [esp + 0x50]
call fcn.004a5ade
mov eax, dword [esp + 0x44]
test dword [eax + 0x18], 0x1000
je 0x49f6f8
xor ecx, ecx
cmp dword [ebx + 0x1b4], ecx
jne 0x49f6f8
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.0047ac80
add esp, 0xc
cmp dword [esp + 0x74], 0
jne 0x49f7aa
cmp dword [esp + 0x68], 0
jne 0x49f71f
mov edx, dword [esp + 0x10]
mov ecx, ebx
push 0x28
push esi
push dword [esp + 0x24]
call fcn.00493b55
add esp, 0xc
xor edx, edx
cmp dword [ebp + 0x10], 5
je 0x49f741
mov eax, dword [esi + 0x10]
mov dword [esp + 0x54], edx
jmp 0x49f739
cmp byte [eax + 0x2c], 5
je 0x49f73f
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x49f730
jmp 0x49f746
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 0x49f7aa
mov esi, eax
test edx, edx
jne 0x49f766
mov eax, dword [esp + 0x3c]
cmp dword [eax + ecx*4], edx
jle 0x49f79a
mov edx, esi
mov ecx, ebx
call fcn.00490032
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.0047ad06
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 0x49f759
mov esi, dword [esp + 0x60]
cmp dword [esp + 0x68], 0
mov ecx, edi
je 0x49f856
push 0
push 0
push dword [esp + 0x2c]
push 0x4a
pop edx
call fcn.0047ac80
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.0047ac80
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
js 0x49f7f9
push dword [edi + 0x1c]
mov edx, eax
mov ecx, edi
call fcn.0047afc8
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.0047ac80
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x49f83f
push dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.004898d9
pop ecx
push 0
push 0
push dword [esp + 0x28]
mov ecx, edi
push 0x15
pop edx
call fcn.0047ac80
add esp, 0xc
cmp dword [esp + 0x30], 0
jne 0x49f871
mov edx, dword [esp + 0x28]
test edx, edx
je 0x49f92e
xor eax, eax
jmp 0x49f87a
push dword [esp + 0x24]
push 0
push dword [esp + 0x54]
push 0x71
pop edx
call fcn.0047ac80
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x49f7fd
mov edx, esi
mov ecx, ebx
call fcn.00493425
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.0049f096
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 0x49f90c
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [eax + ebx*4], 0
jl 0x49f8e6
cmp edx, 0xffffffff
je 0x49f8e6
cmp ebx, 0x20
jge 0x49f8cf
xor eax, eax
mov ecx, ebx
inc eax
shl eax, cl
test edx, eax
jne 0x49f8e6
mov eax, dword [esp + 0x70]
mov ecx, edi
push 0
add eax, ebx
push eax
push 0
push 0xa
pop edx
call fcn.0047ac80
jmp 0x49f8fb
mov eax, dword [esp + 0x70]
mov edx, esi
add eax, ebx
mov ecx, edi
push eax
push ebx
push dword [esp + 0x18]
call fcn.00488b94
mov edx, dword [esp + 0x24]
add esp, 0xc
inc ebx
cmp ebx, dword [esi + 8]
jl 0x49f8b0
mov ebx, dword [esp + 0x5c]
cmp dword [esp + 0x38], 0
jne 0x49f92a
push 0
push dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x2c]
push 0xe
pop edx
call fcn.0047ac80
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.0049f096
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.0047ac80
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x18], ecx
cmp dword [esi + 8], ecx
jle 0x49f9f6
cmp ecx, dword [esi + 4]
je 0x49f9e8
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + ecx*4]
test edx, edx
js 0x49f99d
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.004898d9
jmp 0x49f9e3
test dword [esp + 0x6c], 1
je 0x49f9b7
cmp ecx, 0x1f
jg 0x49f9b7
xor eax, eax
inc eax
shl eax, cl
test dword [esp + 0x14], eax
je 0x49f9e8
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.0047ac80
add esp, 0xc
mov ecx, edi
push esi
push dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
mov edx, esi
call fcn.0049f0fd
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esi + 8]
jl 0x49f971
test byte [esp + 0x6c], 1
je 0x49fad7
push 0
push dword [esi + 8]
mov ecx, edi
push dword [esp + 0x3c]
push 0x1e
pop edx
call fcn.0047ac80
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.00493c18
mov eax, dword [esp + 0x28]
test eax, eax
je 0x49fa68
mov edi, eax
cmp byte [edi + 8], 0x6b
jne 0x49fa5d
cmp byte [edi + 9], 1
jne 0x49fa5d
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
call fcn.0049eafb
test eax, eax
je 0x49fa5d
push dword [esp + 0x1c]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push esi
call fcn.0049efbc
add esp, 0x10
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x49fa2a
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.0047ac80
and dword [esp + 0x20], 0
add esp, 0xc
cmp dword [esi + 8], 0
jle 0x49fad7
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [eax + ebx*4], 0
jge 0x49facd
cmp ebx, dword [esi + 4]
je 0x49facd
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.0047ac80
add esp, 0xc
mov ecx, edi
push esi
mov esi, dword [esp + 0x64]
mov edx, esi
push ebx
call fcn.0049f0fd
mov eax, dword [esp + 0x34]
pop ecx
pop ecx
inc ebx
cmp ebx, dword [esi + 8]
jl 0x49fa94
mov ebx, dword [esp + 0x5c]
cmp dword [esp + 0x74], 0
jne 0x49fbde
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.00494d41
add esp, 0x20
cmp dword [esp + 0x30], 0
je 0x49fb29
push 0
push dword [esp + 0x28]
mov edx, esi
mov ecx, ebx
call fcn.004930ed
pop ecx
pop ecx
push dword [esp + 0x24]
mov ecx, edi
push 0
push dword [esp + 0x18]
push 0x36
pop edx
call fcn.0047ac80
add esp, 0xc
mov dword [esp + 0x14], eax
mov edx, esi
mov ecx, ebx
push dword [esp + 0x3c]
push dword [esp + 0x14]
call fcn.00490e25
cmp dword [esp + 0x38], 0
pop ecx
pop ecx
jne 0x49fb65
cmp dword [esp + 0x38], 0
je 0x49fb7a
push 0
push 0
push dword [esp + 0x18]
mov ecx, edi
push 0x3b
pop edx
call fcn.0047ac80
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
js 0x49fb8f
push dword [edi + 0x1c]
mov edx, eax
mov ecx, edi
call fcn.0047afc8
pop ecx
cmp dword [esp + 0x30], 0
je 0x49fba7
push dword [esp + 0x20]
mov edx, esi
mov ecx, ebx
push 0
call fcn.004930ed
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.00495431
add esp, 0x18
cmp dword [esp + 0x30], 0
je 0x49fbde
push dword [esp + 0x24]
mov edx, esi
mov ecx, ebx
push dword [ebp + 8]
call fcn.00493a70
pop ecx
pop ecx
mov eax, dword [esp + 0x44]
test dword [eax + 0x18], 0x1000
je 0x49fc09
cmp dword [ebx + 0x1b4], 0
jne 0x49fc09
push 0
push 1
push dword [esp + 0x6c]
mov ecx, edi
push 0x14
pop edx
call fcn.0047ac80
add esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
je 0x49fc5a
mov edi, dword [esp + 0x1c]
cmp byte [eax + 8], 0x6b
jne 0x49fc4b
cmp byte [eax + 9], 2
jne 0x49fc4b
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.0049eafb
test eax, eax
je 0x49fc47
mov edx, dword [esp + 0x28]
mov ecx, ebx
push edi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push esi
call fcn.0049efbc
add esp, 0x10
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x49fc15
mov edi, dword [esp + 0x48]
push 0
push dword [esp + 0x20]
xor edx, edx
mov ecx, edi
push 0
inc edx
call fcn.0047ac80
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
js 0x49fc84
push dword [edi + 0x1c]
mov edx, eax
mov ecx, edi
call fcn.0047afc8
pop ecx
and dword [esp + 0x14], 0
mov esi, dword [esi + 0x10]
test esi, esi
je 0x49fcca
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x54], 0
jne 0x49fca5
mov eax, dword [esp + 0x3c]
cmp dword [eax + ebx*4], 0
jle 0x49fcbe
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.0047ac80
add esp, 0xc
mov esi, dword [esi + 0x14]
inc ebx
test esi, esi
jne 0x49fc94
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.0047ac80
add esp, 0xc
cmp byte [ebx + 0x12], 0
jne 0x49fcf4
cmp dword [ebx + 0x1b4], esi
jne 0x49fcf4
mov ecx, ebx
call fcn.00493ee3
mov eax, dword [esp + 0x44]
test dword [eax + 0x18], 0x1000
je 0x49f42b
cmp dword [ebx + 0x1b4], esi
jne 0x49f42b
cmp byte [ebx + 0x12], 0
jne 0x49f42b
push esi
push 1
push dword [esp + 0x6c]
mov ecx, edi
push 0x10
pop edx
call fcn.0047ac80
add esp, 0xc
xor edx, edx
inc edx
mov ecx, edi
call fcn.0047bdfd
push esi
push str.rows_updated
push esi
xor edx, edx
mov ecx, edi
call fcn.0047be64
add esp, 0xc
jmp 0x49f42b