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

Disassembly:
sub esp, 0xdc
xor eax, eax
push ebp
mov ebp, dword [esp + 0xe4]
mov ecx, dword [ebp]
push edi
mov dword [esp + 0xac], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa4], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x98], ecx
cmp dword [ebp + 0x24], eax
jne 0x46f623
mov eax, dword [esp + 0xec]
push ebx
push ebp
call fcn.0043d8c0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46f622
mov edx, dword [ebx + 0x3c]
mov ecx, dword [ebp]
push esi
call fcn.00415690
lea edx, [esp + 0xc0]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xf8]
push edx
push eax
push 0x81
mov esi, ebx
mov edi, ebp
call fcn.00430020
mov edx, dword [esp + 0x100]
xor ecx, ecx
add esp, 0xc
cmp byte [ebx + 0x2b], 2
mov dword [esp + 0x54], eax
sete cl
cmp dword [edx], 1
mov dword [esp + 0x5c], ecx
jle 0x46e19c
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
jmp 0x46e1a4
mov dword [esp + 0x48], 0
push ebp
mov eax, ebx
call fcn.004588d0
add esp, 4
test eax, eax
jne 0x46f621
mov edx, dword [esp + 0x54]
push edx
push ebx
mov eax, ebp
call fcn.0042ea40
add esp, 8
test eax, eax
jne 0x46f621
mov edi, dword [ebp + 0x28]
lea edx, [edi + 1]
mov dword [ebp + 0x28], edx
test byte [ebx + 0x1c], 0x80
mov dword [esp + 0x1c], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x9c], edx
jne 0x46e1f3
mov dword [esp + 0x34], eax
jmp 0x46e1fe
mov eax, ebx
call fcn.004141a0
mov dword [esp + 0x34], eax
mov ecx, dword [ebx + 8]
xor esi, esi
mov dword [esp + 0x84], esi
test ecx, ecx
je 0x46e22f
mov edi, edi
cmp dword [esp + 0x34], ecx
jne 0x46e218
mov edi, edx
inc edx
mov dword [ebp + 0x28], edx
mov ecx, dword [ecx + 0x14]
inc esi
test ecx, ecx
jne 0x46e210
mov dword [esp + 0x84], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x46e252
mov edi, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x9c], eax
mov dword [ebp + 0x28], ecx
mov edx, dword [esp + 0xf4]
mov dword [edx + 0x34], edi
movsx eax, word [ebx + 0x22]
add eax, esi
lea ecx, [esi + eax*4 + 6]
push 0
push ecx
mov ecx, dword [esp + 0xa8]
call fcn.00419be0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x46f621
movsx edx, word [ebx + 0x22]
mov edi, dword [esp + 0x84]
lea eax, [eax + edx*4]
lea esi, [eax + edi*4 + 4]
mov dword [esp + 0x6c], eax
lea eax, [edi + 1]
push eax
push 1
push esi
mov dword [esp + 0x8c], esi
call fcn.004acf20
xor ecx, ecx
add esp, 0xc
mov byte [esi + edi + 1], 0
xor eax, eax
cmp cx, word [ebx + 0x22]
jge 0x46e2d4
nop
mov edx, dword [esp + 0x2c]
mov dword [edx + eax*4], 0xffffffff
movsx ecx, word [ebx + 0x22]
inc eax
cmp eax, ecx
jl 0x46e2c0
mov edx, dword [esp + 0xf4]
xor eax, eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x10c]
mov ecx, ebp
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xe4], 0x200
call fcn.00444800
mov dword [esp + 0x14], eax
test eax, eax
je 0x46f621
mov eax, dword [esp + 0xf8]
cmp dword [eax], 0
mov byte [esp + 0x23], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], 0
jle 0x46e4fc
add eax, 8
mov dword [esp + 0x30], eax
jmp 0x46e380
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
call fcn.0040a9f0
cmp dword [esp + 0x48], 0
mov byte [esp + 0x6b], al
jne 0x46e3b1
mov edx, dword [esp + 0x30]
mov edi, dword [edx]
lea esi, [esp + 0xcc]
call fcn.0045eaf0
test eax, eax
jne 0x46f621
movsx eax, word [ebx + 0x22]
xor esi, esi
test eax, eax
jle 0x46e447
mov edi, dword [ebx + 4]
mov al, byte [edi + 0xa]
cmp al, byte [esp + 0x6b]
jne 0x46e3dd
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
mov edx, dword [edi]
call fcn.0040a950
test eax, eax
je 0x46e3eb
movsx eax, word [ebx + 0x22]
inc esi
add edi, 0x10
cmp esi, eax
jl 0x46e3c2
jmp 0x46e447
movsx edx, word [ebx + 0x20]
cmp esi, edx
jne 0x46e40c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x13], 1
mov dword [esp + 0x74], ecx
mov dword [esp + 0x3c], edx
jmp 0x46e43c
cmp dword [esp + 0x34], 0
je 0x46e429
mov eax, dword [ebx + 4]
mov ecx, esi
shl ecx, 4
test byte [ecx + eax + 0xe], 1
je 0x46e429
mov byte [esp + 0x23], 1
jmp 0x46e43c
mov eax, dword [ebx + 4]
mov edx, esi
shl edx, 4
test byte [edx + eax + 0xe], 0x60
jne 0x46e58a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov dword [eax + esi*4], ecx
movsx edx, word [ebx + 0x22]
cmp esi, edx
jl 0x46e48b
cmp dword [esp + 0x34], 0
jne 0x46e5a5
mov edi, dword [esp + 0x30]
mov esi, dword [edi + 4]
call fcn.004136e0
test eax, eax
je 0x46e5a5
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
or esi, 0xffffffff
mov byte [esp + 0x13], 1
mov dword [esp + 0x3c], ecx
mov eax, str.ROWID
jmp 0x46e4a1
test esi, esi
jge 0x46e496
mov eax, str.ROWID
jmp 0x46e4a1
mov eax, dword [ebx + 4]
mov edx, esi
shl edx, 4
mov eax, dword [edx + eax]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xa0]
mov edx, dword [edx + 0x10]
shl ecx, 4
mov ecx, dword [ecx + edx]
mov edx, dword [ebx]
push ecx
push eax
push edx
push 0x17
mov eax, ebp
call fcn.0042dbd0
add esp, 0x10
cmp eax, 1
je 0x46f621
cmp eax, 2
jne 0x46e4df
mov eax, dword [esp + 0x2c]
mov dword [eax + esi*4], 0xffffffff
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xf8]
add dword [esp + 0x30], 0x14
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0x18], eax
jl 0x46e380
mov al, byte [esp + 0x23]
add al, byte [esp + 0x13]
test byte [ebx + 0x1c], 0x60
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x70], al
je 0x46e57c
xor esi, esi
xor ecx, ecx
cmp cx, word [ebx + 0x22]
mov dword [esp + 0x7c], esi
jge 0x46e57c
mov dword [esp + 0x38], esi
cmp dword [edi + esi*4], 0
jge 0x46e567
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x38]
test byte [edx + eax + 0xe], 0x60
lea ecx, [edx + eax]
je 0x46e567
movzx edx, byte [esp + 0x13]
push edx
mov eax, ebx
call fcn.00414120
mov ecx, edi
mov edx, eax
call fcn.004247e0
add esp, 4
test eax, eax
je 0x46e567
mov dword [edi + esi*4], 0x1869f
mov dword [esp + 0x7c], 1
movsx eax, word [ebx + 0x22]
add dword [esp + 0x38], 0x10
inc esi
cmp esi, eax
jl 0x46e524
cmp dword [esp + 0x7c], 0
jne 0x46e512
cmp byte [ebx + 0x2b], 1
jne 0x46e5cd
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x46e5d1
mov edx, dword [ebx + 4]
shl esi, 4
mov eax, dword [esi + edx]
push eax
push str.cannot_UPDATE_generated_column___s_
mov edi, ebp
call fcn.0042b190
jmp 0x46f61e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xf8]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4 + 0xc]
push eax
push str.no_such_column:__s
mov edi, ebp
call fcn.0042b190
mov byte [ebp + 0x11], 1
jmp 0x46f61e
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 0xf4]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
movzx eax, byte [esp + 0x70]
push eax
mov dword [esp + 0x80], eax
push ebx
mov ecx, edi
mov eax, ebp
call fcn.0041ea80
add esp, 8
cmp dword [esp + 0x100], 5
mov dword [esp + 0x30], eax
jne 0x46e611
mov dword [esp + 0x8c], 1
mov esi, dword [ebx + 8]
mov dword [esp + 0x78], 0
test esi, esi
je 0x46e6fe
cmp byte [esp + 0x70], 0
jne 0x46e6b8
cmp dword [esp + 0x30], 1
jg 0x46e6b8
cmp esi, dword [esp + 0x34]
je 0x46e6b8
mov edx, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x13]
push edx
mov eax, esi
call fcn.00424a90
add esp, 4
test eax, eax
jne 0x46e6b8
xor edi, edi
mov dword [esp + 0x38], edi
cmp ax, word [esi + 0x32]
jae 0x46e6cf
movzx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0x2c]
push eax
mov edx, edi
call fcn.00424a60
add esp, 4
test eax, eax
jne 0x46e687
movzx ecx, word [esi + 0x32]
inc edi
cmp edi, ecx
jl 0x46e664
jmp 0x46e6cf
mov ecx, 1
add dword [ebp + 0x2c], ecx
movzx edx, word [esi + 0x34]
mov eax, dword [ebp + 0x2c]
add edx, eax
cmp dword [esp + 0x100], 0xb
mov dword [esp + 0x38], eax
mov dword [ebp + 0x2c], edx
jne 0x46e6cb
cmp byte [esi + 0x36], 5
jne 0x46e6cb
mov dword [esp + 0x8c], ecx
jmp 0x46e6cb
inc dword [ebp + 0x2c]
movzx ecx, word [esi + 0x34]
mov eax, dword [ebp + 0x2c]
add ecx, eax
mov dword [esp + 0x38], eax
mov dword [ebp + 0x2c], ecx
test eax, eax
jne 0x46e6df
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
mov byte [edx + eax + 1], 0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x6c]
mov dword [edx + eax*4], ecx
mov esi, dword [esi + 0x14]
inc eax
mov dword [esp + 0x78], eax
test esi, esi
jne 0x46e624
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x8c], 0
je 0x46e734
mov eax, dword [esp + 0x84]
inc eax
push eax
mov eax, dword [esp + 0x84]
push 1
push eax
call fcn.004acf20
add esp, 0xc
cmp byte [ebp + 0x12], 0
jne 0x46e743
mov eax, dword [esp + 0x14]
call fcn.00411a10
cmp dword [esp + 0x54], 0
jne 0x46e755
cmp dword [esp + 0x30], 0
jne 0x46e755
xor eax, eax
jmp 0x46e75a
mov eax, 1
mov edi, dword [esp + 0x24]
push eax
mov eax, ebp
call fcn.004485c0
add esp, 4
cmp byte [ebx + 0x2b], 1
je 0x46e7f5
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + ecx*4]
mov ecx, 1
add dword [ebp + 0x2c], ecx
cmp byte [esp + 0x23], 0
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x44], eax
jne 0x46e7ad
cmp dword [esp + 0x54], 0
jne 0x46e7ad
cmp dword [esp + 0x30], 0
je 0x46e7c0
lea edx, [eax + 1]
mov dword [esp + 0xa8], edx
movsx edx, word [ebx + 0x22]
add edx, eax
mov dword [ebp + 0x2c], edx
cmp byte [esp + 0x70], 0
jne 0x46e7d5
cmp dword [esp + 0x54], 0
jne 0x46e7d5
cmp dword [esp + 0x30], 0
je 0x46e7df
add dword [ebp + 0x2c], ecx
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x60], eax
movsx edx, word [ebx + 0x22]
mov eax, dword [ebp + 0x2c]
lea ecx, [eax + 1]
add edx, eax
mov dword [esp + 0x88], ecx
mov dword [ebp + 0x2c], edx
cmp dword [esp + 0x5c], 0
je 0x46e810
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0xc8]
mov eax, ebp
call fcn.00413d60
add esp, 4
cmp dword [esp + 0x48], 0
jne 0x46e861
cmp dword [esp + 0x5c], 0
je 0x46e846
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x100]
push edx
push eax
push ecx
push ebx
mov eax, ebp
call fcn.00468b30
add esp, 0x14
mov edi, dword [esp + 0xfc]
lea esi, [esp + 0xcc]
call fcn.0045eaf0
test eax, eax
jne 0x46f621
cmp byte [ebx + 0x2b], 1
jne 0x46e8a1
mov edx, dword [esp + 0x100]
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x100]
push edx
push eax
push ebx
push ecx
mov eax, ebp
call fcn.0046db90
add esp, 0x1c
jmp 0x46f621
mov eax, ebp
call fcn.00410ed0
mov edx, dword [esp + 0xa0]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
and ecx, 1
xor eax, eax
or eax, ecx
je 0x46e902
cmp dword [ebp + 0x7c], 0
jne 0x46e902
cmp byte [ebp + 0x12], 0
jne 0x46e902
cmp byte [ebp + 0x9d], 0
jne 0x46e902
cmp dword [esp + 0x10c], 0
mov esi, dword [esp + 0x14]
jne 0x46e906
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push 0x47
push esi
xor ecx, ecx
mov dword [esp + 0xb4], eax
call fcn.0043a2b0
add esp, 8
jmp 0x46e906
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
test edx, edx
jne 0x46e9a5
test byte [ebx + 0x1c], 0x80
jne 0x46e9a5
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xb0]
push eax
push ecx
push edx
push 0x4b
push esi
call fcn.0043a200
mov eax, dword [esp + 0xc4]
mov edi, dword [ebp + 0x28]
push eax
push 0
push edi
lea edx, [edi + 1]
push 0x76
push esi
mov dword [esp + 0x50], edi
mov dword [ebp + 0x28], edx
call fcn.0043a200
add esp, 0x28
mov dword [esp + 0x98], eax
cmp dword [esp + 0x10c], 0
je 0x46eae6
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xfc]
push 0x10
push ecx
push edx
push ebp
mov dword [esp + 0xa0], 0
mov dword [esp + 0x34], 1
call fcn.00469730
add esp, 0x10
mov dword [esp + 0xa4], 0
jmp 0x46ebc5
mov eax, dword [esp + 0x34]
test eax, eax
je 0x46e9b3
movzx ecx, word [eax + 0x32]
jmp 0x46e9b5
xor ecx, ecx
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x64], ecx
movsx ecx, cx
mov dword [esp + 0x18], ecx
add ecx, eax
cmp dword [esp + 0x10c], 0
lea edi, [eax + 1]
lea eax, [ecx + edx + 1]
mov dword [esp + 0x58], edi
mov dword [ebp + 0x2c], eax
mov dword [esp + 0x50], eax
jne 0x46eab0
cmp dword [esp + 0x5c], 0
je 0x46e9f2
movsx eax, word [ebx + 0x22]
jmp 0x46e9f4
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edi, dword [ebp + 0x28]
add eax, ecx
add eax, dword [esp + 0x48]
cmp dword [esp + 0x34], 0
lea edx, [edi + 1]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [ebp + 0x28], edx
je 0x46ea2d
mov eax, dword [esp + 0x58]
lea edx, [ecx + eax - 1]
push edx
push eax
push 0
push 0x4b
push esi
call fcn.0043a200
add esp, 0x14
mov eax, dword [esp + 0x24]
push 0x76
push esi
mov ecx, edi
call fcn.0043a2b0
add esp, 8
cmp dword [esp + 0x34], 0
mov dword [esp + 0x98], eax
je 0x46ea75
mov eax, dword [esp + 0x34]
push eax
push ebp
call fcn.004487a0
add esp, 8
test eax, eax
je 0x46ea75
mov cx, word [esp + 0x24]
mov word [eax + 8], cx
push 0xfffffffffffffff8
mov ecx, eax
mov edx, esi
call fcn.0041d040
add esp, 4
cmp dword [esp + 0x48], 0
je 0x46eae6
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x34]
push edx
push eax
mov eax, dword [esp + 0xfc]
push ecx
push edi
mov ecx, ebp
call fcn.00467af0
add esp, 0x10
cmp dword [esp + 0x5c], 0
je 0x46eab4
mov dword [esp + 0x1c], edi
jmp 0x46eab4
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x48], 0
je 0x46e95c
mov ecx, ebp
call fcn.00414a50
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], 0
mov dword [esp + 0x94], edx
mov dword [esp + 0x50], eax
jmp 0x46ecf5
cmp byte [ebp + 0x12], 0
mov eax, 4
jne 0x46eb1f
cmp dword [esp + 0x54], 0
jne 0x46eb1f
cmp dword [esp + 0x30], 0
jne 0x46eb1f
cmp byte [esp + 0x70], 0
jne 0x46eb1f
cmp dword [esp + 0x8c], 0
jne 0x46eb1f
test byte [esp + 0xe4], 0x40
jne 0x46eb1f
mov eax, 0xc
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xfc]
push ecx
push eax
mov eax, dword [esp + 0xfc]
push 0
push 0
push 0
push edx
push eax
push ebp
call fcn.00460af0
add esp, 0x20
mov dword [esp + 0x90], eax
test eax, eax
je 0x46f621
lea ecx, [esp + 0xb8]
mov esi, eax
call fcn.00416a00
mov edx, eax
mov eax, esi
mov dword [esp + 0x24], edx
call fcn.00416a10
mov dword [esp + 0xa4], eax
cmp edx, 1
je 0x46ebbd
mov ecx, ebp
call fcn.00414a50
cmp edx, 2
jne 0x46ebbd
mov eax, dword [esp + 0xbc]
test eax, eax
jl 0x46ebbd
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
je 0x46ebc5
sub eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x80]
cmp byte [eax + ecx], 0
je 0x46ebc5
mov dword [esp + 0x24], 0
jmp 0x46ebc5
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
test byte [ebx + 0x1c], 0x80
jne 0x46ec3b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
push 0x87
push esi
call fcn.0043a2b0
add esp, 8
cmp dword [esp + 0x24], 0
jne 0x46ec1a
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x78]
mov dword [edx + ecx*4], eax
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0xb0]
push edx
push eax
push edi
push 0x80
push esi
call fcn.0043a200
add esp, 0x14
jmp 0x46ecf5
cmp dword [esp + 0x98], 0
je 0x46ecf5
mov ecx, dword [esp + 0x98]
mov edx, esi
call fcn.0041ced0
jmp 0x46ecf5
movsx eax, word [esp + 0x64]
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x46ec7a
lea ebx, [ebx]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
lea edx, [edi + ecx]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + edi*2]
push edx
mov edx, dword [esp + 0x20]
push edx
push esi
mov ecx, ebx
call fcn.00457970
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x18]
jl 0x46ec50
cmp dword [esp + 0x24], 0
je 0x46eca8
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x46ec93
mov edx, esi
call fcn.0041ced0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x94], eax
mov dword [esp + 0x50], ecx
jmp 0x46ecf5
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x34]
push esi
push edx
call fcn.0043dea0
mov edi, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x5c]
push 0x61
mov ecx, esi
call fcn.0043a2f0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
push esi
push ecx
mov ecx, dword [esp + 0x68]
push 0x8a
mov esi, edi
call fcn.0043a4c0
add esp, 0x1c
cmp dword [esp + 0x10c], 0
jne 0x46ef97
cmp dword [esp + 0x48], 0
jne 0x46ed21
cmp dword [esp + 0x24], 2
je 0x46ed21
mov edx, dword [esp + 0x90]
push edx
call fcn.00464000
add esp, 4
cmp dword [esp + 0x5c], 0
jne 0x46edc7
xor edi, edi
cmp dword [esp + 0x24], edi
je 0x46ed6c
mov eax, dword [esp + 0xb8]
test eax, eax
jl 0x46ed4e
sub eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x80]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0xbc]
test eax, eax
jl 0x46ed73
mov ecx, dword [esp + 0x80]
mov edx, eax
sub edx, dword [esp + 0x4c]
mov byte [edx + ecx], 0
jmp 0x46ed73
mov eax, dword [esp + 0xbc]
cmp dword [esp + 0x24], 2
jne 0x46ed9c
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x84]
setge dl
sub eax, edx
test eax, eax
jle 0x46ed9c
mov eax, 0xf
mov ecx, esi
call fcn.0043a270
mov edi, eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x4c]
push 0
push eax
push 0
push 0x71
push ebx
push ebp
xor eax, eax
call fcn.0044d5a0
add esp, 0x18
test edi, edi
je 0x46edc7
mov eax, edi
mov ecx, esi
call fcn.0041cdd0
cmp dword [esp + 0x24], 0
je 0x46ee3a
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0xb8], eax
je 0x46ee05
cmp dword [esp + 0xbc], eax
je 0x46ee05
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x54]
push edx
push 0x1c
call fcn.0043a4c0
add esp, 0xc
cmp dword [esp + 0x24], 1
je 0x46ee17
mov eax, ebp
call fcn.00410ed0
mov dword [esp + 0x40], eax
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x50]
jne 0x46ee26
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
push 0x32
push esi
call fcn.0043a2b0
add esp, 8
jmp 0x46ef97
mov edi, dword [esp + 0x34]
test edi, edi
jne 0x46ee9a
cmp dword [esp + 0x48], edi
jne 0x46ee9a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
push 0x24
push esi
call fcn.0043a2b0
mov eax, ebp
call fcn.00410ed0
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
push 0x87
push esi
mov eax, edi
call fcn.0043a2b0
mov ecx, dword [esp + 0x2c]
push edi
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push 0x1f
push esi
call fcn.0043a200
add esp, 0x24
jmp 0x46ef97
mov eax, ebp
call fcn.00410ed0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
push 0x24
push esi
call fcn.0043a2b0
add esp, 8
mov eax, esi
call fcn.00411010
cmp dword [esp + 0x48], 0
mov dword [esp + 0xb4], eax
je 0x46ef63
cmp dword [esp + 0x5c], 0
jne 0x46ef97
test edi, edi
je 0x46ef36
movsx eax, word [esp + 0x64]
xor edi, edi
test eax, eax
jle 0x46ef13
jmp 0x46eef0
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
lea eax, [edi + edx]
push eax
push edi
push ecx
push 0x5e
push esi
call fcn.0043a200
movsx eax, word [esp + 0x78]
inc edi
add esp, 0x14
cmp edi, eax
jl 0x46eef0
movsx eax, word [esp + 0x64]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x5c]
push edx
push 0x1c
call fcn.0043a4c0
add esp, 0xc
jmp 0x46ef93
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
push 0x87
push esi
mov eax, edi
call fcn.0043a2b0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
push edi
push eax
push ecx
push 0x1f
push esi
call fcn.0043a200
add esp, 0x1c
jmp 0x46ef97
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
push 0x86
push esi
mov eax, edi
call fcn.0043a2b0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
push 0
push edx
push 0x1c
mov eax, edi
call fcn.0043a4c0
add esp, 0x14
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x46efdf
cmp dword [esp + 0x48], 0
mov edi, dword [esp + 0x60]
push edi
jne 0x46efba
mov eax, dword [esp + 0x78]
push eax
push ebp
call fcn.0046d720
add esp, 0xc
jmp 0x46efcf
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push 0x5e
push esi
call fcn.0043a200
add esp, 0x14
push esi
mov eax, edi
mov ecx, 0xd
call fcn.0043a290
add esp, 4
cmp byte [esp + 0x23], 0
jne 0x46f0a2
cmp dword [esp + 0x30], 0
jne 0x46f0ad
cmp dword [esp + 0x54], 0
je 0x46f108
xor edi, edi
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0xf8]
push eax
mov eax, dword [esp + 0x58]
push ebx
push 3
push 0
push ecx
push ebp
call fcn.00416140
or edi, eax
xor edx, edx
add esp, 0x18
cmp dx, word [ebx + 0x22]
mov dword [esp + 0x74], edi
mov dword [esp + 0x18], 0
jge 0x46f0e7
mov dword [esp + 0x3c], edx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x3c]
movzx edx, word [eax + ecx + 0xe]
mov eax, dword [esp + 0x18]
mov edi, ebx
mov dword [esp + 0x84], edx
call fcn.00414220
mov edi, dword [esp + 0x18]
cwde
add eax, dword [esp + 0xa8]
cmp dword [esp + 0x74], 0xffffffff
je 0x46f0be
cmp edi, 0x20
jge 0x46f089
mov ecx, edi
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x74]
test ecx, edx
jne 0x46f0be
test byte [esp + 0x84], 1
jne 0x46f0be
push 0x4b
push esi
xor ecx, ecx
call fcn.0043a2b0
add esp, 8
jmp 0x46f0d1
cmp dword [esp + 0x30], 0
je 0x46f000
push ebx
push ebp
call fcn.0042f020
add esp, 8
mov edi, eax
jmp 0x46f002
mov edx, dword [esp + 0x1c]
push eax
push edx
push esi
mov eax, edi
mov ecx, ebx
call fcn.00457970
add esp, 0xc
movsx eax, word [ebx + 0x22]
add dword [esp + 0x3c], 0x10
inc edi
cmp edi, eax
mov dword [esp + 0x18], edi
jl 0x46f042
cmp byte [esp + 0x13], 0
jne 0x46f108
cmp dword [esp + 0x34], 0
jne 0x46f108
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
push 0x50
push esi
call fcn.0043a2b0
add esp, 8
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0x54]
push ecx
push ebx
push 1
push 1
push edx
push ebp
call fcn.00416140
mov edi, dword [esp + 0xa0]
mov dword [esp + 0xc0], eax
movsx eax, word [ebx + 0x22]
add esp, 0x18
mov dword [esp + 0x18], 0
test eax, eax
jle 0x46f252
mov dword [esp + 0x3c], 0
movsx ecx, word [ebx + 0x20]
cmp dword [esp + 0x18], ecx
jne 0x46f172
push 0x4b
push esi
mov eax, edi
xor ecx, ecx
call fcn.0043a2b0
add esp, 8
jmp 0x46f237
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x3c]
movzx ecx, word [edx + ecx + 0xe]
test cl, 0x60
je 0x46f192
test cl, 0x20
je 0x46f237
dec edi
jmp 0x46f237
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + ecx*4]
test edx, edx
jl 0x46f1e2
cmp dword [esp + 0x48], 0
je 0x46f1ca
cmp dword [esp + 0x5c], 0
jne 0x46f1b4
movsx eax, word [esp + 0x64]
push edi
add eax, edx
push eax
mov eax, dword [esp + 0x30]
push eax
push 0x5e
push esi
call fcn.0043a200
add esp, 0x14
jmp 0x46f237
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xf8]
mov eax, dword [edx + ecx*4 + 8]
push edi
push eax
push ebp
call fcn.0046d720
jmp 0x46f234
test dword [esp + 0xc0], 1
je 0x46f217
cmp ecx, 0x1f
jg 0x46f217
mov eax, dword [esp + 0xa8]
mov edx, 1
shl edx, cl
test eax, edx
jne 0x46f217
push 0x4b
push esi
mov eax, edi
xor ecx, ecx
call fcn.0043a2b0
add esp, 8
jmp 0x46f237
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edi
push ecx
push esi
mov ecx, ebx
call fcn.00457970
mov dword [esp + 0xb0], 0
add esp, 0xc
mov ecx, dword [esp + 0x18]
movsx eax, word [ebx + 0x22]
add dword [esp + 0x3c], 0x10
inc ecx
inc edi
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x46f154
test byte [ebx + 0x1c], 0x60
je 0x46f26b
mov edx, dword [esp + 0x88]
push edx
push ebp
mov eax, ebx
call fcn.00458c80
add esp, 8
test byte [esp + 0xc0], 1
je 0x46f3a6
mov eax, dword [esp + 0x88]
push eax
mov eax, ebx
mov ecx, esi
call fcn.0043dec0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x100]
push edx
mov edx, dword [esp + 0x60]
push eax
push ebx
push 1
push ecx
push 0x81
push edx
push ebp
call fcn.00471de0
add esp, 0x28
cmp dword [esp + 0x5c], 0
jne 0x46f543
cmp dword [esp + 0x34], 0
je 0x46f2f1
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x54]
push edi
push 0x1c
call fcn.0043a4c0
add esp, 0xc
jmp 0x46f313
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0x1f
push ecx
call fcn.0043a200
mov edi, dword [esp + 0x30]
add esp, 0x14
mov edx, dword [esp + 0x88]
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 0x22]
mov dword [esp + 0x4c], edx
jge 0x46f38b
mov dword [esp + 0x3c], esi
lea ecx, [esi + 1]
nop
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x3c]
movzx eax, word [edx + eax + 0xe]
test al, 0x60
je 0x46f34a
test al, 0x20
je 0x46f378
sub dword [esp + 0x4c], ecx
jmp 0x46f378
mov edx, dword [esp + 0x2c]
cmp dword [edx + esi*4], 0
jge 0x46f378
movsx eax, word [ebx + 0x20]
cmp esi, eax
je 0x46f378
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
push ecx
push edi
push edx
mov eax, esi
mov ecx, ebx
call fcn.00457970
add esp, 0xc
mov ecx, 1
movsx eax, word [ebx + 0x22]
add dword [esp + 0x3c], 0x10
add dword [esp + 0x4c], ecx
add esi, ecx
cmp esi, eax
jl 0x46f330
test byte [ebx + 0x1c], 0x60
je 0x46f3b5
mov ecx, dword [esp + 0x88]
push ecx
push ebp
mov eax, ebx
call fcn.00458c80
add esp, 8
jmp 0x46f3b5
cmp dword [esp + 0x5c], 0
jne 0x46f543
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
push 0
push edx
mov edx, dword [esp + 0x108]
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x84]
push esi
push ecx
push edx
push edi
push eax
push ebx
push ebp
call fcn.0046f860
add esp, 0x34
cmp dword [esp + 0x8c], 0
jne 0x46f40c
cmp byte [esp + 0x70], 0
je 0x46f44e
cmp dword [esp + 0x34], 0
je 0x46f438
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x44]
push edi
push 0x1c
call fcn.0043a4c0
mov esi, dword [esp + 0x50]
add esp, 0xc
jmp 0x46f44e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
push esi
push edx
push edi
push 0x1f
push eax
call fcn.0043a200
add esp, 0x14
cmp dword [esp + 0x30], 0
je 0x46f46c
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push 0
push esi
push ebx
push ebp
call fcn.00465f00
add esp, 0x18
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x9c]
push 0xffffffffffffffff
push eax
push ecx
push edi
push ebp
mov eax, ebx
call fcn.00463970
add esp, 0x14
cmp dword [esp + 0xa4], 0
je 0x46f4a5
mov edx, dword [esp + 0x14]
push edx
mov eax, edi
mov ecx, 0x8f
call fcn.0043a290
add esp, 4
mov esi, dword [esp + 0x30]
cmp esi, 1
jg 0x46f4b5
cmp byte [esp + 0x70], 0
je 0x46f4cb
mov eax, dword [esp + 0x14]
push 0x82
push eax
xor eax, eax
mov ecx, edi
call fcn.0043a2b0
add esp, 8
test esi, esi
je 0x46f4ea
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
push ecx
push edx
push eax
push 0
push ebx
push ebp
call fcn.00465f00
add esp, 0x18
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x60]
xor ecx, ecx
cmp dword [esp + 0x24], 2
push 0
setne cl
push 0
dec ecx
and ecx, 2
or ecx, 4
push ecx
mov ecx, dword [esp + 0xa8]
push edx
push eax
push ecx
push edi
push ebx
push ebp
call fcn.0043dfb0
add esp, 0x24
test esi, esi
je 0x46f543
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0xfc]
push eax
push ecx
push edx
push ebp
mov esi, ebx
call fcn.0044d2e0
add esp, 0x14
mov ecx, dword [esp + 0xac]
mov edi, dword [esp + 0x14]
test ecx, ecx
je 0x46f562
push 0x56
push edi
mov eax, 1
call fcn.0043a2b0
add esp, 8
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xf8]
push esi
push eax
mov eax, dword [esp + 0x5c]
push ecx
push ebx
push 2
push edx
push 0x81
push eax
push ebp
call fcn.00471de0
mov eax, dword [esp + 0x48]
add esp, 0x24
cmp eax, 1
je 0x46f5d6
mov ecx, esi
mov edx, edi
cmp eax, 2
jne 0x46f5bb
call fcn.00422330
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00464000
add esp, 4
jmp 0x46f5d6
call fcn.00422330
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x28]
push 0x27
push edi
call fcn.0043a2b0
add esp, 8
mov ecx, dword [esp + 0x38]
mov edx, edi
call fcn.00422330
cmp byte [ebp + 0x12], 0
jne 0x46f5fe
cmp dword [ebp + 0x7c], 0
jne 0x46f5fe
cmp dword [esp + 0x10c], 0
jne 0x46f5fe
mov eax, ebp
call fcn.0044d590
cmp dword [esp + 0xac], 0
je 0x46f621
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x14]
push str.rows_updated
push edx
call fcn.0043d910
add esp, 8
pop esi
pop ebx
lea eax, [esp + 0xbc]
call fcn.00413d80
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x98]
push eax
push edi
call fcn.0040a090
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.00414910
mov edx, dword [esp + 0xfc]
push edx
push edi
call fcn.004238b0
mov eax, dword [esp + 0x108]
push eax
push edi
call fcn.00423720
add esp, 0x1c
pop edi
pop ebp
add esp, 0xdc
ret