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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x4e2040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push esi
mov dword [ebp - 0xbc], eax
or eax, 0xffffffff
mov esi, dword [ebx]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 0x49], cl
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xac], esi
cmp dword [ebx + 0x24], ecx
jne 0x47f906
mov dword [ebp - 0x20], ecx
test edi, edi
je 0x47f439
test dword [edi + 4], 0x200
je 0x47f439
cmp dword [edi + 0x34], ecx
jne 0x47f439
mov eax, dword [edi + 0x1c]
mov edx, edi
mov dword [edi + 0x1c], ecx
mov ecx, esi
push 1
mov dword [ebp - 0x98], eax
call fcn.00486c05
and dword [ebp - 0x48], 0
pop ecx
mov edx, dword [ebp - 0x8c]
mov ecx, ebx
call fcn.0047a199
mov edi, eax
mov dword [ebp - 0x7c], edi
test edi, edi
je 0x47f903
mov edx, dword [edi + 0x3c]
mov ecx, esi
call fcn.004864ff
mov ecx, eax
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 0x10]
add ecx, ecx
push dword [eax + ecx*8]
mov ecx, ebx
push 0
push dword [edi]
push 0x12
pop edx
call fcn.00473b56
add esp, 0xc
test eax, eax
jne 0x47f903
mov eax, dword [edi + 0x1c]
mov edx, edi
shr eax, 7
mov ecx, ebx
and eax, 0xffffff01
mov dword [ebp - 8], eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0x7f
call fcn.0048fb5d
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov al, byte [edi + 0x2b]
mov edx, edi
mov ecx, ebx
mov byte [ebp - 0x55], al
call fcn.00476f83
test eax, eax
jne 0x47f903
push dword [ebp - 0xcc]
mov edx, edi
mov ecx, ebx
call fcn.0047a279
pop ecx
test eax, eax
jne 0x47f903
mov ecx, ebx
call fcn.00488de5
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x47f903
cmp byte [ebx + 0x12], 0
jne 0x47f4fe
or dword [esi + 0x98], 0x10
cmp dword [ebp - 0x48], 0
jne 0x47f511
cmp dword [ebp - 0xb0], 0
jne 0x47f511
xor edx, edx
jmp 0x47f514
xor edx, edx
inc edx
push dword [ebp - 0x78]
mov ecx, ebx
call fcn.00479447
cmp dword [ebp - 0x68], 0
pop ecx
jne 0x47f550
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x47f550
cmp dword [ebp - 0xb0], 0
jne 0x47f550
push dword [ebp - 0x78]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0x10]
push eax
call fcn.0048177f
add esp, 0xc
test eax, eax
jne 0x4801e7
mov edx, dword [ebp - 0x78]
mov ecx, ebx
push edi
call fcn.0047f129
pop ecx
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0xc0], eax
lea eax, [ecx + 1]
mov edx, eax
mov dword [ebp - 0xa4], eax
movsx eax, word [edi + 0x22]
inc eax
mov dword [ebp - 0x5c], edx
add eax, ecx
mov dword [ebx + 0x2c], eax
cmp byte [edi + 0x2b], 1
jne 0x47f58d
lea edx, [ecx + 2]
inc eax
mov dword [ebp - 0x5c], edx
mov dword [ebx + 0x2c], eax
mov ecx, dword [edi + 0x1c]
lea eax, [edx + 1]
and ecx, 0x440
mov dword [ebp - 0x94], eax
neg ecx
sbb cl, cl
inc cl
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x47f6c2
mov eax, dword [ecx]
xor edx, edx
mov byte [ecx + 4], 1
test eax, eax
jle 0x47f5d5
mov esi, dword [ebp - 0x68]
add ecx, 0xc
or dword [ecx], 0xffffffff
inc edx
mov eax, dword [esi]
lea ecx, [ecx + 8]
cmp edx, eax
jl 0x47f5c5
mov esi, dword [ebp - 0x60]
xor ecx, ecx
mov dword [ebp - 0x50], ecx
test eax, eax
jle 0x47f6c2
mov eax, dword [ebp - 0x68]
add eax, 8
mov dword [ebp - 0x54], eax
movsx eax, word [edi + 0x22]
xor edx, edx
mov dword [ebp - 0xc8], edx
test eax, eax
jle 0x47f67f
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + ecx*8 + 8]
mov eax, dword [edi + 4]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x64], eax
mov edx, dword [eax]
call fcn.00441c65
mov edx, dword [ebp - 0xc8]
test eax, eax
je 0x47f643
mov eax, dword [ebp - 0x64]
inc edx
movsx ecx, word [edi + 0x22]
add eax, 0x10
cmp edx, ecx
mov dword [ebp - 0xc8], edx
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x64], eax
jl 0x47f612
jmp 0x47f67c
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x74]
mov dword [eax + 4], edx
movzx eax, cl
xor ecx, ecx
cmp dword [ebp - 0x50], edx
cmovne eax, ecx
mov ecx, dword [ebp - 0x6c]
mov byte [ebp - 0x74], al
movsx eax, word [edi + 0x20]
cmp edx, eax
mov eax, edx
cmove ecx, dword [ebp - 0x50]
add eax, eax
mov dword [ebp - 0x6c], ecx
mov ecx, dword [edi + 4]
test byte [ecx + eax*8 + 0xe], 0x60
jne 0x47f97b
mov ecx, dword [ebp - 0x50]
movsx eax, word [edi + 0x22]
cmp edx, eax
jl 0x47f6af
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call fcn.0046b100
test eax, eax
je 0x47f991
cmp byte [ebp - 8], 0
jne 0x47f991
mov ecx, dword [ebp - 0x50]
mov eax, ecx
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x68]
inc ecx
add dword [ebp - 0x54], 8
mov dword [ebp - 0x50], ecx
cmp ecx, dword [eax]
jl 0x47f5eb
cmp dword [ebp - 0x48], 0
je 0x47f9b7
inc dword [ebx + 0x2c]
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x84], eax
inc eax
push eax
push 0
push ecx
mov dword [ebp - 0x64], ecx
mov ecx, esi
push 0xb
pop edx
call fcn.004591cc
mov eax, dword [ebp - 0x64]
add esp, 0xc
and dword [ebp - 0x1c], 0
mov ecx, ebx
and dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
xor eax, eax
cmp byte [ebp - 0x74], al
mov byte [ebp - 0x24], 0xd
cmovne eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], eax
movsx eax, word [edi + 0x22]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0048cb09
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x80], ecx
test eax, eax
jne 0x47f903
cmp dword [ebx + 0x24], eax
jne 0x47f903
mov edx, dword [ebp - 0x64]
mov ecx, esi
call fcn.00459511
mov edx, dword [ebp - 0x84]
mov ecx, esi
call fcn.00459a36
cmp dword [ebp - 0xb0], 0
mov ecx, dword [esi + 0x6c]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
jne 0x47f783
mov edx, dword [ebp - 0x78]
mov ecx, ebx
push edi
call fcn.0047eed4
pop ecx
test eax, eax
je 0x47f83f
mov edx, dword [ebx + 0x28]
mov ecx, ebx
mov byte [ebp - 0x49], 1
mov dword [ebp - 0x70], edx
lea eax, [edx + 1]
mov dword [ebx + 0x28], eax
call fcn.0046f3a4
mov edi, eax
call fcn.0046f3a4
push 0
push dword [ebp - 0x50]
mov ecx, esi
mov ebx, eax
push edx
push 0x76
pop edx
call fcn.004591cc
add esp, 0xc
mov ecx, esi
push 0
push 0
push dword [ebp - 0x20]
push 0xc
pop edx
call fcn.004591cc
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov esi, eax
push edi
push dword [ebp - 0x50]
push dword [ebp - 0x80]
push 0x61
pop edx
call fcn.004591cc
mov ecx, dword [ebp - 0x60]
add esp, 0xc
push 0
push ebx
push dword [ebp - 0x70]
push 0x7f
pop edx
call fcn.004591cc
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov edx, 0x80
push ebx
push edi
push dword [ebp - 0x70]
call fcn.004591cc
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov edx, esi
call fcn.00459225
mov edx, esi
mov esi, dword [ebp - 0x60]
mov ecx, esi
call fcn.00459a36
mov ecx, dword [esi + 0x6c]
mov edx, edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0xa0]
call fcn.0046f3c3
mov edx, ebx
mov ebx, ecx
call fcn.0046f3c3
mov edi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x68]
test ecx, ecx
jne 0x47f9fe
test edx, edx
jle 0x47fa1e
movsx edx, word [edi + 0x20]
mov dword [ebp - 0x6c], edx
test edx, edx
js 0x47f89b
test byte [edi + 0x1c], 0x60
je 0x47f89b
lea eax, [edx - 1]
mov dword [ebp - 0x84], eax
test eax, eax
js 0x47f89b
mov esi, dword [edi + 4]
mov ecx, eax
shl ecx, 4
add ecx, 0xe
add esi, ecx
mov ecx, eax
test byte [esi], 0x60
lea eax, [edx - 1]
lea esi, [esi - 0x10]
cmove eax, edx
sub ecx, 1
mov edx, eax
jns 0x47f882
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
test byte [edi + 0x1c], 0x62
je 0x47f8d4
movsx edx, word [edi + 0x22]
test edx, edx
jle 0x47f8d4
mov ecx, dword [edi + 4]
mov ebx, dword [ebp - 0x90]
add ecx, 0xe
test byte [ecx], 0x62
lea eax, [ebx + 1]
lea ecx, [ecx + 0x10]
cmove eax, ebx
mov ebx, eax
sub edx, 1
jne 0x47f8b5
mov dword [ebp - 0x90], ebx
mov ebx, dword [ebp - 0xa0]
movsx eax, word [edi + 0x22]
sub eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x50]
cmp edx, eax
je 0x47fa1e
push edx
push eax
mov eax, dword [ebp - 0x8c]
add eax, 8
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
push ebx
call fcn.00441b18
add esp, 0x14
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0xac]
mov ecx, ebx
mov edx, dword [ebp - 0x8c]
call fcn.00478ead
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x47f92c
mov edx, eax
mov ecx, ebx
call fcn.0046ac05
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x47f93f
mov edx, eax
mov ecx, ebx
call fcn.004924a4
test edi, edi
je 0x47f94f
push 1
mov edx, edi
mov ecx, ebx
call fcn.00486c05
pop ecx
mov edx, dword [ebp - 0x68]
mov ecx, ebx
call fcn.00478bf7
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x47f96c
mov edx, eax
mov ecx, ebx
call fcn.0043ef4e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b0ce6
leave
ret
push dword [ecx + eax*8]
push str.cannot_INSERT_into_generated_column___s_
push ebx
call fcn.00441b18
add esp, 0xc
jmp 0x47f903
mov eax, dword [ebp - 0x54]
push dword [eax]
mov eax, dword [ebp - 0x8c]
add eax, 8
push eax
push str.table__S_has_no_column_named__s
push ebx
call fcn.00441b18
add esp, 0x10
mov byte [ebx + 0x11], 1
jmp 0x47f903
push 0x20
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004b21c0
or dword [ebp - 0x70], 0xffffffff
add esp, 0xc
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x44], ebx
test ecx, ecx
je 0x47f9f4
mov eax, dword [ecx]
mov edx, ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x50], eax
call fcn.00468ec0
test eax, eax
jne 0x47f903
jmp 0x47f83f
xor edx, edx
mov dword [ebp - 0x50], edx
jmp 0x47f842
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
cmp edx, dword [ecx]
je 0x47fa1e
push dword [ecx]
push edx
push str._d_values_for__d_columns
push ebx
call fcn.00441b18
add esp, 0x10
jmp 0x47f903
mov ecx, dword [ebp - 0xac]
xor edx, edx
mov eax, edx
mov ecx, dword [ecx + 0x24]
and ecx, 1
or eax, ecx
je 0x47fa62
cmp byte [ebx + 0x12], dl
jne 0x47fa62
cmp dword [ebx + 0x7c], edx
jne 0x47fa62
cmp byte [ebx + 0x99], dl
jne 0x47fa62
inc dword [ebx + 0x2c]
mov ecx, esi
mov eax, dword [ebx + 0x2c]
push edx
push eax
push edx
push 0x47
pop edx
mov dword [ebp - 0xd0], eax
call fcn.004591cc
add esp, 0xc
xor edx, edx
cmp byte [ebp - 0x55], 2
je 0x47faef
lea eax, [ebp - 0xc4]
mov ecx, ebx
push eax
lea eax, [ebp - 0x88]
push eax
push edx
push 0xffffffffffffffff
push edx
push 0x71
mov edx, edi
call fcn.00481560
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x64], eax
push 0
lea eax, [eax*4 + 8]
push eax
call fcn.0043f1a0
add esp, 0x20
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x47f903
mov edx, dword [edi + 8]
xor ecx, ecx
cmp dword [ebp - 0x64], ecx
jle 0x47fadf
mov esi, dword [ebp - 0x64]
mov edi, eax
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [edi + ecx*4], eax
movzx eax, word [edx + 0x34]
add dword [ebx + 0x2c], eax
inc ecx
mov edx, dword [edx + 0x14]
cmp ecx, esi
jl 0x47fac1
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x60]
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebp - 0x9c]
inc eax
mov dword [ebx + 0x2c], eax
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x47fba5
mov al, byte [edi + 0x2b]
cmp al, 1
jne 0x47fb10
push dword [edi]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x47f983
cmp al, 2
jne 0x47fb26
push str.cannot_UPSERT_a_view
push ebx
call fcn.00441b18
pop ecx
pop ecx
jmp 0x47f903
mov edx, dword [ecx]
mov ecx, ebx
call fcn.00477c3c
test eax, eax
jne 0x47f903
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x94]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x64], eax
cmp dword [eax], 0
mov edi, dword [ebp - 0x8c]
mov dword [eax + 0x20], edi
mov edi, dword [ebp - 0xc4]
mov dword [eax + 0x2c], edi
mov edi, dword [ebp - 0x7c]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
je 0x47fb9b
mov edx, dword [ebp - 0x8c]
mov ecx, ebx
push eax
call fcn.00492623
pop ecx
test eax, eax
jne 0x47f903
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x88]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x47fb55
cmp byte [ebp - 0x49], 0
je 0x47fbcd
push 0
push 0
push dword [ebp - 0x70]
mov ecx, esi
push 0x24
pop edx
call fcn.004591cc
mov dword [ebp - 0xb8], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0xb4], eax
jmp 0x47fc0f
cmp dword [ebp - 0x48], 0
je 0x47fc12
push 0
push 0
push dword [ebp - 0x20]
mov ecx, esi
push 0xc
pop edx
call fcn.004591cc
mov dword [ebp - 0xb4], eax
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x6c]
test eax, eax
js 0x47fc12
mov ecx, dword [ebp - 0x80]
push 0
push dword [ebp - 0x5c]
add ecx, eax
push ecx
push 0x50
pop edx
mov ecx, esi
call fcn.004591cc
add esp, 0xc
and dword [ebp - 0x90], 0
xor edx, edx
mov ecx, dword [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x78], edx
cmp ax, word [edi + 0x22]
jge 0x47fd89
and dword [ebp - 0x74], eax
movsx eax, word [edi + 0x20]
cmp edx, eax
jne 0x47fc4b
push 0
push 0
push ecx
push 0x4c
pop edx
jmp 0x47fd61
mov edx, dword [ebp - 0x74]
add edx, dword [edi + 4]
movzx eax, word [edx + 0xe]
test al, 0x62
je 0x47fc99
inc dword [ebp - 0x90]
test al, 0x20
je 0x47fc69
dec ecx
jmp 0x47fd6e
test al, 0x40
je 0x47fc7c
test byte [ebp - 0xcc], 1
je 0x47fd6e
jmp 0x47fc3e
cmp dword [ebp - 0x68], 0
jne 0x47fc9f
push ecx
mov ecx, edi
call fcn.004746b0
mov edx, eax
mov ecx, ebx
call fcn.0046dc89
pop ecx
jmp 0x47fd6b
cmp dword [ebp - 0x68], 0
je 0x47fce5
mov edx, dword [ebp - 0x68]
xor eax, eax
mov edx, dword [edx]
test edx, edx
jle 0x47fcd9
mov esi, dword [ebp - 0x68]
mov ebx, edx
mov edi, dword [ebp - 0x78]
add esi, 0xc
mov dword [ebp - 0x84], esi
mov esi, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x84]
cmp dword [ebx], edi
je 0x47fcd0
inc eax
add ebx, 8
cmp eax, edx
jl 0x47fcc4
mov ebx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x7c]
cmp eax, edx
jl 0x47fcf4
mov edx, dword [edi + 4]
add edx, dword [ebp - 0x74]
jmp 0x47fc82
cmp dword [ebp - 0x50], 0
je 0x47fc82
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x90]
cmp byte [ebp - 0x49], 0
je 0x47fd06
push ecx
push eax
push dword [ebp - 0x70]
push 0x5e
jmp 0x47fc45
cmp dword [ebp - 0x48], 0
je 0x47fd24
mov edx, dword [ebp - 0x80]
cmp edx, dword [ebp - 0x94]
je 0x47fd6e
push 0
push ecx
add eax, edx
push eax
push 0x51
jmp 0x47fc45
mov edx, dword [ebp - 0x98]
imul eax, eax, 0x14
push ecx
mov ecx, ebx
mov eax, dword [eax + edx + 8]
mov edx, eax
mov dword [ebp - 0x84], eax
call fcn.0046ca54
pop ecx
mov ecx, dword [ebp - 0x54]
cmp eax, ecx
je 0x47fd6e
mov edx, dword [ebp - 0x84]
push 0
push ecx
push eax
mov edx, dword [edx + 4]
shr edx, 0x16
not edx
and edx, 1
or edx, 0x50
mov ecx, esi
call fcn.004591cc
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x78]
add dword [ebp - 0x74], 0x10
inc edx
movsx eax, word [edi + 0x22]
inc ecx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x54], ecx
cmp edx, eax
jl 0x47fc36
dec dword [ebx + 0x38]
test byte [ebp - 0xcc], 1
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x7c], eax
je 0x47fecf
movsx edx, word [edi + 0x22]
mov ecx, ebx
inc edx
call fcn.0046f3dc
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x50], eax
test ecx, ecx
jns 0x47fdb9
push 0x47
jmp 0x47fe32
cmp byte [ebp - 0x49], 0
push eax
je 0x47fdd3
push ecx
push dword [ebp - 0x70]
mov ecx, esi
push 0x5e
pop edx
call fcn.004591cc
add esp, 0xc
jmp 0x47fde8
mov eax, dword [ebp - 0x98]
imul edx, ecx, 0x14
mov ecx, ebx
mov edx, dword [edx + eax + 8]
call fcn.0046dbf2
pop ecx
push 0
push 0
push dword [ebp - 0x50]
mov ecx, esi
push 0x33
pop edx
call fcn.004591cc
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov esi, eax
push 0
push dword [ebp - 0x50]
push 0xffffffffffffffff
push 0x47
pop edx
call fcn.004591cc
add esp, 0xc
mov edx, esi
mov esi, dword [ebp - 0x60]
mov ecx, esi
call fcn.00459a36
mov ecx, dword [esi + 0x6c]
push 0xd
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa8], eax
xor eax, eax
pop edx
push 0
push eax
push dword [ebp - 0xa8]
mov ecx, esi
call fcn.004591cc
mov ecx, dword [ebp - 0x50]
add esp, 0xc
movsx eax, word [edi + 0x24]
inc ecx
dec eax
mov dword [ebp - 0xa8], ecx
push eax
mov eax, dword [ebp - 0x5c]
push ecx
inc eax
mov ecx, esi
push eax
push 0x50
pop edx
call fcn.004591cc
add esp, 0xc
test byte [edi + 0x1c], 0x60
je 0x47fe7e
mov edx, dword [ebp - 0xa8]
mov ecx, ebx
push edi
call fcn.0047ef84
pop ecx
cmp byte [ebp - 0x55], 2
je 0x47fe94
push dword [ebp - 0xa8]
mov edx, edi
mov ecx, esi
call fcn.0047ee11
pop ecx
push dword [ebp - 0x7c]
movsx eax, word [edi + 0x22]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0xb0]
sub ecx, eax
dec ecx
push ecx
push edi
push 1
push 0
push 0x7f
mov ecx, ebx
call fcn.00490637
movsx eax, word [edi + 0x22]
add esp, 0x1c
mov edx, dword [ebp - 0x50]
inc eax
mov ecx, ebx
push eax
call fcn.0046f412
add esp, 4
cmp byte [ebp - 0x55], 2
je 0x48014b
cmp byte [edi + 0x2b], 1
jne 0x47fef6
push 0
push dword [ebp - 0xa4]
mov ecx, esi
push 0
push 0x4b
pop edx
call fcn.004591cc
add esp, 0xc
mov eax, dword [ebp - 0x6c]
test eax, eax
js 0x47ffb7
cmp byte [ebp - 0x49], 0
je 0x47ff1d
push dword [ebp - 0x5c]
mov ecx, esi
push eax
push dword [ebp - 0x70]
push 0x5e
pop edx
call fcn.004591cc
add esp, 0xc
jmp 0x47ff4a
cmp dword [ebp - 0x48], 0
jne 0x47ff4a
mov ecx, dword [ebp - 0x98]
imul eax, eax, 0x14
mov edx, dword [eax + ecx + 8]
cmp byte [edx], 0x79
jne 0x47ff3f
cmp byte [edi + 0x2b], 1
jne 0x47ffc3
push dword [ebp - 0x5c]
mov ecx, ebx
call fcn.0046dbf2
pop ecx
cmp byte [edi + 0x2b], 1
mov ecx, esi
push 0
je 0x47ff97
push 0
push dword [ebp - 0x5c]
push 0x33
pop edx
call fcn.004591cc
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov esi, eax
push dword [ebp - 0xc0]
push dword [ebp - 0x5c]
push dword [ebp - 0x88]
push 0x7f
pop edx
call fcn.004591cc
add esp, 0xc
mov edx, esi
mov esi, dword [ebp - 0x60]
mov ecx, esi
call fcn.00459a36
mov ecx, dword [esi + 0x6c]
mov dword [eax + 8], ecx
jmp 0x47ffac
mov eax, dword [esi + 0x6c]
add eax, 2
push eax
push dword [ebp - 0x5c]
push 0x32
pop edx
call fcn.004591cc
add esp, 0xc
push 0
push 0
push dword [ebp - 0x5c]
push 0xd
jmp 0x47fff1
cmp byte [edi + 0x2b], 1
je 0x47ffe8
cmp byte [ebp - 8], 0
jne 0x47ffe8
push dword [ebp - 0xc0]
mov ecx, esi
push dword [ebp - 0x5c]
push dword [ebp - 0x88]
push 0x7f
pop edx
call fcn.004591cc
add esp, 0xc
mov dword [ebp - 0x80], 1
jmp 0x480000
push 0
push dword [ebp - 0x5c]
push 0
push 0x4b
pop edx
mov ecx, esi
call fcn.004591cc
add esp, 0xc
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
jle 0x480020
mov ecx, dword [ebx + 8]
mov edx, 0x9f
push 0
push dword [ebp - 0x5c]
push eax
call fcn.004591cc
add esp, 0xc
test byte [edi + 0x1c], 0x60
je 0x480035
mov edx, dword [ebp - 0x5c]
mov ecx, ebx
push edi
lea edx, [edx + 1]
call fcn.0047ef84
pop ecx
cmp byte [edi + 0x2b], 1
mov edx, edi
jne 0x48009d
mov ecx, dword [ebp - 0xac]
call fcn.00493345
mov ecx, ebx
mov esi, eax
call fcn.0049413d
movsx eax, word [edi + 0x22]
push 0xfffffffffffffff5
push esi
push dword [ebp - 0xa4]
mov esi, dword [ebp - 0x60]
add eax, 2
push eax
push 1
push 7
pop edx
mov ecx, esi
call fcn.004592f6
mov eax, dword [ebp + 0x10]
add esp, 0x14
movzx edx, ax
cmp eax, 0xb
mov ecx, esi
push 2
pop eax
cmove edx, eax
call fcn.0045974e
cmp dword [ebx + 0x78], 0
mov eax, ebx
cmovne eax, dword [ebx + 0x78]
mov byte [eax + 0x15], 1
jmp 0x48014b
push dword [ebp - 0xbc]
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x7c]
mov eax, dword [ebp - 0x6c]
push dword [ebp + 0x10]
shr eax, 0x1f
xor al, 1
mov dword [ebp - 8], ecx
movzx eax, al
push eax
push ecx
push dword [ebp - 0xa4]
mov ecx, ebx
push dword [ebp - 0xc4]
push dword [ebp - 0x88]
push dword [ebp - 0x9c]
call fcn.004802f0
mov eax, dword [ebp - 0xac]
xor ecx, ecx
add esp, 0x2c
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, ecx
je 0x48010d
push ecx
push ecx
push dword [ebp - 0xa4]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.0047df34
add esp, 0x10
xor ecx, ecx
cmp dword [ebp - 8], 0
je 0x48011f
cmp dword [esi + 0xe0], ecx
je 0x48011f
mov eax, ecx
jmp 0x480122
xor eax, eax
inc eax
push eax
push dword [ebp - 0x80]
mov edx, edi
push ecx
push dword [ebp - 0x9c]
mov ecx, ebx
push dword [ebp - 0xa4]
push dword [ebp - 0xc4]
push dword [ebp - 0x88]
call fcn.00481407
add esp, 0x1c
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x480167
push 0
push 1
push eax
push 0x56
pop edx
mov ecx, esi
call fcn.004591cc
add esp, 0xc
mov edx, dword [ebp - 0xb0]
test edx, edx
je 0x480199
push dword [ebp - 0x7c]
movsx eax, word [edi + 0x22]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x94]
push 2
sub ecx, eax
pop eax
sub ecx, eax
push ecx
push edi
push eax
push 0
push 0x7f
mov ecx, ebx
call fcn.00490637
add esp, 0x1c
mov edx, dword [ebp - 0x7c]
mov ecx, esi
call fcn.00459579
cmp byte [ebp - 0x49], 0
je 0x480225
mov edi, dword [ebp - 0x70]
mov ecx, esi
push 0
push dword [ebp - 0xb4]
push edi
push 0x27
pop edx
call fcn.004591cc
mov edx, dword [ebp - 0xb8]
add esp, 0xc
mov ecx, esi
call fcn.00459a36
mov ecx, dword [esi + 0x6c]
push 0
push 0
push edi
mov dword [eax + 8], ecx
mov ecx, esi
push 0x7a
pop edx
call fcn.004591cc
add esp, 0xc
mov edi, dword [ebp - 0x48]
cmp byte [ebx + 0x12], 0
jne 0x480203
cmp dword [ebx + 0x7c], 0
jne 0x480203
cmp dword [ebx + 0x74], 0
je 0x480203
mov ecx, ebx
call fcn.0047f2ba
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x47f906
push str.rows_inserted
mov edx, eax
mov ecx, esi
call fcn.0047a1de
pop ecx
jmp 0x47f906
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x4801ea
mov edx, dword [ebp - 0xb4]
mov ecx, esi
call fcn.00459225
mov edx, dword [ebp - 0xb8]
mov ecx, esi
call fcn.00459a36
mov ecx, dword [esi + 0x6c]
mov dword [eax + 8], ecx
jmp 0x4801ea